-
Notifications
You must be signed in to change notification settings - Fork 109
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
add_to_collection : Plex ReadTimeout #1455
Comments
Duplicate of #956 add_to_collection() requires item resolution and it fails to reload Plex item to get the |
@steve1977 can you try to disable sync:
plex_to_trakt:
collection: false |
or set bigger plex timeout: plex:
timeout: 300 is the crash every time the same item? progressbar number could indicate that. |
This works in the way that it runs through and completes the sync. However, the sync doesn't seem to work. Not all my Plex movies are marked as "collected" in Trakt. Not sure how to best troubleshoot what is working / not working. Any suggestions? |
Of course, is was just for the test. We're trying to narrow down the problem. Seems to be related to collection. Enable |
I changed collection back to true and also set debug log to true. Unfortunately, now it doesn't work anymore. Log below:
|
doh! use the serach luke! |
also, edit your post and put log pastes between code fence blocks: |
remove cache, update to And you ask suggestions but you didn't even answer to #1455 (comment)... |
I had changed the timeout from 30 to 300, but it didn't seem to work. In the log, it still seems to apply 30 timeout although the config files reflects my change to 30. Deleting the cache makes it run again, but it still gets stuck and stops after a few movies. Let me attach an updated log that may help troubleshooting. Thanks for your help! |
Can you show output of: |
Here we go: https://pastebin.com/f368jp2S |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, I had been on holidays. Unfortunately, I still cannot finish the sync. Updated debug log is attached. I didn't ignore, but not sure how I select the code blocks in pastebin? |
|
PlexTraktSync [0.26.4] I'll try to make the edit above. |
paste expired. post to github instead of third party site. (it accepts .txt extension files. just drag them to text area) Try to update to last version 0.26.10 and set plex timeout to 300, then give full log. |
Thanks. Deleted the cache and updated the docker container. Unfortunately, it seems not to connect. I think I need to wipe some more cache somewhere? |
keeping an eye out on this, seems like having add_collection false it works fine but times out when having it on true... Happy to also share the logs from the last adding to collection... config also has it set to 300 Edit: What I noticed is that if I manually add the collection of the failed episode it continues, unfortunately it does find another to fail on hrmmm |
I wiped the contgainer and reinstalled. Increased timeout to 300. Unfortunately, still not working. Log attached. |
The log shows your timeout is still 30s:
Refer to python-plex documentation how to change defaults, if plextraktsync config is not working: |
Seems the problem is that each query method takes own timeout parameter, or uses global: and the global comes from config: EDIT: Reported to PlexAPI: |
Actually, we patch the global
so, it should have worked... |
I double-checked and yet again made sure the timeout has been set to 300. I re-ran and it still errors our and says timeout is 30. See below. What else can I provide to trouble-shoot? ReadTimeout: HTTPConnectionPool(host='192.168.11.120', port=32400): Read timed out. (read timeout=30) |
I already wrote how: or modify plexapi |
hey @glensc how can i get around this when using docker? it doesnt seem to read .config/plexapi even when passing the environment variable for PLEXAPI_CONFIG_PATH in the docker-compose file. Any help would be appreciated, thanks |
update, this inside my docker compose seems to have done the trick environment:
- PLEXAPI_PLEXAPI_TIMEOUT=300 |
Since workaround is found, closing. |
It still does not work for me as I am using Unraid docker (as many of us), where the work-around does not apply :-( Docker compose cannot be edited. |
I'm unfamiliar with unraid, @glensc submitted a fix for the configuration issue regarding the timeout value. Not sure when that will be usable but that should solve the issue for you. |
@cenunix workaround is to add env variable. I'm sure you can still do the same for Unraid |
plexapi fix merged to this repo: |
it's included in 0.27.1 release |
And in any case:
is error from plex server. check plex media server logs. |
Very cool, working now, thanks for the fix! |
Neither this nor setting the timeout to 300 in my config.yml had any effect, in both cases, the timeout occurs after 30 seconds when I am syncing my collection. Only syncing the watched items seems to work. Edit: Nevermind. After I synced the watch state, collections started to work again. |
Confirmation
The problem
Subject says it all. It syncs well for a few hundred movies, but then just stops. Error log below.
Error trace / logs
Expected behavior
Finish the sync
Steps to reproduce the behavior
Restarted a few times. Re-run. Same prob happens every time
Inspect of problematic items
No response
Workarounds
No response
Install method
docker-compose
Config file contents
No response
Version
0.25.17
Python Version
Don't know
Operating System and Version
Unraid docker container
The text was updated successfully, but these errors were encountered: