PMS Suddenly Not Accessible From Certain Devices

A few days ago I began having some issues with my Plex Media Server setup running on a Raspberry Pi 3 after going over a year with no issues. I haven’t made any changes to the server or network recently other than keep the Raspberry Pi and Plex software updated. My version is 1.8.4.4249, logs are attached.

Before the issues began I could connect to the server from inside and outside the local network without any issues. A few days ago, I started having issues connecting from certain devices/browsers.

  • I can connect from the Plex app on my Xbox One
  • I can’t connect from my iPad Pro
  • I can connect on my iPhone using Safari but NOT using Chrome
  • I can connect on my laptop using Chrome

When I’m not able to connect it will sometimes show the Plex toolbar and then just show the spinning circle. The Plex background will display. On mobile devices if I request the desktop site it will display correctly but videos won’t play (spinning circle).

I’ve restarted the server and all devices on the network with no luck. I’ve tried connecting through plex.tv and directly to my address. Has anything changed with updates that I missed? Any ideas what could cause this?

please turn off Verbose logging. Too much data is lost with it on.

Hi, thanks for the reply. Sorry about that. I turned verbose logging on briefly a few days ago but then turned it back off (I thought) when I realized how much it logged. Does it appear to still be on? Any way I can clean up the logs?

The logs can be cleaned up but the data lost is lost. Verbose outputs 5x as much at minimum.

OK, I made sure verbose logging was off, cleared the logs out and restarted. Then tried to load a video from the iPhone using Chrome and Safari. Neither played the video. Resulting logs are attached.

Thanks for the on-target logs. That helps a great deal. You still have Verbose logging turned on lol
After you uncheck the box in Settings - Server - General make sure to Save it (I forget that myself).

Unclear as to why but your server is losing connectivity to the internet just when it needs it.

I see the jobs start then die off. If you don’t have the codec needed and PMS tries to go get it but can’t, it will fail in strange ways like this.

Sep 18, 2017 20:05:30.920 [0x728ff400] DEBUG - EventSource: Failure in IdleTimeout (0 - Success).
Sep 18, 2017 20:05:30.920 [0x728ff400] DEBUG - MyPlex: We appear to have lost Internet connectivity, resetting device URL cache.
Sep 18, 2017 20:05:30.921 [0x728ff400] ERROR - EventSource: Retrying in 15 seconds.
Sep 18, 2017 20:05:30.921 [0x643ff400] DEBUG - EventSource: Got event [data] '<Message host="xxx.xxx.xxx.xxx, port="443" command="startRelay"/>'

Geez, sorry about that. Ok here are some logs where I finally managed to turn off verbose mode.

That would be very odd about the internet cutting off. I’m not sure it’s a codec thing since on my iphone using Chrome the dashboard won’t even load most times.

Indeed strange. Something is able to stream and transcode. I first thought the transcoder wasn’t starting but it is for your local browser.
I am not seeing requests from other devices.

Stupid question time :slight_smile: Firewall ?

Sep 18, 2017 20:25:37.831 [0x728ff400] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Sep 18, 2017 20:25:37.831 [0x728ff400] DEBUG - Auth: Came in with the master token, authorization succeeded.
Sep 18, 2017 20:25:37.832 [0x699fd400] DEBUG - Request: [127.0.0.1:48560 (Loopback)] PUT /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/progress?progress=4.1&size=-22&remaining=56&speed=96.9 (14 live) Signed-in Token (crawpappy)
Sep 18, 2017 20:25:37.833 [0x728ff400] DEBUG - Completed: [127.0.0.1:48560] 206 PUT /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/progress?progress=4.1&size=-22&remaining=56&speed=96.9 (14 live) 1ms 326 bytes
Sep 18, 2017 20:25:37.879 [0x689fd400] DEBUG - Request: [127.0.0.1:48562 (Loopback)] POST /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/seglist (14 live) Signed-in
Sep 18, 2017 20:25:37.881 [0x728ff400] DEBUG - Completed: [127.0.0.1:48562] 200 POST /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/seglist (14 live) 2ms 166 bytes
Sep 18, 2017 20:25:37.976 [0x6caff400] DEBUG - Request: [127.0.0.1:48564 (Loopback)] POST /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/seglist (14 live) Signed-in
Sep 18, 2017 20:25:37.978 [0x728ff400] DEBUG - Completed: [127.0.0.1:48564] 200 POST /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/seglist (14 live) 2ms 166 bytes
Sep 18, 2017 20:25:38.075 [0x699fd400] DEBUG - Request: [127.0.0.1:48566 (Loopback)] POST /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/seglist (14 live) Signed-in
Sep 18, 2017 20:25:38.078 [0x720ff400] DEBUG - Completed: [127.0.0.1:48566] 200 POST /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/seglist (14 live) 2ms 166 bytes
Sep 18, 2017 20:25:38.164 [0x689fd400] DEBUG - Request: [127.0.0.1:48568 (Loopback)] POST /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/seglist (14 live) Signed-in
Sep 18, 2017 20:25:38.166 [0x720ff400] DEBUG - Completed: [127.0.0.1:48568] 200 POST /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/seglist (14 live) 2ms 166 bytes
Sep 18, 2017 20:25:38.272 [0x6caff400] DEBUG - Request: [127.0.0.1:48570 (Loopback)] POST /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/seglist (14 live) Signed-in
Sep 18, 2017 20:25:38.274 [0x720ff400] DEBUG - Completed: [127.0.0.1:48570] 200 POST /video/:/transcode/session/wzw12lmku7dsoe5zjd8iidnl/80ab5649-cebf-4fe1-b0f8-c30c6538b26c/seglist (14 live) 2ms 166 bytes

Nope, no firewall. Raspberry Pi plugged into router. iPhone trying to connect via WiFi. As I said it’s been working for a year or more and I haven’t touched router settings in a long time so unless the router updated itself everything *should" be open that need to be.

If you get into a shell session on the Pi, can you ping appropriately and otherwise ssh into your server?

There is some kind of basic lack of connection. If the router did update, make sure wireless isolation didn’t get enabled. It’s an easy thing to miss.

I can ssh in no problem and ping out also. I didn’t see any wireless isolation settings in the router, it’s a Netgear R6700.

Most Netgear devices put the wired side on one subnet address and the wireless on another. Have you addressed that?

I just looked at the User Manual for your router. Unless you put it in bridge mode, wired and wireless will be on different subnets. It is my experience with the 6300 series that Netgear always enforces different subnets for wired and wifi. (it’s dumb that way)

Thank for looking into that.

What would I need to do because of that? I’m kind of doubtful that’s it however since nothing has changed over the past year with the router and it just recently began having issues. Also, I can play from the PMS just fine on my laptop and that is on WiFi.

I did a little more tinkering last night and I think I’ve narrowed the issue down to mobile browsers. As mentioned before it would not play on my iPad Pro using Chrome or Safari, however I installed the Plex app last night on the iPad and it played just fine in that. Another discovery was that on the iPad if I use the “request desktop site” option it will bring up the dashboard and let me load a video, but the video won’t play properly - looks like it’s going to play but the circle just spins. Then if I hit the pause button and play again it will actually play but the picture isn’t formatted correctly. Also, after this hitting the pause button won’t work it just keeps playing. Very weird!

Ok, so it’s not network and not server. Listing the browsers you use, what is in common and failing? Are you using iOS 11 beta?

I just looked through the bug reports and found a known issue with Safari 11 on MacOS. Apple made a change (player policy) and the Web team is addressing it now.

Good find! I wonder if that would cause the same issue on Chrome?

As far as versions go, everything is the latest public release - no beta. Sorry I don’t have exact numbers at the moment.

Google is just being google. I’ve lost functionality in their latest release. I can no longer control my HPE switch with chrome (buttons are missing). ONLY thing that works, FireFox

Just installed Firefox on the iPad, still no luck. Same weird issues as Chrome (video won’t play until being paused, pause doesn’t work properly, video doesn’t fill screen, etc.)

Are you using iOS 11 ? A known iOS 11 issue was fixed today.