I’m running PMS 4.47.3 with Docker on my own server, reachable via domain name myserver.com. There is a reverse proxy configured for myserver.com:443 to the internal PMS server port 32400. In this way I can access Plex via HTTPS on my own domain name.
The problem is that Plex is complaining saying that the server is offline, and it’s relaying the streaming.
Question: How does Plex evaluates if my server is online? Plex is incorrectly reporting the status as offline but the server is online.
Note: the only exposed ports on my server are 80 and 443.
Did you configure your custom domain (and probably a certificate) in the plex network settings? It sounds like plex is not aware of the custom domain so it is relaying it through the ip that is registered instead.
I have all my services running behind a reverse proxy with a wildcard TLS certificate. Everything is working fine accessing via web browser.
Plex is aware of my domain, as I can see it in the sidebar of settings in the web. But I haven’t configured the certificate paths or domain name in the network settings. Are these settings mandatory for accessing my PMS with the Android client?
I would expect that they are if you are trying to use your own domain to relay through since plex.tv already provides all of this for you. The app is likely reaching out to plex.tv api and getting the connection data. Since plex is not explicitly aware of the additional domain it falls back to the relay routing. There is a link somewhere that you attach your token to for troubleshooting. It will show you what data the plex api is passing to your app for remote connections.
We can see that when accessing via web, Plex is aware of the domain name accessible via HTTPS. But when accessing via Android application, Plex is not aware of the domain name. Plex is providing a local IP address. Why!? This is very confusing to me.
If the server is on the internet and every client has access to the internet, so why it does’t work out of the box for the Android client? It should be straightforward.
This is what I get when accessing via Android client:
An empty library.
Please help me to access my library at cine.mydomain.com PMS via Android client.
Also, can you verify that the android app is using the same account to log into your server? It sort of looks like the app is working and you are using a different user with the sharing setup incorrectly.
Hi, I have filled the PMS URL there: https://cine.mydomain.com.
I’m using the same user on both web and Android client.
I have logged out from the Android client, logged in again, and I see the Android client reporting the domain cine.mydomain.com as offline.
One important information: I have protected the URL https://cine.mydomain.com with JWT (JSON Web token), so it’s only possible to access the domain with a valid JWT. Can this be the reason for the Android client reporting the server as offline?
Thats possible. we would need to get the attention of someone who knows how the app handles that. you could also trace the web calls and see what the app is trying to reach. I would think that the JWT would cause a problem if the plex.tv server is not using it to access your server. Can you try removing it? It seems like an unnecessary level of authentication if the plex server is already using ssl and requires a login.
Just in case you were not aware, Plex (as part of their service) provides all of this infrastructure for you.