Open InsertDisc opened 1 year ago
When Plex closes the websocket connection you should have the following logs:
[WARNING] Lost connection to the Plex server
[INFO] Trying to restore the connection to the Plex server...
If not, do you have any logs that could indicate a failure ?
I was getting [Warning] Plex closed the websocket connection.
I don't have exact logs to copy as I guess you lose them on a PAL restart.
After restarting Plex I would have to restart PAL as well to restore the connection.
Turns out the issue was a bit deeper. Running maintenance on Plex, having PAL listening and scanning with PMM was causing the server to crash.
I've separated the schedules a bit better to avoid the problem in the future. However, if somebody has a script to restore Plex after a crashed state, the issue with PAL reconnecting would probably still arise. Not something that should happen often, but it's still something that can.
Thank you for your great communication.
On Wed, Jul 5, 2023, 5:10 AM RemiRigal @.***> wrote:
When Plex closes the websocket connection you should have the following logs:
[WARNING] Lost connection to the Plex server [INFO] Trying to restore the connection to the Plex server...
If not, do you have any logs that could indicate a failure ?
— Reply to this email directly, view it on GitHub https://github.com/RemiRigal/Plex-Auto-Languages/issues/81#issuecomment-1621347305, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSH2JWTVIFUDHWNOF6NN5TXOUVRDANCNFSM6AAAAAAZ42OZLI . You are receiving this because you authored the thread.Message ID: @.***>
I do however get this randomly.
On Wed, Jul 5, 2023, 8:38 AM Insert Disc @.***> wrote:
I was getting [Warning] Plex closed the websocket connection.
I don't have exact logs to copy as I guess you lose them on a PAL restart.
After restarting Plex I would have to restart PAL as well to restore the connection.
Turns out the issue was a bit deeper. Running maintenance on Plex, having PAL listening and scanning with PMM was causing the server to crash.
I've separated the schedules a bit better to avoid the problem in the future. However, if somebody has a script to restore Plex after a crashed state, the issue with PAL reconnecting would probably still arise. Not something that should happen often, but it's still something that can.
Thank you for your great communication.
On Wed, Jul 5, 2023, 5:10 AM RemiRigal @.***> wrote:
When Plex closes the websocket connection you should have the following logs:
[WARNING] Lost connection to the Plex server [INFO] Trying to restore the connection to the Plex server...
If not, do you have any logs that could indicate a failure ?
— Reply to this email directly, view it on GitHub https://github.com/RemiRigal/Plex-Auto-Languages/issues/81#issuecomment-1621347305, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHSH2JWTVIFUDHWNOF6NN5TXOUVRDANCNFSM6AAAAAAZ42OZLI . You are receiving this because you authored the thread.Message ID: @.***>
What version of Plex are you on @InsertDisc
Already an open issue for this: https://github.com/RemiRigal/Plex-Auto-Languages/issues/56
If Plex restarts and closes the websocket connection there is no attempt to reestablish the connection.