Server Version#: 4.43.4
Player Version#: 8.9.2.21619 (android tv)
Hello,
I think there is a mess with the url used by the server when remote access is activated.
I use pms behind a reverse proxy (traefik). I use tls with letsencrypt.
Since the new player i got an issue on my android tv. When i tryed to read a movie, sometime, for some reason i got an error message saying i got a network issue and the video refuse to play.
After investigating in the logs, i figured out there is probably a mess in the ‘remote access’ feature behavior.
When i kill the android app and restart it, the app will make http calls with that kind of url:
[method:GET] https: xxx-xxx-xxx-xxx.1b487ed744004c129d7917ebb7febda6.plex.direct:32400
even if it s not the url i setup on pms, it s fine, it s working well.
But, after looking some other movies, for some reason, the app is switching to the url i setup but with the wrong port.
[method:GET] https://plex.mydomain.net:32400
It s the wrong port because there is a reverse proxy wich is forwarding plex mydomain net 443 to a local adress:32400. And it s what i set in the pms settings. There is no entries with that ‘plex.mydomain.net:32400’ url so it should nt happen.
If i disable remote access, it work well. it use the right port specified in the custom url setting.
Yes, it s what I have done. But it doesn’t work well when remote access is ON. It s what I explained upper. When remote access is activated, it use the custom server access url but with the wrong port.
Reverse proxy is working. But when you activate the remote access, plex android app (or whatever there are between) dont care of the custom access url i set. It use a mix between the domain i set and the remote access port.
Disabling remote access fix this issue. Put 443 port as remote access port wont works beacause it use the ip and not the domain so the reverse proxy is not able to forward.
I think it s a bug. There is probably some side effect between the two features. I would like to help and investigate more but the github issues are disabled.
For your information, I m not here to ask help to configure my pms. My pms is working well. I just want to report an issue.