This server cannot reach the Internet. Please verify... - Updating premium

This suddenly popped up today, although I am not sure when it started (haven’t added music in a while).

I have added a couple of albums to my music directories. To my suprise they didn’t automagically show in Plex, so I went to the library and pressed the update button. It gives me:

**This server cannot reach the Internet. Please verify connectivity and try again.

Now I have been going through the forums, but somehow the fix that is proposed (removing the PubSub entries in the Preferences.xml) won’t work for me.

Some (relevant?) facts:
pubsub.plex.tv resolves to 139.162.7.93 (I live in Germany)
Going to pubsub.plex.tv gives me a 403 (as expected)
Plex Version 1.0.0.2261
I can play shoutcast through my plex interface, so the server should be able to connect to the internet.

Just to make it complete: I run plex in a docker environment. Updating the music library has worked in the past, so this configuration should not be the issue (although one never knows).

The server asks plex.tv for a list of pubsub servers and does a test connection to each and then picks up the fastest connection pubsub server.

Could you enable debug logging and restart the server, Wait 10 minutes and then try to update a premium music library and if it fails please attach the full Plex Media Server.log

I sent you the logs in a PM. Hope you don’t mind.

Thanks for taking the time to read and answer.

On a, possible, related note: since I have upgraded to version 1.x of Plex Server, plex web tells me the server is not connected to the internet. Which is not true, since I can connect through the cell network without an issue and I do see “others” watching content as well. Not completely sure when this started, since I don’t check the server settings on a regular base. Normally plex just works ™.

Past 02:00 where I live, will be going to bed.

I have raised the issue. There appears to be a problem with the dialogue with the pubsub servers

Should be fixed now after reboot of the pubsub server your system was communicating with

No luck, same result.

@SingleServingSociety said:
No luck, same result.

Please could you repeat what was done earlier and send me a new log file and I will re-open the issue I raised to get it re-investigated. Please follow same steps as before

You don’t sleep, now do you? :slight_smile:

PM’ed you again.

Thinking about the issue. I think it all started when my cable modem broke down. As a temporary solution I got a device that forced me into double NAT mode, thus removing some of the functionality I had. During those days Plex was accessible from outside my network, but I couldn’t reach it at home.

My modem is now replaced, so I am back to the original situation again (no double NAT anymore). It seems as if the server never recovered from that situation though.

Following the thought in the last message, I decided to disconnect my plex server from my account (sign out) and sign it in again.

That fixed the issue. I don’t understand why, but I guess it has to do with a reset of the connection information.

Thanks for your support!

interesting

Do you know if it is still using the same pubserver ? Resolved to 82.94.168.15

Jul 05, 2016 10:04:38.104 [0x7fc4133ff700] DEBUG - EventSource: Resolved to 82.94.168.15
Jul 05, 2016 10:04:38.158 [0x7fc4133ff700] DEBUG - EventSource: Connected in 38 ms.
Jul 05, 2016 10:04:38.158 [0x7fc4133ff700] DEBUG - EventSource: Wrote data, reading reply.
Jul 05, 2016 10:04:38.273 [0x7fc412bfe700] DEBUG - EventSource: Read HTTP reply header`

Yes, it is still resolving to the same one:

# cat Plex\ Media\ Server.log | grep -i resolved
Jul 06, 2016 19:01:45.602 [0x7fc0d83ff700] DEBUG - EventSource: Resolved to 82.94.168.15
Jul 06, 2016 19:02:00.773 [0x7fc0d83ff700] DEBUG - EventSource: Resolved to 82.94.168.15
Jul 06, 2016 19:02:30.937 [0x7fc0d83ff700] DEBUG - EventSource: Resolved to 82.94.168.15

Hi sa2000,

I hope you don’t mind me jumping in on this but I have been having the same issue since 3-4 Plex versions ago, I have pm’d you my log file.

Many Thanks

@mbcplexserver said:
Hi sa2000,

I hope you don’t mind me jumping in on this but I have been having the same issue since 3-4 Plex versions ago, I have pm’d you my log file.

Many Thanks

For some reason getting 403 errors from pubsub.plex.tv servers to requests from your server.

Do you have any special security / firewall software that may be blocking requests to any of these IP Addresses ?

Apr 07, 2017 09:01:53.624 [0x7f3fccffe700] DEBUG - PubSubManager: Time to connect to 82.94.168.55 was 5 ms.
Apr 07, 2017 09:01:53.624 [0x7f3fccffe700] DEBUG - PubSubManager: Time to connect to 82.94.168.52 was 6 ms.
Apr 07, 2017 09:01:53.624 [0x7f3fccffe700] DEBUG - PubSubManager: Time to connect to 139.162.245.220 was 21 ms.
Apr 07, 2017 09:01:53.624 [0x7f3fccffe700] DEBUG - PubSubManager: Time to connect to 139.162.144.200 was 27 ms.
Apr 07, 2017 09:01:53.624 [0x7f3fccffe700] DEBUG - PubSubManager: Time to connect to 173.255.237.43 was 156 ms.
Apr 07, 2017 09:01:53.624 [0x7f3fccffe700] DEBUG - PubSubManager: Time to connect to 45.79.211.86 was 186 ms.
Apr 07, 2017 09:01:53.624 [0x7f3fccffe700] DEBUG - PubSubManager: Time to connect to 65.52.235.203 was 215 ms.
Apr 07, 2017 09:01:53.624 [0x7f3fccffe700] DEBUG - PubSubManager: Time to connect to 45.33.118.95 was 270 ms.
Apr 07, 2017 09:01:53.624 [0x7f3fccffe700] DEBUG - PubSubManager: Time to connect to 173.255.253.36 was 311 ms.
Apr 07, 2017 09:01:53.624 [0x7f3fccffe700] DEBUG - PubSubManager: Time to connect to 139.162.7.93 was 507 ms.
Apr 07, 2017 09:01:53.624 [0x7f3fccffe700] DEBUG - PubSubManager: Time to connect to 139.162.117.249 was 538 ms.

Responses show 403 errors

Apr 07, 2017 09:01:47.813 [0x7f3fe0ffe700] DEBUG - EventSource: Read HTTP reply header.
Apr 07, 2017 09:01:47.813 [0x7f3fe0ffe700] DEBUG - EventSource: Failure in ParseHeader: HTTP/1.1 403 Forbidden
Server: nginx
Date: Fri, 07 Apr 2017 09:01:47 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive

<html>
<head><title>403 Forbidden</title></head>
<body bgcolor="white">
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx</center>
</body>
</html>

I will raise it with the operations team for the pubsub servers - but please do check your end for any security software that may be doing it

@mbcplexserver I notice it is also getting 403 errors on other requests - so not confined to pubsub servers
eg

Apr 07, 2017 09:01:47.820 [0x7f3fe07fd700] DEBUG - HTTP 403 response from GET https://plex.tv/api/v2/server/webhooks?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx

Do you go through nginx server at your end ?
I will wait for your replies before referring to our operations team as it might be at your end

Hi,

thanks for your time, here is the response from my VPS provider, hopefully it will help!

"The forum post is not applicable on our situation, we are not using Nginx or any web server in front of Plex. "

Many Thanks

@mbcplexserver said:
Hi,

thanks for your time, here is the response from my VPS provider, hopefully it will help!

"The forum post is not applicable on our situation, we are not using Nginx or any web server in front of Plex. "

Many Thanks

Thanks. Will need to get this looked into to see why the requests are being rejected - as Forbidden.
So will need to look at the tokens that are being used.
Could you repeat the test as before after enabling logging of tokens (server / settings / general / show advanced) and also enable verbose logging as well - so debug + verbose + token logging.
Then restart the server
and reproduce the issue as before and send me the Plex Media Server.log by private message

Could you also do a request in a browser and save the returned xml into text file and send it to me
The request is
https://plex.tv/servers/c903bb70ff11ef16996f023aa7129a89b76fc7ae/access_tokens.xml?auth_token=xxxxxxxxxxxxxxxxxxxx&includeProfiles=1&includeProviders=1
You will need to replace the xxxxxxxxxxxxxxxxxx characters with an actual token for your server
You can find out what that is from the Preferences.xml file - item PlexOnlineToken
Location of Preferences.xml is
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml
That requests lists your tokens - please copy to text file and send me by private message together with the log

@mbcplexserver not sure where you got to with this - but an issue has been identified with servers hosted with bytesized hosting where tokens used by the server are not ones obtained by the server.

See http://forums.plex.tv/discussion/comment/1416383/#Comment_1416383