hel fix bug on Sr proxy source

03/06/2022 22:48 rodrigorkg#1
after some time online get this msg
AG_ASYNC_RECV_FROM_CLIENT : System.Exception: [SecurityAPI::Recv] Count byte mismatch.
at Framework.Security.Recv(TransferBuffer raw_buffer)
at Framework.Security.Recv(Byte[] buffer, Int32 offset, Int32 length)
at SR_PROXY.SECURITYOBJECTS.AGENT_MODULE.<ASYNC_RECV_ FROM_CLIENT>d__140.MoveNext()
and after some minuts filter crash
any one can help me ,
please add my discord
RodrigoStarSroDev#0957
thx
03/12/2022 07:00 Isoline*#2
Quote:
Originally Posted by rodrigorkg View Post
after some time online get this msg
AG_ASYNC_RECV_FROM_CLIENT : System.Exception: [SecurityAPI::Recv] Count byte mismatch.
at Framework.Security.Recv(TransferBuffer raw_buffer)
at Framework.Security.Recv(Byte[] buffer, Int32 offset, Int32 length)
at SR_PROXY.SECURITYOBJECTS.AGENT_MODULE.<ASYNC_RECV_ FROM_CLIENT>d__140.MoveNext()
and after some minuts filter crash
any one can help me ,
please add my discord
RodrigoStarSroDev#0957
thx
Quote:
System.Exception: [SecurityAPI::Recv] Count byte mismatch.
That's from the Silkroad Security API not the filter. It's a measure to ensure all data is being processed, the server expects a specific amount of bytes if that amount is not the same, an exception is being thrown and the client should be disconnected.

This is quite common with the SSAPI that @[Only registered and activated users can see links. Click Here To Register...] wrote. I believe that @[Only registered and activated users can see links. Click Here To Register...] could elaborate for you as to why this happens. Would be pretty interesting.

Quote:
at Framework.Security.Recv(TransferBuffer raw_buffer)
at Framework.Security.Recv(Byte[] buffer, Int32 offset, Int32 length)
at SR_PROXY.SECURITYOBJECTS.AGENT_MODULE.<ASYNC_RECV_ FROM_CLIENT>d__140.MoveNext()
This part is just part of the exception, it's being propagated higher in the call stack.
The .MoveNext() method is just a part of C# inner metadata shticks.

Quote:
and after some minuts filter crash
Not related to the crash, since it's being handled. If it wouldn't you wouldn't been able to post it.

Hope this helps,
Regards, Iso.