Dunno why this does not work.
From the same client i can open the server in the browser and can fetch information with curl. http://192.168.2.196:32400
grep -i "192.168.2.196" Plex\ HTPC.log
Aug 01, 2024 18:23:46.768 [137715910770048] ERROR - [Web] Access to XMLHttpRequest at 'http://192.168.2.196:32400/identity?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx' 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.
Aug 01, 2024 18:23:46.893 [137715910770048] ERROR - [Web] 07/04/2024 18:23:46:893 [null:83zxt62xt5iqdzdwc1tilgms] WARN 07/04/2024 18:23:46:769 [null:83zxt62xt5iqdzdwc1tilgms] WARN [discoverServers] Failed to get identity for manual server 192.168.2.196:32400.
Aug 01, 2024 18:23:46.895 [137715910770048] INFO - [Web] 07/04/2024 18:23:46:894 [null:83zxt62xt5iqdzdwc1tilgms] INFO 07/04/2024 18:23:46:772 [null:83zxt62xt5iqdzdwc1tilgms] INFO [Server] Testing connections to 192.168.2.196:32400
Aug 01, 2024 18:23:46.898 [137715910770048] ERROR - [Web] Access to XMLHttpRequest at 'http://192.168.2.196: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.
Aug 01, 2024 18:23:46.899 [137715910770048] INFO - [Web] 07/04/2024 18:23:46:898 [null:83zxt62xt5iqdzdwc1tilgms] INFO [Server] Finished testing 192.168.2.196:32400. Result: Could not get a server identifier. Status: notConnected
Aug 01, 2024 18:23:51.501 [137715910770048] INFO - [Web] 07/04/2024 18:23:51:500 [null:83zxt62xt5iqdzdwc1tilgms] INFO [Server] Testing connections to 192.168.2.196:32400
Aug 01, 2024 18:23:51.509 [137715910770048] ERROR - [Web] Access to XMLHttpRequest at 'http://192.168.2.196: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.
Aug 01, 2024 18:23:51.510 [137715910770048] INFO - [Web] 07/04/2024 18:23:51:509 [null:83zxt62xt5iqdzdwc1tilgms] INFO [Server] Finished testing 192.168.2.196:32400. Result: Could not get a server identifier. Status: notConnected
Aug 01, 2024 18:23:51.511 [137715910770048] INFO - [Web] 07/04/2024 18:23:51:511 [null:83zxt62xt5iqdzdwc1tilgms] INFO [Server Retry] Starting connection retries to 192.168.2.196:32400 (notConnected)
Aug 01, 2024 18:23:53.513 [137715910770048] INFO - [Web] 07/04/2024 18:23:53:513 [null:83zxt62xt5iqdzdwc1tilgms] INFO [Server Retry] Retrying connection to 192.168.2.196:32400 (notConnected)
A CORS error as in the log shown, has absolutly nothing todo with DNS.
But i gave it a try and as said, nothing changed.
Tried with Cloudflare (1.1.1.1), Google DNS (8.8.8.8) & Quad9 (9.9.9.9).
The all resolve app.plex.tv to the same IPs:
104.18.1.127
104.18.0.127
The error has something todo with a browser/webview.
I assume from the output on stdout when started via terminal you use QT & QWebEngineView, correct?
There need the CORS header to be adjusted.
Is there a list of cli arguments to pass to the application? --help, -h, ? are not recognized as arguments, and there is no man page.
Perhaps there is a option to override/disable the CORS check for testing.