Repository navigation
Replies: 3 comments 1 reply
|
I ssh'd to my server and renamed settings.js to settings.js.bak. Suggestion: There should be a way to re-enter Plex credentials and not need to re-enter all the client settings. Mine didn't change, but maybe the 'token' expired? |
|
I've been able to duplicate your issue if I remove Lumunarr from the Authorized Devices in my Plex settings. Is it possible that the device was somehow accidentally unauthorized at some point? I am not sure if Plex tokens expire over time, but I could possibly add a check when Lumunarr accesses your account and if it fails to have it reauthorize. Someone on Reddit says that tokens could become invalid if you change your Plex password or choose to sign out of all devices. Did you do either of those things? During the login process, Lumunarr will check if the Plex token exists or is valid, and if not, it will create and store the new one in the settings file. That is why it was different in your new settings file. The UUID is unique and gets created anytime the settings file is created (usually at first use or if the settings file is deleted). The UUID is used by Plex as a unique ID for each authorized device that is connected.
You shouldn't have to delete or recreate your settings file when this occurs. For me, to fix the problem I simply signed out of my account using the menu on the top right in Lumunarr, and signed back in again. This creates a new Authenticated Device in your Plex account and should work again. As far as to-dos, I can lengthen the timeout for the Bridge to say.....30 seconds? Would that be enough time? I will also look into having the app automatically sign out if the Plex token becomes invalid so you can sign in again and claim a new one. |
|
I've pushed an update to the development branch that addresses these issues.
There is no need at this point since it will automatically sign out if Plex returns an unauthorized status and will require you to sign back in to generate a new token.
I went ahead and increased the timeout to 30 seconds. Hopefully that should be enough time. |
Uh oh!
There was an error while loading. Please reload this page.
Noticed that my lights were no longer working and couldn't access my NAS on port 3939.
Deleted the docker container and image and created a new container running lumunarr.
Lights are now working and can access lumunarr from Firefox or Edge.
Problem: When I click on the edit icon for the Client or the 'PLUS' icon to create new Client, I get these errors:
[2024-07-05 06:36:22] [INFO] Retrieving Rooms
[2024-07-05 06:36:22] [INFO] Retrieving Zones
[2024-07-05 06:36:22] [INFO] Retrieving Light Scenes
[2024-07-05 06:36:22] [INFO] Retrieving Smart Scenes
[2024-07-05 06:36:22] [ERROR] Issue with connection to online Plex account while requesting friends: Request failed with status code 401
[2024-07-05 06:36:23] [ERROR] Issue with connection to online Plex account while requesting account info: Request failed with status code 422
[2024-07-05 06:36:24] [ERROR] Issue with connection to online Plex account while requesting device info: Request failed with status code 401
[7/5/2024 06:36:24] [INFO] POST /backend/client - Status: 403
All reactions