Hi,

I've downloaded the ocrsdkdemo example available on the website. I've launched it and used it prior the release of iOS 6 and it worked fine with the simulator.

Now that I've upgraded to iOS6 and XCode 4.5 I have the following issue:

  • With the JPG provided as a sample (137Kb) => Works
  • Using a 417Kb JPG => Get a time-out "Error - Network Connection Lost"

I didn't have any problem prior the update with this second JPG.

Any idea please ? Thanks for the help

asked 08 Oct '12, 09:34

fvives's gravatar image

fvives
112


With these specific symptoms the likely explanation is that with a larger file the upload takes longer and a timeout occurs on a slow connection. The behavior change might be due to some subtle changes in the iOS runtime. The number one thing to check in such conditions is whether increasing the timeout on the client resolves this problem.

link

answered 08 Oct '12, 17:34

Dmitry%20Me's gravatar image

Dmitry Me ♦♦
2387

edited 08 Oct '12, 17:34

Yes, that was my assumption and from what I've read while searching on the web, it seems to be a common problem.

The surprising part though is that I get the time-out after 2 or 3 seconds, which is kind of strange given that the default timeout value is supposed to be 60s. I've tried setting manually the timeout to a greater value but it doesn't change anything.

link

answered 08 Oct '12, 20:58

fvives's gravatar image

fvives
112

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×158
×42
×20

Asked: 08 Oct '12, 09:34

Seen: 2,257 times

Last updated: 08 Oct '12, 20:58

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