Buffer Error Consuming to many bytes - WeOnlyDo Discussion board

Buffer Error Consuming to many bytes (General questions)

by Kim, Thursday, September 04, 2008, 09:16 (5924 days ago)

Hello!

Sometimes when connecting to a Power Distribution Unit using WodSSH and Telnet or SSH the following exception is thrown: Buffer error: consuming too many bytes .

This exception cannot be caught and handled by our code. Why does wodSSH throw this exception?

See Exception Detail from VS2005Pro below:
________________________________________________________

System.Exception was unhandled
Message= Buffer error: consuming too many bytes
Source= WeOnlyDo.Client.SSH
StackTrace:
at ..(Int32 )
at ..()
at ..(IAsyncResult )
at ..(IAsyncResult )
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)


Complete thread: