Closed NikPaushkin closed 1 year ago
It seems like it happened during the SIGTERM signal processing, I will reopen if I'm able to reproduce again.
Interesting. Looks like it happened during shutdown, and perhaps a race condition. Please keep me updated if you see something like this again.
Is there an existing issue for this?
Describe the bug
Sanic function
serve
crashed at line858
with the error messageExperienced exception while trying to serve
, while server was working normally before.Here is the full traceback:
Code snippet
I run Sanic like this in dozens of projects:
Expected Behavior
Working without crash
How do you run Sanic?
As a script (
app.run
orSanic.serve
)Operating System
Ubuntu 22
Sanic Version
23.3.0
Additional context
I'm facing such crash for the first time. I migrated it to Python 3.11 + v23.3.0 from v21.* recently, was not an issue before.