Flex Httpservice Error #2032
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us error #2032 stream error. url flex Learn more about Stack Overflow the company Business Learn more about hiring developers http error 2032 or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow
[ioerrorevent Type="ioerror" Bubbles=false Cancelable=false Eventphase=2 Text="error #2032"]
Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Flex: HTTP request error #2032 up vote 3
As3 Ioerror 2032
down vote favorite In Flex 3 application I use HTTPService class to make requests to the server: var http:HTTPService = new HTTPService(); http.method = 'POST'; http.url = hostUrl; http.resultFormat = 'e4x'; http.addEventListener(ResultEvent.RESULT, ...); http.addEventListener(FaultEvent.FAULT, ...); http.send(params); The application has Comet-architecture. So it makes long running requests. While waiting a response for this request, other requests can be made concurrently. The application works in most cases. But sometimes error #2032 flash player some clients get HTTP request error executing long running request: faultCode:Server.Error.Request faultString:'HTTP request error' faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: http://example.com/ws' I think it depends on user's browser. Any ideas? flex actionscript-3 http comet share|improve this question edited Nov 28 '11 at 19:58 lesmana 12.9k64469 asked Sep 29 '09 at 11:08 alexey 4,32084480 add a comment| 7 Answers 7 active oldest votes up vote 1 down vote accepted I experienced the same problem when I sent longer (3-4K!) parameter in HttpRequest. As soon as I sent smaller ones it worked (without refresh, reload or anything). I do not know if there is a limit on client side or on web server side of the length of parameters you can send but definitely this causes the issue. url limitations may cause it share|improve this answer edited Nov 26 '12 at 8:44 S.L. Barth 5,286113249 answered Mar 26 '11 at 16:13 futaxa 261 add a comment| Did you find this question interesting? Try our newsletter Sign up for our newsletter and get our top new questions delivered to your inbox (see an example). Subscribed! Success! Please click the link in the confirmation email to activate your subscription. up vote
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business
Flash Error 2032
Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error #2032: Stream Error up vote 1 down vote favorite We are facing this issue in our URL while accessing the Result from the server http://stackoverflow.com/questions/1491902/flex-http-request-error-2032 on the Flex Application on a WAS Machine. The behavior is a bit varied when we access it on IE6 and IE7(both IEs are having same flash Player version). IE6 doesn’t work at all but IE7 works for some conditions. On Windows machine it is working fine(in IE6 and IE7). Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: "] If anybody has encountered this error or has dealt with it, Please respond. http://stackoverflow.com/questions/3873564/error-2032-stream-error Thanks flex actionscript-3 share|improve this question asked Oct 6 '10 at 14:29 Arwinder 612 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Look at this site: http://www.judahfrangipane.com/blog/2007/02/15/error-2032-stream-error/ share|improve this answer answered Oct 6 '10 at 15:19 splash 10.2k2856 But I am able to connect to the URL servlet, the logic is done and I am able to return the correct response back, but instead of Event.COMPLETE, i am getting IOErrorEvent at the Flex side. –Arwinder Oct 7 '10 at 3:26 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged flex actionscript-3 or ask your own question. asked 6 years ago viewed 8393 times active 1 year ago Related 0Intermittent stream errors (#2032) with Flex 3, IE and ASP.NET1[IOErrorEvent type=“ioError” bubbles=false cancelable=false eventPhase=2 text=“Error #2032”]2Flex and compiling RSLs into the SWF and the #2032 error2Error #2032: Stream Error occurring on Fedora but not on Ubuntu2stream-error #20320Error #2032: Stream Error1Flex giving Error 2032 Stream Error with IE under load1actionscript facebook Login fails
workshop I was giving. The application was a Flex application which communicated with a SpringMVC 3.0 annonation based based web application using Xstream as XML serialization library. All seemed well until in specific browsers and operation systems I got a 'Error #2032: Streamfault'. I did not found a solution on the Internet other than verifying that my URL was correct and disable HTTP caching on the server. None of these solutions worked.When I executed this specific request in the browser, I got a HTTP 406 status code. The 406 status code says: The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request "accept" headers (). Inspecting the request the browser sent, showed an accept-header of '*/*'. I compared this to the accept-header FireFox sent which was: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'.The solution turned out to set the accept-header explicitly on the HttpService. I used the following code for this:var httpService:HTTPService = new HTTPService();
httpService.url = url + "/tasks";
httpService.requestTimeout = 10;
// Set the content type expected by the server
httpService.contentType = "application/xml";
// Explicitly set the accept header
httpService.headers = { accept: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" };
httpService.resultFormat = "e4x";
As a sidenote, to disable HTTP caching on the server, you can use the following code:response.addHeader("Pragma", "no-cache");
response.addHeader("Cache-Control", "no-cache");
response.addHeader("Cache-Control", "no-store");
response.addHeader("Cache-Control", "must-revalidate");
response.addHeader("Expires", "Mon, 8 Aug 2006 10:00:00 GMT");
Geplaatst door Jamie Craane op 08:05 Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) Google+ Followers Popular Posts Printing in Vaadin Introduction to Genetic Algorithms with JGAP Monitoring an IBM JVM with VisualVM Height problem when rendering an ExtJs 4 application in a custom div IntelliJ: Final parameters and variables Links Android cursus Capax IT Ernest Micklei's Blog http://www.dzone.com http://www.infoq.com/ Blog Archive ► 2016 (2) ► August