-
Notifications
You must be signed in to change notification settings - Fork 125
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
Transport endpoint is not connected, peer_addr() unwrap panics #461
Comments
It has occurred again. I replaced the unwrap with a match which does nothing upon this specific error, which for my use case is fine and doesn't need further consideration. Server seems to continue on like it never happened. I did not see any of my client processes return anything other than 200 statuses, so I'm unsure where this error is coming from or why it doesn't seem to affect the clients at all. I'd think one of them should have been left unhandled or something. I didn't expect to see the error happen again so soon. |
It looks like whatever errors are rising up from the |
I'll try to give it a go this weekend and see if it comes up |
@msrd0 So far so good, I've run it for a bit over a day and haven't seen that particular error (Or anything, really) pop up, I'll leave it running and report back again if I see anything |
Thanks for testing. If this happens again, please reopen this issue. |
I received this error while letting a server run overnight while being requested by 3 clients every 60 seconds. I noticed the errors for
peer_addr()
are interestingly undocumented in the std lib and I'm not exactly sure what causes it in this scenario (Maybe the connection drops out really fast before it's handled? I'd like to hear more about this error if anyone knows), I thought I would report it in case you guys wanted to reconsider this unwrap call to handle this instead of panicking.I'm going to try poking around with it myself and see if I can get it to recreate itself and continue on with it's life without crashing as that's important for my use case. I will give any further details if I get it to happen again. This is using gotham pulled from this repo some time near the beginning of August 2020.
The text was updated successfully, but these errors were encountered: