-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
SABnzbd client - ENGINE Error in HTTP server: shutting down #710
Comments
cheroot==10.0.1 Python version we use is 3.12.3, not 3.8 :) |
Just adding a more info. It had been sitting idle for a while, then threw out the errors below and crashed.
|
Are you able to come up with a Cheroot-only reproducer / regression test that would run in our CI? I haven't used Windows for like a decade so can't test it locally but a CI failure can be inspected remotely, if the need be... |
FWIW 10.0.1 contains some bugfixes that I thought should be backwards compatible. If 10.0.0 didn't fail, the regression is somewhere in the diff. Although, it's also possible that the problem existed before and got more evident with the patches around exception processing and logging.. |
dupe of #375? |
Now starting to wonder if it was my reverse proxy causing the issue. I posted the following info on the SABnzbd thread: In the errors I posted above, 192.168.0.26 is a docker host running nginx proxy. I had SSL enabled on SABnzbd running via the reverse proxy, and I noticed the SSL error listed above:
Last night I did a fresh install of SABnzbd, left SSL off, and set my other services to correct directly to SABnzbd (not via nginx), so far it has stayed up. No idea if the reverse proxy could have been an issue at all? |
That was my working theory and I started researching it by checking out what Python stdlib does. Though, I didn't get to test it. If someone wants to check out if such a patch would work, please do and report back. P.S. This issue also claims hanging which is something I'd expect to be impossible in v10.0.1. So it'd be nice to unpack what it means actually.. |
I added these log entries in the last release to make it cleaner what's happening.. Hoping to improve the formatting later. |
For that, I'd need to know how it's set up. The latest version shouldn't run out of threads and hang.. If you set it up to use plain http when connecting to the https port, it would obviously not work. |
I have this issue happening on my device right now. I will post logs the next time it stops. I just turned on debug logging today... |
seen a few others reporting this issue, so far it seems like its only been reported since we upgraded cheroot from 10.0.0 to 10.0.1 (cherrypy==18.9.0 been the same on both versions). Most of the users seem to be on windows. This morning a Windows 11 Enterprise (build 22631) user reported the issue has happening, goes to sleep and wakes up the next day to find application broken. It was just idling, but there are a few apps querying every 30s to check on status.. so 4x hits every 1 min (two hits from each app). So nothing to excessive, but per logs you just see the hits every 30s until eventually cheroot throws the error:
Confirmed with user they are not using a reverse proxy or anything. Only thing change was they upgraded to newer version of our app which included newer cheroot. Asked user to downgrade back to previous version of the app so it downgrades cheroot to 10.0.0 so we can confirm issue goes away.. which he has done now. So waiting to see. I tried to replicate it myself on window10 but I have not been able to. :( |
Since we got more complaints, I will 'fix' this for us by extending |
Is there a version that endusers like me can update to, to become happy again? |
Do you have the latest SABnzbd? Because it should catch those errors. |
Sorry, I read not enougth. I don't use SABnzbd. My problem is more in the direction of issue 375, and only because someone asked if this is related, it does not mean it is really related. |
β I'm submitting a ...
π Describe the bug. What is the current behavior?
Using SABnzbd 4.3.1 on Windows 11 Enterprise 23H2. Recently it has started to hang, displaying the following error in the logs just before it does hang:
π‘ To Reproduce
Queue up downloads in the SABnzbd client, after a period of time the client will hang and stop responding.
π‘ Expected behavior
Client not hang.
π Details
Logs shown above.
π Environment
The text was updated successfully, but these errors were encountered: