Plex HTPC on Linux, Local Manual Server CORS errors, Xbox One Series X works

Server Version#: 1.32.4.7195
Player Version#: 1.42 PLex HTPC for Linux

I have an Xbox Series X with the Plex app and it is working correctly with my local plex server. I added the server to the manual list with the IP. It works great.

I have a Linux with the Plex HTPC app and have added the local server in the manual server location with the same settings as the Xbox One Series X Plex app. and it says that it cannot connect to the server.

Here are the errors from the log

un 28, 2023 11:43:43.790 [140054801812864] ERROR - [Web] Access to XMLHttpRequest at ‘http://192.168.1.102:32400/identity’ from origin ‘file://’ has been blocked by CORS policy: The ‘Access-Control-Allow-Origin’ header contains the invalid value ‘app.plex.tv’.
Jun 28, 2023 11:43:43.791 [140054801812864] ERROR - [Web] 05/03/2023 11:43:43:790 [null:3mgabohuuu4wty3bth6glsv7] WARN [discoverServers] Failed to get identity for manual server 192.168.1.102:32400.
Jun 28, 2023 11:43:43.796 [140054801812864] INFO - [Web] 05/03/2023 11:43:43:795 [null:3mgabohuuu4wty3bth6glsv7] INFO [discoverServers] No loopback server detected
Jun 28, 2023 11:43:43.796 [140054801812864] INFO - [Web] 05/03/2023 11:43:43:795 [null:3mgabohuuu4wty3bth6glsv7] INFO [discoverServers] Found 0 pms servers, 1 manual pms servers, 5 cloud providers
Jun 28, 2023 11:43:43.797 [140054801812864] INFO - [Web] 05/03/2023 11:43:43:796 [null:3mgabohuuu4wty3bth6glsv7] INFO AppServer discovery complete - found 1 PMS servers and 5 cloud servers
Jun 28, 2023 11:43:43.797 [140054801812864] INFO - [Web] 05/03/2023 11:43:43:797 [null:3mgabohuuu4wty3bth6glsv7] DEBUG [KnownSourcesManager] Checking for new sources…
Jun 28, 2023 11:43:43.812 [140054801812864] INFO - [Web] 05/03/2023 11:43:43:798 [null:3mgabohuuu4wty3bth6glsv7] INFO [Server] Testing connections to 192.168.1.102:32400
Jun 28, 2023 11:43:43.917 [140054801812864] INFO - [Web] 05/03/2023 11:43:43:907 [null:3mgabohuuu4wty3bth6glsv7] INFO [Server] Testing connections to Live TV
Jun 28, 2023 11:43:43.965 [140054801812864] ERROR - [Web] Access to XMLHttpRequest at ‘http://192.168.1.102:32400/identity’ from origin ‘file://’ has been blocked by CORS policy: The ‘Access-Control-Allow-Origin’ header contains the invalid value ‘app.plex.tv’.
Jun 28, 2023 11:43:43.965 [140054801812864] INFO - [Web] 05/03/2023 11:43:43:965 [null:3mgabohuuu4wty3bth6glsv7] INFO [Server] Finished testing 192.168.1.102:32400. Result: Could not get a server identifier. Status: notConnected

How do I fix this?

Canot tell from what you posted.

  1. DEBUG logging is turned off
  2. Snippets don’t provide enough info.

Please enable DEBUG logging (VERBOSE still off)
Then recreate and capture (settings - server - troubleshooting -download logs)
and attach the ZIP file.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.