Notice how the IP address has numbers separated by dashes instead of dot, and there is no slash after the IP. I’m not sure how this is supposed to work.
The weird URL is normal and expected.
After a small waiting time, my web browser is presenting me with the Download modal where I can set the download location or open the download directly.
Take a look into the folder where your web browser is storing the downloads by default.
If there is no downloaded file, you might have an issue in your local network with “DNS rebinding protection”.
That is a confirmation of the DNS rebinding issue.
The domain name is not resolved in your local network, when it should point to the IP of your server.
I have a local DNS with about 170 DHCP reservations and hostnames. I cannot use any of the public DNS servers mentioned on that support
my pfSense router has DNS rebinding protection enabled , it seems, for security reasons
allowing DNS rebinding even for one domain seems like it could open up my LAN/WLAN to possible security exploits, if another device tries to register additional hostnames in the same plex.direct domain in my DNS . There is no provision for restricting that to certain client devices. And even then, an individual device may run many apps.
Why is this problem only happening with the native Plex windows app, but not happening when I connect directly to https://servername:32400, or from Plex web ? It does not make much sense to me that the behavior of one app s behavior is different vs the others.
In which version of the client and server was this scheme added to ?
It seems like there should be an option to opt out of using the Let’s encrypt PKI, especially if the Plex server is not accessible remotely. A private PKI should be an option.
I did try the setting Plex recommends for pfSense which is documented in the support page you posted. It solved the problem with those links, indeed.
Unfortunately, it also completely broke my 170 local DNS hostnames, inexplicably.
And removing the setting did not fix it. I had to restore the configuration from one of the automatic backups to fix it
Given the choice between my local DNS and the Plex links working, I have to choose the former. But will head over to the Netgate forums to inquire.
Maybe you missed a crucial character at the end, like a semicolon, a quotation mark, or a line break (or added extraneous), which rendered the rest of the configuration file invalid?
It would explain why the private-domain directive was effective, but not other directives.
I don’t believe I did. It seems pfSense automatically disabled local DNS registration from DHCP upon adding the option.
See the config diffs there :
It could also be related to the fact that pfSense has recently migrated from the ISC DHCP backend to the KEA backend. I’m using the newer KEA. Perhaps the syntax for options is different between the two, also.
In fairness, the first response you got there contained this:
Are you using isc or kea for dhcp - kea is not yet ready for prime time, it is preview and I know there is something about static reservations in the warnings about what features it does not support.
Yes, but the Plex doc I read before posting here only applied to the ISC server. If it had mentioned KEA, I wouldn’t have to post over there at all.
Also, Plex could make this a lot easier in terms of error messages, such as trying to resolve the DNS entry before handing the URL off to the browser getting a 404, scratching their head, and heading to forums for support. It’s not a great UX,. I’m surely not the first or last to run into this.
Maybe so, but the problem is that Netgate didn’t clearly notify users who received the update that KEA was a preview. Instead, we were shown a warning in red like this anytime the DHCP server page was opened, which happens when one wants to edit DHCP reservations :
Notice how there is not one word about how KEA is a preview.
And the “?” at the top of this page does not lead to a page mentioning ISC vs KEA either.
There were indeed 2 places I could have learned about it.
If I followed the Netgate blog, I would have found this :
I don’t follow the blog, though.
There were also release notes :
It’s quite possible I didn’t read them. But I may also well have them read at the time, and simply not recalled this information the next time I changed a DHCP reservation, and acted on the advice of the ISC deprecation warning without realizing I was turning on a server that wasn’t feature complete. Nothing bad happened with it, until I ran into this Plex issue.
I think Netgate needed to do better, and list have some sort of warning in the UI before turning on KEA. They didn’t do that.
Anyway, the issue has been publicized now. There is no telling when KEA will actually be ready. It would still be good if Plex mentioned it, in the meantime.