Plex Server not creating a local plex.direct URL

Server Version#: 1.27.2.5929

I recently moved my Plex Server from one Windows Server VM to another. Since I’ve moved it, when I look at “https://plex.tv/api/resources?includeHttps=1&X-Plex-Token=xxx” I do not see an entry for my server that contains a local IP, nor do any of the entries contain a “local=1” setting. I see entries like this on this page for other servers that I’m a member of.

I noticed this because Tautulli seems to use this URL to communicate with Plex however it’s unable to retrieve this. Functionally though, Plex player apps seem to be working fine.

Looking at the Plex log files I can’t see anything related to trying to register this URL (if that’s something that should be present in the logs)

1 Like

Flush the caches of all DNS resolvers in your local network.
Make sure your DNS doesn’t apply “DNS rebinding protection”. If it does, add the domain plex.direct to the list of exceptions from this protection.

Then

  1. close/stop the Plex server
  2. remove the file cert-v2.p12 from the Plex data folder/Cache/
  3. continue from step 2 of this procedure: Why am I locked out of Server Settings and how do I get in? | Plex Support

Thanks for that…should that be a fairly instant fix? I’ve just completed those steps however the “https://plex.tv/api/resources?includeHttps=1&X-Plex-Token=xxx” page still doesn’t show a local entry.

Where is the custom domain defined, which you have added to your server settings?
Maybe try with default network settings, without any customizations?

Does the server have an RFC1918 local IP address, or is it using addresses from a different range?

I just had a go at setting the defaults back but unfortunately, no change. Still no Local entries :frowning:

@Volts yeah it is. For IPv4 it’s just a bog standard 192.168.0.x address. I also have IPv6 setup

Have a look at Settings (Your Server Name) -> Network -> Preferred network interface. Do you have any specific interfaces listed, just “Any,” or nothing at all? If you have specific interfaces listed there, try selecting one, saving, and then restarting Plex Media Server. If you don’t have any specific interfaces listed, ensure you have a default gateway configured on your server’s (VM’s) primary interface.

1 Like

I was going to say what @pshanew said, but they beat me to it. I was wondering if that had been configured on the previous server, but now the setting is invalid. I’m pretty sure that Plex just ignores an invalid setting for PreferredNetworkInterface, but …

Is the public address for the server registered correctly?

Look for entries immediately before and after the string Network interfaces in the log.

Look for entries with MyPlex, like Sending Server Info to myPlex
And HTTP requesting POST https://plex.tv/servers.xml.

Or just share logs here

1 Like

I’ve had it set as “Any”. I had tried setting it to the specific interface but that didn’t help. It does have a default gateway on the interface. External friends are able to use the server just fine too.

I’ve put the log file here. I’ve gone through and replaced identifiable IPs, URLs and email address usernames

I wonder if this is the issue:

Jul 23, 2022 12:13:27.514 [0032] WARN - [Req#103] MyPlex: Invalid connection URL '<custom access URL>'.

Maybe whatever is in that field is breaking the registration process.

Plex is particular about many of these fields. Feel free to PM me (and @pshanew) if you want more eyeballs but don’t want to share it publicly.

So, the only way to get it updating again was to delete the preferences config (in this case, delete the Registry keys) and set it all up again. It did mean readding friends back to the “new” server but otherwise wasn’t too bad.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.