Plex Content Not Authorized

Server Version#: 1.28.1.6104
Player Version#: 8.10

The issue I am having is that when I try to access my server, I am unable to access content. If I use Plex Web on the Windows 10 server itself (using Chrome, Plex Web version 4.84.1), I get a message stating that “Not Authorized: you do not have access to this server”.

If I try to access the content via Apple TV app (player version shown above), it it just saying No content.

If I shutdown Plex Media Server and start it up again, everything works fine. After a few days, this error will return. The server has a preferred IP, so that is not changing.

Any help is appreciated. I have attached my logs. Thanks.
Plex Media Server Logs_2023-03-08_19-36-10.zip (5.0 MB)

I had previously experienced this issue as described here, but waited for it to occur again so I could post logs. Previous thread: No Content/Not Authorized - #5 by MovieFan.Plex

Did your computer go to sleep? There is a 3hr gap in your logs from 4:37 pm until 7:31 pm.

Yes, the computer sleeps when not used. I use Wake On LAN to wake it when needed.

There is an issue around that. Plex "Not Authorized" after reuming from sleep

Thanks for pointing that out. I have completed the “fix” mentioned in that topic. I will see if the issue is resolved, or occurs again.

Well it happened again. I had followed the guide to delete those registry keys, but this issue still happened again. I tried to watch something via Apple TV, and it was not available. I went to the server and opened Plex web browser and got the Not authorized, You do not have access to this server error.

So I close Plex server, restart it, and all is working immediately. I then went and grabbed the logs, and have attached them.
Plex Media Server Logs_2023-03-30_09-49-46.zip (4.0 MB)

And it happened again today.
Plex Media Server Logs_2023-04-10_09-19-18.zip (3.7 MB)

Does anyone have any idea why this keeps happening? @anon18523487 any ideas? Thank you.

Is this due to your computer going to sleep? As previously mentioned, we are still looking into that but can’t reliably reproduce it.

If you can, please enable verbose logging, let your computer go to sleep, wait a few minutes to make sure it’s really asleep, then try accessing it from Web and reproduce the error. Grab logs if you can reproduce.

Sorry I misunderstood. I thought the registry fix in the other thread was a solution.

I have turned on verbose debugging and will upload the next time this occurs. It does not happen every time the computer goes to sleep and wakes.

And that’s the main issue. I cannot reproduce on my computer so there is something else contributing to this which we haven’t been able to identify.

I understand. That is tough to fix when you can’t reproduce. I will keep an eye on it and be more meticulous in logging when it occurs.

In my experience, after a restart, it will been fine for a while and then it will come up again. Makes me think something is expiring after a fixed amount of time. Certificate? Lease? Not sure what it would be. I have IP reservations so that my server IP does not change. Just brainstorming.

@anon18523487 Here are the logs from my computer today. I have verbose debugging on, woke the computer, and got the no access error. Unfortunately, I do not see a way to download the logs without restarting the Plex server application, so I did that and then downloaded the logs. Please let me know if there is anything else I can do to help you re-create it, or if I can download the logs without quitting and restarting Plex (maybe that doesn’t matter to you). I will continue to track it on my server and see if I can figure out a pattern. I have been trying to check it daily to see if I can pinpoint when it fails. Maybe that will provide a clue.

[mod edit] - log removed

Got the log. Thanks.

Same thing happened again yesterday. Will keep providing logs, maybe it will help to find some pattern.

Plex Media Server Logs_2023-04-30_13-27-46.zip (4.3 MB)

Here are the logs from today when I tried to access Plex and got the Unauthorized error message. Again, this really seems to happen about 1 week after I restart the server. I have no supporting data, but it just seems like there could be a certificate, reservation, token, something with a ~7 day expiration that does not get renewed properly.

Plex Media Server Logs_2023-05-08_13-22-17.zip (5.0 MB)

@anon18523487 given that my system will likely have this issue again in 7 days, is there anything I can do to help you identify the issue? Would daily system logs help?

Thanks?

I see a couple of restarts of PMS. That time did you notice the issue?

Yes, I restarted PMS when the issue came occurred. There may have been 1-2 restarts of the entire computer in there due to power outage/windows update as well.

Your logs have an almost 2 day gap. Does that fit how long your computer was asleep?

May 06, 2023 21:47:21.132 [1140] INFO - [NSB/SSDP] Abandoning browse socket, it was closed.
May 08, 2023 13:18:06.530 [13984] DEBUG - [EventSourceClient/pubsub/172.105.13.59:443] Failure: 1236 - The network connection was aborted by the local system.