Plex server behind http proxy - Music Media Library not scanned with "Need to be signed in" error

Server Version#: 1.30.0.6486-629d58034
Player Version#:
OS: Ubuntu Server 22.04.1

Plex server behind http proxy have a problem - Music Media Library not scanned with “Need to be signed in and connected to the Internet to refresh a plex music library.” error.

I’ve set HTTP_PROXY, HTTPS_PROXY and NO_PROXY variables with systemd, and Films and TV Shows libraries have no such a problem - rescanned, media meta data updated.

Immediately on library rescan attempt there is no network traffic initiated. But there is periodic burst of direct connections (proxy environment variables ignored) errors with EventSourceClient, once an 10 minutes:

Jan 14, 2023 18:46:33.790 [0x7ff679b05b38] DEBUG - [EventSourceClient/pubsub/pubsub.plex.tv:443] Resolving pubsub.plex.tv port 443
Jan 14, 2023 18:46:33.834 [0x7ff679b05b38] DEBUG - [EventSourceClient/pubsub/pubsub.plex.tv:443] Resolved pubsub.plex.tv to 192.46.236.7:443
Jan 14, 2023 18:46:33.835 [0x7ff679902b38] DEBUG - [EventSourceClient/pubsub/pubsub.plex.tv:443] Failure: 111 - Connection refused.
Jan 14, 2023 18:46:33.835 [0x7ff679902b38] DEBUG - [EventSourceClient/pubsub/pubsub.plex.tv:443/PubsubServerManager/getNextWorkingHost] No working hosts in region, refreshing full host list
Jan 14, 2023 18:46:33.838 [0x7ff679b05b38] DEBUG - [EventSourceClient/connectiontester/50.116.44.223:443] Failure: 111 - Connection refused.
Jan 14, 2023 18:46:33.838 [0x7ff679b05b38] DEBUG - [EventSourceClient/connectiontester/45.33.125.156:443] Failure: 111 - Connection refused.
Jan 14, 2023 18:46:33.838 [0x7ff679b05b38] DEBUG - [EventSourceClient/connectiontester/172.104.216.125:443] Failure: 111 - Connection refused.
Jan 14, 2023 18:46:33.838 [0x7ff679b05b38] DEBUG - [EventSourceClient/connectiontester/109.237.24.233:443] Failure: 111 - Connection refused.
Jan 14, 2023 18:46:33.838 [0x7ff679b05b38] DEBUG - [EventSourceClient/connectiontester/172.105.64.14:443] Failure: 111 - Connection refused.
Jan 14, 2023 18:46:33.838 [0x7ff679b05b38] DEBUG - [EventSourceClient/connectiontester/172.104.173.210:443] Failure: 111 - Connection refused.
Jan 14, 2023 18:46:33.838 [0x7ff679b05b38] DEBUG - [EventSourceClient/connectiontester/139.162.75.196:443] Failure: 111 - Connection refused.
Jan 14, 2023 18:46:33.839 [0x7ff679b05b38] DEBUG - [EventSourceClient/connectiontester/184.105.148.116:443] Failure: 111 - Connection refused.
Jan 14, 2023 18:46:33.839 [0x7ff679b05b38] DEBUG - [EventSourceClient/connectiontester/172.105.13.59:443] Failure: 111 - Connection refused.
Jan 14, 2023 18:46:33.841 [0x7ff679b05b38] DEBUG - [EventSourceClient/connectiontester/pubsub.plex.tv:443] Failure: 111 - Connection refused.
Jan 14, 2023 18:46:33.841 [0x7ff679902b38] WARN - [EventSourceClient/pubsub/pubsub.plex.tv:443/PubsubServerManager/getNextWorkingHost/process] Connection to 50.116.44.223 failed: Connection refused.
Jan 14, 2023 18:46:33.841 [0x7ff679902b38] WARN - [EventSourceClient/pubsub/pubsub.plex.tv:443/PubsubServerManager/getNextWorkingHost/process] Connection to 45.33.125.156 failed: Connection refused.
Jan 14, 2023 18:46:33.841 [0x7ff679902b38] WARN - [EventSourceClient/pubsub/pubsub.plex.tv:443/PubsubServerManager/getNextWorkingHost/process] Connection to 172.104.216.125 failed: Connection refused.
Jan 14, 2023 18:46:33.841 [0x7ff679902b38] WARN - [EventSourceClient/pubsub/pubsub.plex.tv:443/PubsubServerManager/getNextWorkingHost/process] Connection to 172.105.64.14 failed: Connection refused.
Jan 14, 2023 18:46:33.841 [0x7ff679902b38] WARN - [EventSourceClient/pubsub/pubsub.plex.tv:443/PubsubServerManager/getNextWorkingHost/process] Connection to 139.162.75.196 failed: Connection refused.
Jan 14, 2023 18:46:33.841 [0x7ff679902b38] WARN - [EventSourceClient/pubsub/pubsub.plex.tv:443/PubsubServerManager/getNextWorkingHost/process] Connection to 109.237.24.233 failed: Connection refused.
Jan 14, 2023 18:46:33.841 [0x7ff679902b38] WARN - [EventSourceClient/pubsub/pubsub.plex.tv:443/PubsubServerManager/getNextWorkingHost/process] Connection to 172.104.173.210 failed: Connection refused.
Jan 14, 2023 18:46:33.841 [0x7ff679902b38] WARN - [EventSourceClient/pubsub/pubsub.plex.tv:443/PubsubServerManager/getNextWorkingHost/process] Connection to 184.105.148.116 failed: Connection refused.
Jan 14, 2023 18:46:33.841 [0x7ff679902b38] WARN - [EventSourceClient/pubsub/pubsub.plex.tv:443/PubsubServerManager/getNextWorkingHost/process] Connection to 172.105.13.59 failed: Connection refused.
Jan 14, 2023 18:46:33.841 [0x7ff679902b38] WARN - [EventSourceClient/pubsub/pubsub.plex.tv:443/PubsubServerManager/getNextWorkingHost/process] Connection to pubsub.plex.tv failed: Connection refused.
Jan 14, 2023 18:46:33.844 [0x7ff679902b38] ERROR - [EventSourceClient/pubsub/pubsub.plex.tv:443] Retrying in 600 seconds.
...
Jan 14, 2023 18:54:50.159 [0x7ff673dc2b38] WARN - [Req#466cb] Need to be signed in and connected to the Internet to refresh a plex music library.

What should be done to fix that behavior?

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