02-15-2010 04:36 PM
We have an app that makes http connections to download data. The connections are made using the device defaults (no connection parameters appended). When I test the app using the latest MDS simulator, I sometimes get a SocketBaseIOException with the following message: "Exceeded the limit of number of bytes allowed per connection!" after downloading a very small amount of data (typically under 30K bytes from the server). I realize that transcoding can expand the amount of data flowing through the connection, but this seems like a ridiculously low threshold. I thought that the limits were on the order of megabytes, not tens of kilobytes.
There's nothing in the MDS log to suggest why this is happening, or even that it did happen. Also, this only happens under some simulators--with the same MDS simulator session, I've seen the exact same http connection fail with 8310 and 9000 simulators, and succeed with 8320 and 9630 simulators.
Can someone explain what's happening here and what I can do about it (other than adding a "x-rim-transcode-content:none" header)?
02-16-2010 03:17 AM
check out this link:
02-16-2010 11:52 AM
I'm aware of that. As far as I can tell from reading it, there's no reason that the connection should **bleep** out after delivering less than 30 KB. The tightest limit mentioned is 256 KB.
Also, I'm receiving an I/O exception, not a 213 HTTP response code.
Finally, if the issue is some MDS server setting, wouldn't the same behavior occur on all simulators? As I mentioned, with the same session of the MDS simulator, I've seen some simulators succeed and others fail when attempting to download exactly the same data file from my server.
12-12-2011 12:58 AM
Hi have any of you found nay solution to this?
I am facing the same issue...
The HTTP response coed is 200 and not 413.