-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
EOFError in Server Manager #2907
Comments
Any way I can reproduce this? |
Unfortunately I'm not getting any information about any requests that are triggering this, other than what is in the stack trace. My current working hypothesis is that it's a client that prematurely closes the request. The only other clue is that sometimes it's failing with the
I don't know how to decode it, nor do I know if it's useful if I did. It is never the same value, though. |
Is there an existing issue for this?
Describe the bug
I have Sentry monitoring my Sanic server processes. Increasingly, I am seeing EOFError exceptions. A minimal stack trace is this:
I am running Sanic with the following command (formatted as a python list):
This is run through a systemd unit file:
I'm attaching a PDF of the full stack trace that Sentry is reporting. I apologize that it's not in a more convenient form, but I couldn't figure out how to get it out in a readable manner.
stack-trace.pdf
Code snippet
There does not seem to be any interaction with my own application code.
Expected Behavior
No response
How do you run Sanic?
Sanic CLI
Operating System
Linux
Sanic Version
23.12.1
Additional context
Ubuntu 22.04 (Linux-5.15.0-89-generic-x86_64-with-glibc2.35)
Python 3.11.0
The text was updated successfully, but these errors were encountered: