3 Replies Latest reply on Mar 5, 2009 3:46 AM by winky_g

    HTTP error


      I am working on a very simple application where I send a http request from flex to a servlet which returns me a xml.
      Everything works fine, but many a times I get the following error even when there is no change in the code.
      So with the same code it works fine half of the time & throws error other half of the time.
      This also does not happen in a particular pattern.

      Found that Error #2032 is a very common fault code, a lot of errors related to HTTPService will end up throwing this fault, Its difficult to narrow down.

      I think the difference is at

      at DirectHTTPMessageResponder/errorHandler()[C:\autobuild\3.2.0frameworks\projects\rpc\src\m x\messaging\channels\DirectHTTPChannel.as:362]

      Have you faced a similar problem, or do you know why could this happen.
      Please help.

      ERROR :

      [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL:" URL:"

      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\autobuild\3.2.0\frameworks\p rojects\rpc\src\mx\rpc\AbstractInvoker.as:220
      at mx.rpc::Responder/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responder .as:53]
      at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:103]

      at DirectHTTPMessageResponder/errorHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\ mx\messaging\channels\DirectHTTPChannel.as:362]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/onComplete()