jgauffin / Griffin.Framework

Application framework for Business Applications
http://griffinframework.net
168 stars 62 forks source link

Argument out of range exception in HttpMessageEncoder #58

Open PhonicUK opened 8 years ago

PhonicUK commented 8 years ago
Specified argument was out of the range of valid values.
Parameter name: count
  at System.Net.Sockets.SocketAsyncEventArgs.SetBufferInternal (System.Byte[] buffer, Int32 offset, Int32 count) <0x4116ec20 + 0x00113> in <filename unknown>:0 
  at System.Net.Sockets.SocketAsyncEventArgs.SetBuffer (System.Byte[] buffer, Int32 offset, Int32 count) <0x4116ebf0 + 0x0001b> in <filename unknown>:0 
  at Griffin.Net.Channels.SocketAsyncEventArgsWrapper.SetBuffer (System.Byte[] buffer, Int32 offset, Int32 count) <0x41203d90 + 0x00047> in <filename unknown>:0 
  at Griffin.Net.Protocols.Http.HttpMessageEncoder.Send (ISocketBuffer buffer) <0x41203620 + 0x00051> in <filename unknown>:0 
  at Griffin.Net.Channels.TcpChannel.OnSendCompleted (System.Object sender, System.Net.Sockets.SocketAsyncEventArgs e) <0x41204070 + 0x00082> in <filename unknown>:0 
  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs e) <0x411fc710 + 0x0002e> in <filename unknown>:0 
  at System.Net.Sockets.SocketAsyncEventArgs.SendCallback (IAsyncResult ares) <0x41203f10 + 0x0014d> in <filename unknown>:0 
  at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (IAsyncResult ares) <0x411fc2d0 + 0x000cf> in <filename unknown>:0 
jgauffin commented 8 years ago

will be hard to fix without more information. The HTTP encoder must have got into an invalid state

jgauffin commented 8 years ago

Do you have any updates?

PhonicUK commented 8 years ago

Not yet I'm afraid, it's pretty rare and its coming from end-user sites where I can't do an autopsy.