When using SDK, "Cannot upload file" error occured

  • 1.3K Views
  • Last Post 06 March 2013
UploadError posted this 05 March 2013

Hi,

I got the following Error when I try to upload a file by using the sample .net code.

I have placed the Application ID & Password Properly in source code.

But Still, I have this problem. Kindly guide us to go further.

{System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 213.199.130.55:80 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)}

"Cannot upload file"

{System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 213.199.130.55:80 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) at System.Net.HttpWebRequest.GetRequestStream() at Abbyy.CloudOcrSdk.RestServiceClient.writeFileToRequest(String filePath, WebRequest request) in D:\R&_D\abbyysdk\dotNet\dotNetWrapper\RestServiceClient.cs:line 647 at Abbyy.CloudOcrSdk.RestServiceClient.ProcessImage(String filePath, ProcessingSettings settings) in D:\R&_D\abbyysdk\dotNet\dotNetWrapper\RestServiceClient.cs:line 216}

Vasily Panferov posted this 06 March 2013

Are you behind a proxy? Check this by calling 'ping cloud.ocrsdk.com'

Close