0 Replies Latest reply on Mar 27, 2008 4:21 PM by mattcom

    Error #2032

    mattcom Level 1
      I recently overcame an Error #2032 which looks like this:
      ----------------------------------------------------------------
      [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: http://localhost/bugs/create" URL: http://localhost/bugs/create" at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::faultHandler()[E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:216 at mx.rpc::Responder/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49 ] at mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103] at DirectHTTPMessageResponder/errorHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\mes saging\channels\DirectHTTPChannel.as:343] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/redirectEvent()
      ----------------------------------------------------------

      Resolved it by adding the following line to config/environments/development.rb
      ------------------------------------------------------------
      config.action_controller.allow_forgery_protection = false
      -------------------------------------------------------------

      I don't know if it creates any security problems, but the error did go away. Just thought I'd pass it along.