[Mono-dev] Read failure with ASP.NET

Miguel de Icaza miguel at novell.com
Thu Apr 19 20:42:41 EDT 2007


Hello,

> I've sometimes this error with ASP.NET applications hosted on apache
> with mod_mono.
> I've this bug with most of our applications, so i think it's a mono
> problem
> 
> I can't reproduce this, doest somebody know what it is? or how to
> debug this?

We believe there is a protocol mismatch between mod_mono and xsp;   The
latest xsp/mod_mono we believe have a couple of fixes for this, but
there might be a few more issues lurking.

Can you reproduce this at will, or does this happen randomly?

> Thanks
> 
> Hubert FONGARNAND
> 
> System.IO.IOException: Read failure
> 
> 
> Server stack trace: 
> at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] 
> at System.IO.BinaryReader.Read (System.Byte[] buffer, Int32 index, Int32 count) [0x00000] 
> at Mono.WebServer.ModMonoRequest.GetClientBlock (System.Byte[] bytes, Int32 position, Int32 size) [0x00000] 
> at Mono.WebServer.ModMonoWorker.Read (System.Byte[] buffer, Int32 position, Int32 size) [0x00000] 
> at Mono.WebServer.BaseRequestBroker.Read (Int32 requestId, Int32 size, System.Byte[]& buffer) [0x00000] 
> at (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:Read (int,int,byte[]&)
> at (wrapper xdomain-dispatch) Mono.WebServer.BaseRequestBroker:Read (object,byte[]&,byte[]&,int,int,byte[]&)
> 
> Exception rethrown at [0]: 
> ---> System.Net.Sockets.SocketException: Operation timed out.
> at System.Net.Sockets.Socket.Receive (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags) [0x00000] 
> at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] --- End of inner exception stack trace ---
> 
> at (wrapper xdomain-invoke) Mono.WebServer.BaseRequestBroker:Read (int,int,byte[]&)
> at (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:Read (int,int,byte[]&)
> at Mono.WebServer.ModMonoWorkerRequest.ReadEntityBody (System.Byte[] buffer, Int32 size) [0x00000] 
> at System.Web.HttpRequest.MakeInputStream () [0x00000] 
> at System.Web.HttpRequest.get_InputStream () [0x00000] 
> at System.Web.HttpRequest.LoadMultiPart () [0x00000] 
> at System.Web.HttpRequest.get_Form () [0x00000] 
> at System.Web.HttpRequest.get_Item (System.String key) [0x00000] 
> at NotesNat.Global.Global_PreRequestHandlerExecute (System.Object sender, System.EventArgs e) [0x00000] 
> at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
> at System.Web.HttpApplication+<>c__CompilerGenerated1.MoveNext () [0x00000]
> _______________________________________________
> Ce message et les ventuels documents joints peuvent contenir des
> informations confidentielles.
> Au cas o il ne vous serait pas destin, nous vous remercions de bien
> vouloir le supprimer et en aviser immdiatement l'expditeur. Toute
> utilisation de ce message non conforme sa destination, toute diffusion
> ou publication, totale ou partielle et quel qu'en soit le moyen est
> formellement interdite.
> Les communications sur internet n'tant pas scurises, l'intgrit de ce
> message n'est pas assure et la socit mettrice ne peut tre tenue pour
> responsable de son contenu. 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list