-
Notifications
You must be signed in to change notification settings - Fork 2
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
Version 0.18.0 always timeout #324
Comments
Did this problem start specifically after upgrading to v0.18.0? Can you test if after restarting the container, can you access your profile page by visiting: http://URL/login?next=/profile Can you test to see if it works with a fresh YamTrack container with version 0.18.0 without any existing data? I see a similar issue being discussed in the Gunicorn repository (benoitc/gunicorn#3207), so it may be a Gunicorn-related issue. What web browser are you using? In the gunicorn issue some have reported problems with chrome. |
No issue on version 17.3 but so much lag. And yes I tested it on chrome but Firefox as well. Version 18 go into timeout on Firefox too. |
Same here. Fresh install with clean database. Using docker-compose.yml from the repo. |
Do you get those error logs before trying to access the application or after? Are you connecting through a reverse proxy? |
The errors happen when navigating in the application especially when saving. The application hangs and after a few seconds browser shows "Internal Server Error". Connection is directly via the exposed port. Host OS is Unraid 7.0. I was able to reproduce on 2 different Unraid systems. On WSL2 with Ubuntu I'm not receiving the errors. |
Can you try providing your own API keys for the service you are using TMDB (TV shows and movies) / MAL (anime and manga) / IGDB (video games)? It's possible that the app slows down because the API keys provided by default are being rate limited, and the app timeouts after waiting 30 seconds. |
Tried with own TMDB API key but still the same. I enabled debug and it looks like the timeout is occuring before calling the API.
-> I marked a movie successfully as watched and afterswards I started a search for a TV series. This time the worker exited and the timeout occured. |
Did this problem also started to happen to you after v0.18.0? I have created a pr for this problem, could you try this image in your
|
With this image I wasn't able to reproduce the error so far by searching and adding movies and tv series. However I was able to produce an endless loop as I didn't provide my own key for IGDB. Those errors appear every second and web app is no longer responding.
|
Ok, I have merged the other image to dev and made a commit on the IGDB issue. |
2025-02-01 00:16:24,860 INFO success: gunicorn entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-01 00:16:24,861 INFO success: celery entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-01 00:16:24,861 INFO success: celery-beat entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[2025-02-01 00:16:24 +0200] [27] [INFO] beat: Starting...
-------------- celery@3d003b236183 v5.4.0 (opalescent)
--- ***** -----
-- ******* ---- Linux-4.4.302+-x86_64-with-glibc2.31 2025-02-01 00:16:24
*** --- * ---
** ---------- [config]
** ---------- .> app: yamtrack:0x7f9a0b502850
** ---------- .> transport: redis://redis:6379//
** ---------- .> results:
*** --- * --- .> concurrency: 1 (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
-------------- [queues]
[tasks]
. Import from AniList
. Import from Kitsu by user ID
. Import from Kitsu by username
. Import from MyAnimeList
. Import from SIMKL
. Import from TMDB
. Import from Trakt
. Import from Yamtrack
. Reload calendar
[2025-02-01 00:16:24 +0200] [26] [INFO] Connected to redis://redis:6379//
[2025-02-01 00:16:24 +0200] [26] [INFO] celery@3d003b236183 ready.
[2025-02-01 00:17:03 +0200] [25] [CRITICAL] WORKER TIMEOUT (pid:28)
[2025-02-01 00:17:03 +0200] [28] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/sync.py", line 133, in handle
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/parser.py", line 41, in next
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/message.py", line 259, in init
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/message.py", line 60, in init
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/message.py", line 271, in parse
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/message.py", line 262, in get_data
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/unreader.py", line 36, in read
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/unreader.py", line 63, in chunk
File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
SystemExit: 1
[2025-02-01 00:17:03 +0200] [28] [INFO] Worker exiting (pid: 28)
[2025-02-01 00:17:03 +0200] [63] [INFO] Booting worker with pid: 63
[2025-02-01 00:19:36 +0200] [25] [CRITICAL] WORKER TIMEOUT (pid:63)
[2025-02-01 00:19:36 +0200] [63] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/sync.py", line 133, in handle
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/parser.py", line 41, in next
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/message.py", line 259, in init
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/message.py", line 60, in init
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/message.py", line 271, in parse
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/message.py", line 262, in get_data
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/unreader.py", line 36, in read
File "/usr/local/lib/python3.11/site-packages/gunicorn/http/unreader.py", line 63, in chunk
File "/usr/local/lib/python3.11/site-packages/gunicorn/workers/base.py", line 204, in handle_abort
SystemExit: 1
[2025-02-01 00:19:36 +0200] [63] [INFO] Worker exiting (pid: 63)
[2025-02-01 00:19:36 +0200] [183] [INFO] Booting worker with pid: 183
[2025-02-01 00:19:37 +0200] [183] [INFO] New user registered: marius at 192.168.48.1
Looks like version 0.18.0 not working anymore. Always get timeout.
The text was updated successfully, but these errors were encountered: