Plex-Auto-Languages
Plex-Auto-Languages copied to clipboard
Docker Unexpected connection lost to Plex
Hello,
I installed the docker yesterday but it seems that it's losing connection to the Plex server regularly. Here's a snippet of the logs:
2022-05-26 11:59:29,538 [DEBUG] [Cache] Loading server cache from file
2022-05-26 11:59:29,593 [INFO] Starting alert listener
2022-05-26 11:59:29,594 [DEBUG] [Cache] Saving server cache to file
2022-05-26 11:59:29,637 [INFO] Stopping scheduler
2022-05-26 11:59:55,257 [INFO] Parsing config file '/config/config.yaml'
2022-05-26 11:59:55,280 [INFO] The provided configuration has been successfully validated
2022-05-26 11:59:55,281 [INFO] Starting scheduler
2022-05-26 12:00:25,288 [WARNING] ConnectionError: Unable to connect to Plex server, retrying...
2022-05-26 12:00:30,801 [INFO] Successfully connected as user '*****' (id: 1)
2022-05-26 12:00:30,803 [INFO] Scanning all episodes from the Plex library, this action should only take a few seconds but can take several minutes for larger libraries
2022-05-26 12:01:21,581 [INFO] Scanned 28933 episodes from the library
2022-05-26 12:01:21,581 [INFO] Starting alert listener
2022-05-26 12:02:51,674 [WARNING] Lost connection to the Plex server
2022-05-26 12:02:51,708 [INFO] Trying to restore the connection to the Plex server...
2022-05-26 12:03:21,743 [WARNING] ConnectionError: Unable to connect to Plex server, retrying...
2022-05-26 12:03:33,208 [WARNING] Alert listener had an unexpected error
It will only briefly have connection to the Plex server before having a Connection Error.
I'm not sure what I might have done wrong, I setup he docker image on windows 10 with the following command:
docker run -v "C:\docker config\autolangaugesplex":/config --name PlexAutoLanguages -e TZ=America/Toronto remirigal/plex-auto-languages:latest
And finally here are my config.yaml settings for the Plex URL:
# Plex configuration
plex:
# A valid Plex URL (required)
url: "http://192.168.2.39:32400/"
# A valid Plex Token (required)
token: "gWjbP3a4GeJVNFxq9-aY"
Let me know if more details are required. Thanks!
config.yaml.txt Config.yaml File attached