Exception using HttpRequest.execute(): Invalid use of SingleClientConnManager: connection still allocated

You need to consume the response body before you can reuse the connection for another request. You should not only read the response status, but read the response InputStream fully to the last byte whereby you just ignore the read bytes.

Leave a Comment