Server Version#: 1.40.1.8227
HTPC Version#: 1.58.0
I have the Flatpak of Plex HTPC installed on Linux Mint and also Fedora Kinoite. I have the server IP entered in the manual connection. Neither computer can connect to the server using HTPC but can connect using Plex web by specifying the IP of the server.
Looks like the problem is a CORS related problem. From the HTPC logs:
ERROR - [Web] Access to XMLHttpRequest at ‘http://192.168.1.2:32400/identity’ from origin ‘file://’ has been blocked by CORS policy: The ‘Access-Control-Allow-Origin’ header has a value ‘https://app.plex.tv’ that is not equal to the supplied origin.
Incidentally, Plex HTPC on my Windows machine connects and works fine.
I’ve attached logs from HTPC and the server. Logs.zip (594.6 KB)
Since I knew that HTPC was able to work with a manual server connection previously, I figured out exactly which version breaks on my two systems. I downgraded the Flatpak to the oldest version I could and it worked, then using a goold old binary search I narrowed it down that version 1.37.3.3706-ad416bcd works on both of my Linux computers and if I update to 1.38.2.3738-02a27646 then the manual server connection does not work.
And for fun, I tried every single version after 1.38, all 21 of them, and every single one failed as well. As soon as I reinstall 1.37.3 then it immediately works again.
Also, the Android app on my phone was working last week, I used it several times, updated it earlier this week and it no longer works with a manual server connection either. I have no idea what version it was on before the update. I dug out an old Android phone I had lying around that I knew for a fact the Android app worked with a manual server connection and it still does. It is on version 9.19.1.525 (336a502).