Connection time out error in java

  • 1.3K Views
  • Last Post 17 March 2015
Girish posted this 14 March 2015

Hi team,

When i try to test the application in my system using provided java sample code, i am getting following error:

Uploading file.. Exception occured:Connection timed out: connect java.net.ConnectException: Connection timed out: connect

Please provide solution to resolve this..

Oksana Serdyuk posted this 17 March 2015

The timeout issue may occur due to the slow internet connection, so we recommend to increase the internet connection speed if it is possible. Also it can be helpful to increase the timeout on your side.

If the issue is still actual after increasing the timeout, please send the following information to Cloudocrsdk@abbyy.com or use our Online Support Service:

  1. Do we understand correctly that you are using our standard Java sample?
  2. Does the issue depend on an image file or it can be reproduced on any image? Please try to test Cloud OCR SDK with one of our sample images?
  3. Please run Fiddler (you can download it from www.fiddler2.com) and send us the log including the headers, request content and the answer.
  4. Send us the IP-address from which you are trying to use our service.

Close