fix java.net.SocketTimeoutException: Read timed out

Here are few pointers/suggestions for investigation I see that every time you vote, you call vote method which creates a fresh HTTP connection. This might be a problem. I would suggest to use a single HttpClient instance to post to the server. This way it wont create too many connections from the client side. At the end of everything, HttpClient needs to be … Read more