I've tried both the curl example and the python example, but the mere uploading of an 1.3MB file stalls until this error is given:

urllib2.URLError: <urlopen error [Errno 104] Connection reset by peer>

Credentials are ok, I made a quick test in python using GetApplicationInfo and it workd correctly.

Also tried with a smaller file with the same result.

asked 20 Jan '14, 04:45

dwery's gravatar image


edited 20 Jan '14, 04:46

Could you please create a minimum size file and measure how long it takes to process it? The message "Cannot open file" should be returned.

(24 Jan '14, 14:20) Anastasia Ga... ♦♦

Probably the issue occurs due to too slow internet connection.


answered 24 Jan '14, 14:15

Anastasia%20Galimova's gravatar image

Anastasia Ga... ♦♦

I tried with a 180Kb file and our connection is a 100/10 fiber. The upload never ends.

(24 Jan '14, 14:22) dwery

Data transfer rate depends on the slowest section in the path, so the developer recommends to create an empty file and test how long it takes to load it.

Also we have a method in beta-testing, which allows to process the images which are located on a remote server. We'll sent you the information about it via e-mail.

(24 Jan '14, 15:14) Anastasia Ga... ♦♦

a 985 bytes file fails. a 783 bytes one works. tell the developer that they have a problem somewhere along the path, probably based on the origin of the packets

(24 Jan '14, 20:54) dwery

It looks like you have a network problem on your side. To get the detailed information about it, run our curl sample with the following modifications:

1) change line 86 https://github.com/abbyysdk/ocrsdk.com/blob/master/Bash_cURL/curl_recognize.sh#L86 to

curl -v --user "$ApplicationId:$Password" --form "upload=@$SourceFile" "$ServerUrl/processImage?exportFormat=$OutFormat&language=$Language"

2) remove all the next lines.

(27 Jan '14, 22:32) Anastasia Ga... ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 20 Jan '14, 04:45

Seen: 1,132 times

Last updated: 27 Jan '14, 22:32

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal