Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure Producer can recover from IO error on ReadUnpackedResponse #78

Open
judwhite opened this issue Oct 15, 2016 · 0 comments
Open
Labels
Projects

Comments

@judwhite
Copy link
Owner

Logs are inconclusive in this case. Induced by leaving in break-all for a few minutes.

[2016-10-15 05:57:19.5504] [Error] P1 (127.0.0.1:4150) IO error on ReadUnpackedResponse - System.ArgumentException: length of response is too small
Parameter name: response
   at NsqSharp.Core.Protocol.UnpackResponse(Byte[] response, FrameType& frameType, Byte[]& body) in D:\Projects\_github\NsqSharp\NsqSharp\Core\Protocol.cs:line 104
   at NsqSharp.Core.Protocol.ReadUnpackedResponse(IReader r, FrameType& frameType, Byte[]& body) in D:\Projects\_github\NsqSharp\NsqSharp\Core\Protocol.cs:line 122
   at NsqSharp.Core.Conn.readLoop() in D:\Projects\_github\NsqSharp\NsqSharp\Core\Conn.cs:line 555
[2016-10-15 05:57:19.6231] [Info] P1 (127.0.0.1:4150) beginning close
[2016-10-15 05:57:19.6927] [Info] P1 (127.0.0.1:4150) breaking out of writeLoop
[2016-10-15 05:57:19.6927] [Info] P1 (127.0.0.1:4150) writeLoop exiting
[2016-10-15 05:57:19.7113] [Info] P1 (127.0.0.1:4150) readLoop exiting
[2016-10-15 05:57:19.8471] [Info] P1 (127.0.0.1:4150) clean close complete
[2016-10-15 05:57:19.8471] [Info] P1 (127.0.0.1:4150) finished draining, cleanup exiting
[2016-10-15 05:57:20.0172] [Info] P1 exiting router
@judwhite judwhite added the chore label Oct 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant