Probably a time-out. I believe there is a property on HTTPService to set this.
The "Stream Error #2032 " is generic and rarely helpful.
The default setting for timeout is -1, that means no timeout.
It doesn't work even if I set timeout to -1
Post simplified yet "complete" test code, include simple sample data.1 person found this helpful
var loginService:HTTPService = new HTTPService();
loginService.url = " http://localhost/login?req=login&username=user&password=pass&TS="+(new Date()).time;
I also tried to use URLVariables as send method params.
The result data doesn't matter, it always happens when the server doesn't send any bytes and doesn't close the connection, as it 's still computing the request.
Bad URL?1 person found this helpful
No no, the URL is correct:
I've got the server on my machine, under debug: if I put a breakpoint in the servlet that serves the request, the server doesn't reply anything untill I let it go.
So, if I wait few seconds all works fine.
If I wait more the 30 seconds using flash player to embedd the swf file, or 2 minutes using a browser, HTTPService throws the error event.
1 person found this helpful
I'm facing the same issue, did you ever find a solution to this?
thanks in advance
I have the same httpservice problem here, with one difference, it only occures with AIR 2.0beta2.
Has anyone come up with a solution for this?
Related issue here: http://forums.adobe.com/thread/601065?tstart=0