PDA

View Full Version : URLLoader() ioError and Stream error on first call...



cry4dawn
February 15th, 2010, 04:14 AM
When my PNG encoded data is sent to my uploader php file its throwing an error the very first time and only after I havent done it in a while... half an hour maybe... it says this:



Error opening URL 'http://apps.mydomain.com/jpg_encoder_download.php?name=mytest10.png'
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://apps.mydomain.com/jpg_encoder_download.php?name=mytest10.png


Then when I press the button a second time it goes through fine. If I close and re-test the movie its fine ... the only way to reproduce it is to wait a while and try it for the first time. Any clues whats causing this?

cry4dawn
February 15th, 2010, 05:28 AM
God I love Google, a search for URLLoader error first time brought me back to my own kirupa post not even minutes after I posted it. Still not having much luck with this though.

stenrap
April 23rd, 2011, 11:42 PM
Did you ever get to the bottom of this? I'm seeing the exact same behavior, and I've already tried...

- setting headers not to cache
- appending new Date().getTime() as a parameter (to gaurantee a unique URL)
- upgrading to the Adobe AIR SDK 2.6

...but this is one stubborn-*** problem.