-
Notifications
You must be signed in to change notification settings - Fork 12
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
Sometimes hangs and never finishes #60
Comments
Hi, thanks for your issue! I noticed this also a few times, this seems to happen when JustWatch has problems replying. I am not sure why the timeout in the code is not being triggered. For now the solution is to just cancel the run and try it again when JustWatch is fully responding again. I will try to figure out why it is not triggering a timeout. |
Here's my workaround maybe it will help someone else:
|
Quick look at the code I don't see any timeout set maybe I'm just not seeing it? "By default, requests do not time out unless a timeout value is set explicitly. Without a timeout, your code may hang for minutes or more." https://stackoverflow.com/questions/45267003/python-requests-hanging-freezing |
Oh you are right! I thought request had by default a timeout value of 30 seconds. I will adjust this next week. Lately I don't have a lot of spare time to spend on this project, will pick it up as soon as possible! |
Describe the bug
I have excludarr set to run daily and sometimes it never finishes, just hangs forever
To Reproduce
Steps to reproduce the behavior:
env file:
Expected behavior
Program always finishes or exits with error if there is an error
Versions
Debug logging
lg.txt
If the output is too long, please paste the output to pastebin or github gist and link it in this issue.
Additional context
ps command from inside container:
The text was updated successfully, but these errors were encountered: