"This server cannot reach the Internet. Please verify Connectivity and try again."

Server Version#: current
Player Version#: n/a
I added music to my music library today and Plex didn’t automatically scan for it as it’s supposed to do. If I try to manually scan for it I get the message: “Internet Required: This server cannot reach the Internet. Please verify connectivity and try again.”

Since this problem has gone on TV shows have been added with no problem and the metadata was downloaded. So there is definitely internet connection and the server is available off my network.

I have the same problem every so often (and just this morning).

My QNAP is connected and working fine for other services, but for some reason Plex thinks it is somehow offline.

A couple of minutes later and it is working again.

[edit: adding logs]
Plex Media Server.log (7.8 MB)

I can see 662 occurrences of the following line. so there seems to be an intermittent problem.
DEBUG - MyPlex: We appear to have regained Internet connectivity.

Any help gratefully appreciated.

anyone?

@JCHH

Sorry for not seeing this until now.

Something whacky going on. Please look.

Jul 26, 2020 04:58:47.544 [0x7f43c8c80700] DEBUG - PublicAddressManager: Obtaining public IP.
Jul 26, 2020 04:58:47.545 [0x7f43c8c80700] DEBUG - HTTP requesting GET http://plex.tv/pms/:/ip
Jul 26, 2020 04:58:47.604 [0x7f43c8c80700] DEBUG - HTTP 200 response from GET http://plex.tv/pms/:/ip
Jul 26, 2020 04:58:47.604 [0x7f43c8c80700] DEBUG - PublicAddressManager: Got public IP from http://plex.tv: 86.xxx.xxx.xxx
Jul 26, 2020 04:58:47.691 [0x7f43d8af5700] DEBUG - HTTP 200 response from PUT https://plex.tv/api/servers/20db1c89503cc5d14b3083d686c06279037b4de9/connectivity?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&asyncIdentifier=2c4a4e5d-2579-4795-a136-4e645699ac1f
Jul 26, 2020 04:58:47.691 [0x7f43d8af5700] DEBUG - EventSource: Successfully connected to 109.xxx.xxx.xxx.
Jul 26, 2020 04:58:47.692 [0x7f43d8de3700] DEBUG - EventSource: Failure in IdleTimeout (0 - Success).
Jul 26, 2020 04:58:47.692 [0x7f43d8de3700] DEBUG - MyPlex: We appear to have lost Internet connectivity, resetting device URL cache.
Jul 26, 2020 04:58:47.692 [0x7f43d8de3700] ERROR - EventSource: Retrying in 15 seconds. 

Look how rapidly it’s cycling.
First: 86.xxx.xxx.xxx.
Second: (milliseconds later): 109.xxx.xxx.xxx.

Do you have multiple paths to the internet over two different WAN connections?

no worries :slight_smile:

86.xxx.xxx.xxx is my public IP address
109.xxx.xxx.xxx means nothing to me.

My QNAP is connected by LAN to my router and has a single IP address (192.169.1.xxx)

my AppleTV has both an IPV4 address and an IPV6 address. Could that be causing a problem?

edit: should add that I have only 1 router and one physical connection to the internet

IPv4 vs IPv6 don’t cause problems now as long as IPv4 is the default.
Most devices do have both these days. You should see IPv4 is the default unless the ISP no longer offers IPv4.

Do you have a private domain exception (permission rule) defined for “plex.direct” domain?

This should resolve to the LAN IP of host. Plex overlays plex.direct on your LAN address space (to allow communication by name for those without a home domain name)

Jul 26, 2020 04:59:22.813 [0x7f43d8af5700] ERROR - getaddrinfo(192-168-1-234.abcdefghijklmnopqrstuvwxyz012345.plex.direct) failed: -2
Jul 26, 2020 04:59:22.813 [0x7f43d8af5700] DEBUG - Network: 192-168-1-234.abcdefghijklmnopqrstuvwxyz012345.plex.direct failed to resolve to 192.168.1.234 but instead yielded ""
Jul 26, 2020 04:59:22.813 [0x7f43d8af5700] DEBUG - PublicAddressManager: Obtaining public address and mapping port.

How long has it been since you’ve given the modem/router a good swift kick restart?

I don’t think so, no. …should I have one? Where would I set this?

Router has been up for 14 days.

I define one. I do it to prevent “DNS Rebinding” protection error messages.
It tells the modem/router that it’s an OK domain to overlay on top of the LAN.

PMS is happier when it has it but can work without it.
It does make connecting Players & Devices (local) quicker.

I am addressing this so we can whittle down the errors / nits in your logs and figure out the root cause for the scanner not firing (apparent network reconnecting so much)

I use PfSense (netgate box) and declare the LAN domain as “private” which is what allows it. If I didn’t, it would block all the LAN SSL/HTTPS traffic. That might be what it’s barking at now (remote chance but still a chance)

Appreciated, but I do not have a PfSense box so not really what I should do here.

Which modem/router do you have (make & model please)

I’ll go grab the manual and see what it has

you’re very kind.

It’s my ISP’s router (I am in the UK) - BT Smart Hub.
It’s official model is BT Hub 6A
(BT) Smart Hub (Type A) FTTC guide.pdf.zip (2.4 MB)

Please give a read here https://community.bt.com/t5/Home-setup-Wi-Fi-network/DNS-rebinding-error/td-p/1889949

Also please perform a google search for “bt home hub dns rebinding” as it lead me to the above thread with other solutions . It seems there are multiple ways to resolve dependent on which specific equipment and services are being used.

Ha! …yes, that is me on that thread and I never got an answer to the problem the factory reset did not work.

I guess I will just continue searching…

Is it possible for us to continue looking at the rest of my log for solutions to the internet access (86.xxx… and 109.xxx… switching etc) in parallel?

Absolutely we can continue.

First, I must apologize for being a total idiot and not recognizing the plex.tv domain at 109...* That’ PMS resolving to and finding the server in your region, My region’s server has a different IP.

Regarding the rapid disconnect / reconnect, does the machine use DHCP for it’s IP address or is it STATIC assigned ?

If DHCP, please go to the DHCP server (modem router?) and check the refresh interval. The interval is set in seconds. 86400 seconds is 1 day

no need :slight_smile:

My QNAP is DHCP assigned, but I have set it to always use the same IP.
Screenshot 2020-08-01 at 23.28.50

For info, the default lease time is 1 day:
Screenshot 2020-08-01 at 23.31.00

May I suggest you try STATIC?

I suggest this because, even though you’re getting the same DHCP address, it is still refreshing (breaking all connections) when the lease is renewed. We take the DHCP server out of the ‘possible problem’ set.

If the IP isn’t going to change, why not assign it and be done?

Absolutely. …I was not aware this was even an option. I assume this something I set from the QNAP control panel? Can you guide to the right screen?

It’s approaching midnight here so will do this in the morning :slight_smile:

Configure → Change the DHCP to static and assign the IP, netmask, and gateway

I used 192.168.0.153 as example. You set your desired IP and then the modem/router’s IP.

agh - I never have had the need to use “Network and Virtual Switch” before.

OK, that’s done and working although I can no longer access my QNAP’s admin page over https or address it by its server name (ilo its IP address). …I’ll do some googling on this today.

However, Plex is running fine, I can refresh my EPG (so internet access is there) and it can record from my HDHomerun OK.

I’ll send server logs in a couple of hours and we’ll see if it is a little happier :slight_smile:

Incidentally, I have just realised that my Plex server is also no longer reachable at https://app.plex.tv/desktop (since I changed to a static IP).

OK, here are the logs for the last couple of hours…
Plex Media Server.log (4.4 MB)

Edit: Not sure if this is helpful or not, but have taken a quick loom at the WARN and ERROR lines from the attached log:

There are a bunch of webhook errors relating to http://192.168.1.234:32401 which was/is for my Homebridge at my old DHCP (fixed) IP so I have deleted it and will reset with my new static IP.

There are also a bunch of issues with my Plaxt web hook - do I need to also need to redo this one now I am on a new IP?

WARN - Webhook: Error delivering payload to https://plaxt.astandke.com/...

There are a bunch of these (not sure what it is about):

ERROR - Error issuing curl_easy_perform(handle): 7

…which leaves these:

Aug 02, 2020 12:37:30.669 [0x7fec64e03700] WARN - MyPlex: attempted a reachability check but we're not yet mapped.
Aug 02, 2020 12:37:34.031 [0x7fec64b15700] WARN - NAT: PMP, got an error: Not Supported by gateway.
Aug 02, 2020 12:37:40.383 [0x7fec47d11700] WARN - Subscription: No container available for /tv.plex.providers.epg.xmltv:38/metadata/tv%2Eplex%2Exmltv%3A%2F%2Fshow%2FElementary
Aug 02, 2020 12:37:40.387 [0x7fec47d11700] ERROR - downloadContainer: expected MediaContainer element, found html
Aug 02, 2020 12:37:40.387 [0x7fec47d11700] WARN - Subscription: No container available for /tv.plex.providers.epg.xmltv:38/metadata/tv%2Eplex%2Exmltv%3A%2F%2Fshow%2FStar%2520Trek%253A%2520Voyager
Aug 02, 2020 12:37:40.389 [0x7fec55abf700] ERROR - downloadContainer: expected MediaContainer element, found html
Aug 02, 2020 12:37:40.389 [0x7fec55abf700] WARN - Subscription: No container available for /tv.plex.providers.epg.xmltv:38/metadata/tv%2Eplex%2Exmltv%3A%2F%2Fshow%2FFirst%2520Wave
Aug 02, 2020 12:37:40.391 [0x7fec55abf700] ERROR - downloadContainer: expected MediaContainer element, found html
Aug 02, 2020 12:37:40.391 [0x7fec55abf700] WARN - Subscription: No container available for /tv.plex.providers.epg.xmltv:38/metadata/tv%2Eplex%2Exmltv%3A%2F%2Fshow%2FSpace%253A%25201999
Aug 02, 2020 12:37:41.495 [0x7fec47d11700] ERROR - downloadContainer: expected MediaContainer element, found html
Aug 02, 2020 12:37:41.495 [0x7fec47d11700] WARN - Subscription: No container available for /tv.plex.providers.epg.xmltv:38/metadata/tv%2Eplex%2Exmltv%3A%2F%2Fshow%2FMisfits
Aug 02, 2020 12:37:41.517 [0x7fec4722f700] ERROR - downloadContainer: expected MediaContainer element, found html
Aug 02, 2020 12:37:41.517 [0x7fec4722f700] WARN - Subscription: No container available for /tv.plex.providers.epg.xmltv:38/metadata/plex%3A%2F%2Fshow%2F5da900d67ba509001e9f48b9
Aug 02, 2020 12:37:41.999 [0x7fec4751d700] ERROR - downloadContainer: expected MediaContainer element, found html
Aug 02, 2020 12:37:41.999 [0x7fec4751d700] WARN - Subscription: No container available for /tv.plex.providers.epg.xmltv:38/metadata/tv%2Eplex%2Exmltv%3A%2F%2Fmovie%2FSherlock%2520Holmes%253A%2520A%2520Game%2520of%2520Shadows
Aug 02, 2020 12:37:42.709 [0x7fec5492b700] WARN - QueryParser: Invalid field 'libraryHubsOnly' found, ignoring.
Aug 02, 2020 12:37:42.830 [0x7fec54c19700] WARN - QueryParser: Invalid field 'libraryHubsOnly' found, ignoring.
Aug 02, 2020 13:07:38.064 [0x7fec67fff700] WARN - JobManager: Could not find job for handle 21796
Aug 02, 2020 13:37:35.993 [0x7fec64827700] WARN - NAT: PMP, got an error: Not Supported by gateway.
Aug 02, 2020 13:37:38.994 [0x7fec64827700] ERROR - Error issuing curl_easy_perform(handle): 28
Aug 02, 2020 13:50:31.536 [0x7fec5463d700] WARN - QueryParser: Invalid field 'promoted' found, ignoring.
Aug 02, 2020 14:45:40.331 [0x7fec5434f700] WARN - SLOW QUERY: It took 470.000000 ms to retrieve 50 items.