But when I try to open the web player following that above URL on the same computer that is even on the same LAN - the player cannot connect to the server.
I have exhausted all possible options. Does anyone know whether recent updates on Unifi can cause these issues?
I have even tried to open up the port and forwarding all incoming traffic to my NAS where PLEX is hosted. It works when I go straight to the external URL with the open port - but obviously the Android app does not care about this regardless of how I configure my server settings on PLEX settings - I am suspecting a bug in the app.
In parallel I’ve installed Jellyfin and set that upp successfully. I need remote access to work and if I cannot get PLEX to play with me, and there is no obvious reason to why it won’t - then the only option I have is to abandon ship after being a paying customer for years and years.
The Troubleshooting Remote Access document could use a revision to include a few more steps. Plex has been implementing secure connections for all processes which is a little like putting your finger on one leak and another one pops up. It is also like math class where you need to show your work by either including logs, screen shots or output from commands. Public IP’s can be sanitized after the first two octets like 64.64.xxx.xxx but private ip’s should be shown.
Remove accessToken=“xxxxxxxxxxxxxxxxxx” if posting the output
You would have to ssh to the QNAP and run DNS checks to plex.tv and {ip}.{machineid}.plex.direct (in the output from above) to see if these are being resolved correctly.
How did you handle adding plex.direct to the DNS resolver in the Ubiquiti? Required to allow DNS Rebinding for your Plex CERT.
On my Unifi USG I have opened port forwarding for the port to the NAS from WAN interface and I can access the Plex server from the public IP and port with no issues on e.g. web browsers.
The PlexAmp app works fine remotely as well.
The Plex Android App does NOT work remotely - this is the only issue I am having.
I have a green tick mark (Fully accessible outside your network) that is steady and remains active.
Server settings:
Custom server access URLs includes the public IP and /web in it (http://{public_ip}:{port_opened_on_unifi}/web
The remote access feature and the custom server access URLs feature are completely separate things; that is, neither depends on the other and, generally, only one or the other should be used (there is an exception).
For custom server access urls, you should not include the /web on the end.
Custom server access URLs ideally be used when you have a custom domain associated with your public IP address (either DDNS or purchased). Otherwise, stick to the remote access feature.
The exception I mentioned above is that if you don’t specify a port in your custom server access URL, it will default to 32400, unless you have one manually set in your remote access settings (which overrides this).
So: Prefer remote access unless you use a custom domain. If you do use a custom domain, you’ll need a certificate. Specify the port if other than 32400, and don’t include /web at the end of the URL.
It also may help if you show your Unifi port forward rule. There are some potential gotchas there (I use a UCG Ultra myself, so I might be able to provide some specific guidance as it pertains to Unifi gateways).
You didn’t mention if the (you redacted) information here looks correct:
I am thinking that perhaps it can be that my Home Assistant running the Plex plugin has requested too much from Plex APIs and that is why I am cut off. I remember I saw the Plex plugin having issues connecting so I just deleted it as it was not really necessary for me to use in my HA instance.
@nickss1, where from have you obtained certificate and which other steps you had to do to fix the issue. I’m also running Plex Server on QNAP. And looks like certificate expired as well.
TIA.
@OttoKerner could you do your magic with my plex certificate?
Looks like I have the same issue as @nickss1 experienced.
Getting error message “xxxxx.plex.direct” certificate name does not match input.
Thanks in advance.
can you please do your magic for my account as well please? @OttoKerner
web is working fine, android apps, are not working at all.. and I can’t access the media library through https://app.plex.tv/desktop/#!/ if I am not home.
and I have the Monthly Plex Pass subscribtion.. please help me as well.
[mod edit: There is no issue with your certificate.]
what could cause that? how can I debug? what other details can I provide? I do like watching things on tablet when I am not home, and it’s frustrating not being able to watch the app, or TV..