Closed irjon closed 6 years ago
I have switched to plexdrive version 4 (previously using 5) and the problem is mostly resolved, theres quite a few python timeouts still as before so I just ran it using a for loop until it managed to complete.
I think my main problem was using plexdrive 5, and my server is with one provider who I think have a pretty heavily congested network.
Would it be possible to specify the HTTPConnectionPool read timeout as a runtime parameter to help mitigate against read timeouts as shown in the following error?
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='onepro.mukt.uk', port=32400): Read timed out. (read timeout=30)
It should be possible to set longer timeout, however if each request to the Plex server takes over 30 seconds it will take a long time to run the whole thing. Optimally the script should run on the same server/network as the Plex server. Is this possible?
And by the way, getting 30 second response times from your Plex server must render it pretty much unusable?
I am getting the following errors and unable to create any dynamic libraries, I am running the latest plexguide (stable not developer), I am running the latest version of python plexlibrary, there are 0 pending OS updates. The system is a dedicated avotom 8 core atom with 8GB ram.
Heres the log whilst attempting to run plexlibrary:
For reference here is the plexlibrary recipe being called:
I have plexlibrary installed at: /mnt/PlexDynamic/python-plexlibrary
I have my dynamic libraries at: /mnt/PlexDynamic/library
I have sym linked /mnt/unionfs to /unionfs and /mnt/plexdrive to /plexdrive so that file paths are identical to the plex docker container.
I have read that the symlinks need to be on a local drive so I avoided the unionfs, plexdrive, gdrive folders which were attempting to upload. I have also tried the servers external IP address, servers dns resolvable hostname and internal Docker IP in my config.yml all result in the same errors.
I have been able to get this working using the same config and recipies at home on my unRaid server, just having problems with my dedicated server which is using plexguide.
I have also posted this on the plexguide forums, I followed the github tutorial to set this up. I discovered your dynamic libraries at the following: https://plexguide.com/threads/organizing-content-with-dynamic-libraries.525/
Can anyone shed any light on this? Thanks in advance.