anatosun / plexamp-docker

An unofficial Docker image for Plexamp
https://www.plex.tv/plexamp/
35 stars 5 forks source link

Setup stops at can’t find library. #6

Open HDZEE opened 8 months ago

HDZEE commented 8 months ago

Hi there. I’ve got the docker container running with the correct amd64 tag (on Ubuntu 22.04 machine) but once I go to the website to complete the initial setup this is what happens:

Help please, thanks!

Nachtschwingeswildhunt commented 6 months ago

I can second these issues, as I am running into exactly the same ones. @anatosun , would you have any suggestion what we could try?

anatosun commented 6 months ago

It seems as if the container does not have access to your library after logging in. Could you test if the container has access to internet with:

If that works that might be a DNS issue... try

Nachtschwingeswildhunt commented 6 months ago

Thank you for your swift answer, I'll do so right away. In the meantime, I have asked chatGPT to summarise the logs:

Bug Report: Various Operational Issues in Plexamp 4.10.1 on Linux

Environment

Description

Several operational issues and errors have been observed during the initialization and usage of Plexamp 4.10.1 on Linux. These issues span network request failures, permission errors, application logic errors, and potential API misconfigurations or misuse.

Observed Behavior

  1. Network Request Failures:

    • Multiple network requests failed with error codes -7 (possible connection issue) and -28 (timeout), indicating potential connectivity or configuration problems.
  2. HTTP Status 403 on Cloud Player Fetch:

    • Fetching cloud player information from sonos.plex.tv resulted in an HTTP 403 error, suggesting insufficient permissions or incorrect API usage.
  3. GPT Prompt Loading Error:

    • An error occurred while loading GPT prompts, indicating a potential issue in the application's lifecycle management or data loading logic.
  4. HTTP Status 404 for User Settings and Shared Items:

    • Requests for user settings and shared items returned a 404 Not Found status, possibly due to incorrect URLs or the requested resources not existing on the server.
  5. Player Connection Failures:

    • Failed attempts to establish connections to devices, including a SHIELD Android TV, for streaming or communication purposes.
  6. Shared Items Sync Error:

    • An attempt to sync shared items resulted in a 404 status error, indicating issues fetching or interpreting shared items data.

Expected Behavior

Steps to Reproduce

  1. Initialize Plexamp 4.10.1 on the specified Linux environment.
  2. Observe the application's log for errors and warnings during startup and operation, particularly around network requests, data fetching, and device connection attempts.

Potential Impact

These issues could affect user experience by hindering access to cloud services, causing application logic errors, and preventing successful device connections for media streaming.

Suggested Actions

Nachtschwingeswildhunt commented 6 months ago

It seems as if the container does not have access to your library after logging in. Could you test if the container has access to internet with:

* `docker exec -it <container_name> ping 8.8.8.8`

If that works that might be a DNS issue... try

* `docker exec -it <container_name> ping google.com`

I guess the problem starts earlier, as the docker does not know how to use the ping command:

docker exec -it plexamp_headless ping 8.8.8.8
OCI runtime exec failed: exec failed: unable to start container process: exec: "ping": executable file not found in $PATH: unknown
anatosun commented 6 months ago

My bad, ping is not installed in the container. Just try docker exec -it <container_name> curl google.com

anatosun commented 6 months ago

Oh and you can send the raw logs here (with personal information redacted), no need to send them to an LLM (or think of me as one)

Nachtschwingeswildhunt commented 6 months ago

Oh and you can send the raw logs here (with personal information redacted), no need to send them to an LLM (or think of me as one)

Thank you, here are the raw logs

Apr 10, 2024 10:50:31.561 [Javascript] INFO - Starting Plexamp 4.10.1 - linux 6.5.0-060500-generic
Apr 10, 2024 10:50:31.561 [Javascript] INFO - METRICS: Initializing.
Apr 10, 2024 10:50:31.561 [Javascript] INFO - USER: Refreshing users.
Apr 10, 2024 10:50:31.561 [Javascript] INFO - Autoupdate: Identifier desktop should check: false.
Apr 10, 2024 10:50:31.561 [Javascript] INFO - DEVICE: Initializing device manager.
Apr 10, 2024 10:50:31.562 [Javascript] INFO - DEVICE: Loaded 5 devices.
Apr 10, 2024 10:50:31.562 [0xe6605800] DEBUG - Networking: Create request 1: (GET https://plex.tv/api/users) network type -1.
Apr 10, 2024 10:50:31.563 [Javascript] INFO - DEVICE: Initializing manager.
Apr 10, 2024 10:50:31.563 [Javascript] INFO - DEVICE: Fetching latest provider list from cloud.
Apr 10, 2024 10:50:31.563 [Javascript] INFO - DEVICE: Fetching latest list from cloud.
Apr 10, 2024 10:50:31.563 [Javascript] INFO - DEVICE: Fetching latest cloud player list from https://sonos.plex.tv
Apr 10, 2024 10:50:31.563 [Javascript] INFO - DEVICE: Starting connection test.
Apr 10, 2024 10:50:31.564 [0xe6605800] DEBUG - Networking: Create request 2: (GET https://plex.tv/media/providers) network type -1.
Apr 10, 2024 10:50:31.564 [0xe6605800] DEBUG - Networking: Create request 3: (GET https://sonos.plex.tv/resources) network type -1.
Apr 10, 2024 10:50:31.564 [Javascript] INFO - DEVICE: Fast-path connection testing.
Apr 10, 2024 10:50:31.565 [Javascript] INFO - DEVICE: Finding best connection for SHIELD Android TV 5b936ccc1d2ca261-com-plexapp-android.
Apr 10, 2024 10:50:31.565 [0xe6605800] DEBUG - Networking: Create request 4: (GET http://192.168.188.194:32500/resources) network type -1.
Apr 10, 2024 10:50:31.565 [Javascript] INFO - DEVICE: Finding best connection for Music tv.plex.provider.music.
Apr 10, 2024 10:50:31.565 [Javascript] INFO - DEVICE: Skipping actual connection testing for Music.
Apr 10, 2024 10:50:31.565 [Javascript] INFO - DEVICE: Persisting 5 devices.
Apr 10, 2024 10:50:31.570 [Javascript] INFO - DEVICE: Initialization finished in 7ms.
Apr 10, 2024 10:50:31.571 [0xe6605800] DEBUG - Networking: Create request 5: (GET https://plex.tv/api/v2/user/privacy.json) network type -1.
Apr 10, 2024 10:50:31.571 [Javascript] INFO - DEVICE: Reading libraries and features from Music
Apr 10, 2024 10:50:31.571 [0xe6605800] DEBUG - Networking: Create request 6: (GET https://music.provider.plex.tv/) network type -1.
Apr 10, 2024 10:50:31.571 [0xe6605800] DEBUG - Networking: Create request 7: (GET https://plex.tv/api/v2/resources?includeHttps=1&includeRelay=1) network type -1.
Apr 10, 2024 10:50:31.571 [Javascript] INFO - ACCOUNT: Refreshing data.
Apr 10, 2024 10:50:31.571 [0xe6605800] DEBUG - Networking: Create request 8: (GET https://plex.tv/api/v2/user.json?includeSubscriptions=1&includeProviders=1) network type -1.
Apr 10, 2024 10:50:31.574 [Javascript] INFO - App: Device manager, settings and cache initialized in 13ms.
Apr 10, 2024 10:50:31.574 [Javascript] INFO - Sync: Loaded in 0ms.
Apr 10, 2024 10:50:31.574 [Javascript] INFO - App: Offline store initialized in 0ms.
Apr 10, 2024 10:50:31.575 [Javascript] INFO - Companion: Initializing.
Apr 10, 2024 10:50:31.575 [Javascript] INFO - Companion: Network type is -1 and enabled is true.
Apr 10, 2024 10:50:31.576 [0xe6605800] DEBUG - BASS: Starting up.
Apr 10, 2024 10:50:31.576 [0xe6605800] DEBUG - BASS: Created bass audio renderer.
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Device 1: Default - enabled default - sample rates: () - active 0/0
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Device 2: HDA Intel PCH: ALC256 Analog - enabled - sample rates: () - active 0/0
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Device 3: HDA Intel PCH: HDMI 0 - enabled - sample rates: () - active 0/0
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Device 4: HDA Intel PCH: HDMI 1 - enabled - sample rates: () - active 0/0
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Device 5: HDA Intel PCH: HDMI 2 - enabled - sample rates: () - active 0/0
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Device 6: HDA Intel PCH: HDMI 3 - enabled - sample rates: () - active 0/0
Apr 10, 2024 10:50:31.581 [0xe6605800] DEBUG - BASS: Using plugin path '/home/root/plexamp/treble/linux-x64/'.
Apr 10, 2024 10:50:31.581 [0xe6605800] DEBUG - BASS: Reloading ourselves for symbol visibility.
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Loaded AAC plug-in version 2.4.5.8
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Loaded ALAC plug-in version 2.4.0.3
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Loaded FLAC plug-in version 2.4.4.5
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Loaded OPUS plug-in version 2.4.2.1
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Loaded APE plug-in version 2.4.2.0
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Loaded MPC plug-in version 2.4.1.2
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Loaded DSD plug-in version 2.4.1.2
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Core version 2.4.17.0
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Mixer version 2.4.11.1
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: FX version 2.4.12.1
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Curl version is 8.6.0 (protocols: dict file http https; ssl: OpenSSL/3.2.1; libz: 1.2.13.1-motley; DNS: threaded).
Apr 10, 2024 10:50:31.581 [0xe6605800] INFO - BASS: Thread pool library is version v3.0.0 (2022-05-30)
Apr 10, 2024 10:50:31.581 [0xe6605800] DEBUG - Network Cost: Updated to unconstrained, cheap.
Apr 10, 2024 10:50:31.581 [Javascript] INFO - Audio: Initializing.
Apr 10, 2024 10:50:31.581 [Javascript] INFO - Audio: Binding settings.
Apr 10, 2024 10:50:31.581 [Javascript] INFO - Audio: Setting player info.
Apr 10, 2024 10:50:31.582 [0xbde21700] DEBUG - BASS: Setting audio interface:  -> .
Apr 10, 2024 10:50:31.583 [Javascript] INFO - PlayQueue: Initializing volume to 100.
Apr 10, 2024 10:50:31.583 [Javascript] INFO - PlayQueue: Saving state {"state":"stopped","volume":100}
Apr 10, 2024 10:50:31.587 [Javascript] INFO - App: Player initialized in 6ms.
Apr 10, 2024 10:50:31.587 [Javascript] INFO - App: Waiting for rest of stores to initialize.
Apr 10, 2024 10:50:31.588 [Javascript] INFO - Companion: Device token changed: true
Apr 10, 2024 10:50:31.588 [Javascript] INFO - Companion: Network type is -1 and enabled is true.
Apr 10, 2024 10:50:31.588 [Javascript] INFO - Server Activity: Connecting based on switch.
Apr 10, 2024 10:50:31.588 [Javascript] INFO - Server Activity: Running first-time connection test for HOSTNAME.
Apr 10, 2024 10:50:31.588 [Javascript] INFO - DEVICE: Finding best connection for HOSTNAME a8c98884964a0a599a5b7943d7c500143108321e.
Apr 10, 2024 10:50:31.588 [0xe6605800] DEBUG - Networking: Create request 9: (GET https://192-168-188-133.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) network type -1.
Apr 10, 2024 10:50:31.588 [0xe6605800] DEBUG - Networking: Create request 10: (GET https://172-17-0-17.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) network type -1.
Apr 10, 2024 10:50:31.588 [0xe6605800] DEBUG - Networking: Create request 11: (GET https://cine.domain.tld:443/) network type -1.
Apr 10, 2024 10:50:31.588 [0xe6605800] DEBUG - Networking: Create request 12: (GET https://100-0-0-18.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) network type -1.
Apr 10, 2024 10:50:31.589 [Javascript] INFO - Player: Initializing with state {"state":"stopped","volume":100}
Apr 10, 2024 10:50:31.589 [Javascript] INFO - Player: Sending state changed [A]  -  (0/0) in state stopped with artwork false.
Apr 10, 2024 10:50:31.590 [Javascript] INFO - App: Stopping activity recognition.
Apr 10, 2024 10:50:31.590 [Javascript] INFO - Network changed: type is ethernet -> WIFI (100.0.0.146)
Apr 10, 2024 10:50:31.590 [Javascript] INFO - Companion: Network type is 2 and enabled is true.
Apr 10, 2024 10:50:31.590 [Javascript] INFO - PubSub: Network type is 2.
Apr 10, 2024 10:50:31.590 [Javascript] INFO - PubSub: Attempting to connect to pubsub, started false connected false
Apr 10, 2024 10:50:31.590 [Javascript] INFO - EventSource: Connecting to https://pubsub.plex.tv/sub/eventsource/61060169/5b9604ae-6fe6-48a0-be6f-dfeed2abfe74?X-Plex-Token=<token>
Apr 10, 2024 10:50:31.590 [0xe6605800] DEBUG - Networking: Create request 13: (GET https://pubsub.plex.tv/sub/eventsource/61060169/5b9604ae-6fe6-48a0-be6f-dfeed2abfe74?X-Plex-Token=<token>) network type -1.
Apr 10, 2024 10:50:31.590 [0xe6605800] INFO - BASS: Network switched to 2.
Apr 10, 2024 10:50:31.590 [Javascript] INFO - App: Network is connected, but type changed to 2, so doing preemptive connection testing on selected server.
Apr 10, 2024 10:50:31.590 [Javascript] INFO - DEVICE: Finding best connection for HOSTNAME a8c98884964a0a599a5b7943d7c500143108321e.
Apr 10, 2024 10:50:31.590 [0xe6605800] DEBUG - Networking: Create request 14: (GET https://192-168-188-133.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) network type 2.
Apr 10, 2024 10:50:31.590 [0xe6605800] DEBUG - Networking: Create request 15: (GET https://172-17-0-17.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) network type 2.
Apr 10, 2024 10:50:31.590 [0xe6605800] DEBUG - Networking: Create request 16: (GET https://cine.domain.tld:443/) network type 2.
Apr 10, 2024 10:50:31.590 [0xe6605800] DEBUG - Networking: Create request 17: (GET https://100-0-0-18.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) network type 2.
Apr 10, 2024 10:50:31.590 [Javascript] INFO - Player: Restoring player route of local with network state 2.
Apr 10, 2024 10:50:31.594 [Javascript] INFO - DeeJay: Initializing.
Apr 10, 2024 10:50:31.595 [Javascript] INFO - Player: Sending state changed [A]  -  (0/0) in state stopped with artwork false.
Apr 10, 2024 10:50:31.595 [Javascript] INFO - Companion: Attempting to start HTTP Server on port 32500.
Apr 10, 2024 10:50:31.595 [0xa5bf9700] DEBUG - HTTP: Serving on port 32500.
Apr 10, 2024 10:50:31.595 [Javascript] INFO - PlayQueue: Saving state {"volume":100}
Apr 10, 2024 10:50:31.600 [Javascript] INFO - Player: Sending state changed [A]  -  (0/0) in state stopped with artwork false.
Apr 10, 2024 10:50:31.638 [Javascript] INFO - Companion: Advertising for GDM.
Apr 10, 2024 10:50:31.638 [Javascript] INFO - Cloud: [SharedItems] Error loading from storage. "undefined" is not valid JSON
Apr 10, 2024 10:50:31.638 [Javascript] INFO - Cloud: [SharedItems] Syncing.
Apr 10, 2024 10:50:31.639 [0xe6605800] DEBUG - Networking: Create request 18: (GET https://plex.tv/api/v2/user/settings?uuid=0e06fac15dd65130&key=SharedItems&cacheBuster=1712746231639) network type 2.
Apr 10, 2024 10:50:31.639 [Javascript] INFO - Discovery: Are we offline? 0 hubs, network is 2 => offline: true.
Apr 10, 2024 10:50:31.639 [Javascript] INFO - Companion: Listening for GDM messages.
Apr 10, 2024 10:50:31.640 [Javascript] INFO - Companion: Registering device 'docker' at 100.0.0.146:32500.
Apr 10, 2024 10:50:31.640 [0xe6605800] DEBUG - Networking: Create request 19: (PUT https://plex.tv/devices/5b9604ae-6fe6-48a0-be6f-dfeed2abfe74?Connection[][uri]=http://100.0.0.146:32500&X-Plex-Device-Name=docker) network type 2.
Apr 10, 2024 10:50:31.640 [Javascript] INFO - Cloud: [RecentPlays] Error loading from storage. "undefined" is not valid JSON
Apr 10, 2024 10:50:31.640 [Javascript] INFO - Cloud: [RecentPlays] Syncing.
Apr 10, 2024 10:50:31.641 [0xe6605800] DEBUG - Networking: Create request 20: (GET https://plex.tv/api/v2/user/settings?uuid=0e06fac15dd65130&key=RecentPlays&cacheBuster=1712746231640) network type 2.
Apr 10, 2024 10:50:31.641 [Javascript] INFO - ViewState: Error loading from storage. "undefined" is not valid JSON
Apr 10, 2024 10:50:31.641 [Javascript] INFO - App: Stores initialized in 54ms.
Apr 10, 2024 10:50:31.641 [Javascript] INFO - App: Stores all initialized.
Apr 10, 2024 10:50:31.641 [Javascript] INFO - Car: Going offline for loss of network.
Apr 10, 2024 10:50:31.642 [Javascript] INFO - Discovery: Are we offline? 23 hubs, network is 2 => offline: false.
Apr 10, 2024 10:50:31.642 [Javascript] INFO - Car: We have network now, and home screen loaded.
Apr 10, 2024 10:50:31.642 [Javascript] INFO - Discovery: Refresh based on server/library switch a8c98884964a0a599a5b7943d7c500143108321e /library/sections/3.
Apr 10, 2024 10:50:31.642 [Javascript] INFO - Discovery: Fetching hubs for library /library/sections/3 server a8c98884964a0a599a5b7943d7c500143108321e refreshing from cloud false.
Apr 10, 2024 10:50:31.643 [0xe6605800] DEBUG - Networking: Create request 21: (GET https://cine.domain.tld:443/hubs/sections/3?count=6&includeExternalMetadata=1&includeMyMixes=1&includeAnniversaryReleases=1&excludeElements=Similar,Mood&includeLibraryPlaylists=1&includeStations=1&includeStationDirectories=1&exclude>
Apr 10, 2024 10:50:31.685 [0xbce1f700] DEBUG - Networking: Completed request 6: (GET https://music.provider.plex.tv/) with code 200 (have 1582 bytes) in 113 ms.
Apr 10, 2024 10:50:31.685 [Javascript] INFO - DEVICE: Found 1 libraries from Music: Music
Apr 10, 2024 10:50:31.696 [0xbce1f700] DEBUG - Networking: Completed request 16: (GET https://cine.domain.tld:443/) with code 200 (have 8297 bytes) in 105 ms.
Apr 10, 2024 10:50:31.696 [0xbce1f700] DEBUG - Networking: Completed request 11: (GET https://cine.domain.tld:443/) with code 200 (have 8297 bytes) in 107 ms.
Apr 10, 2024 10:50:31.696 [Javascript] INFO - DEVICE: Server connection worked for HOSTNAME ~ https://cine.domain.tld:443
Apr 10, 2024 10:50:31.696 [Javascript] INFO - DEVICE: Reading libraries and features from HOSTNAME
Apr 10, 2024 10:50:31.696 [0xe6605800] DEBUG - Networking: Create request 22: (GET https://cine.domain.tld:443/media/providers?includePreferences=1) network type 2.
Apr 10, 2024 10:50:31.696 [Javascript] INFO - DEVICE: Server connection worked for HOSTNAME ~ https://cine.domain.tld:443
Apr 10, 2024 10:50:31.696 [Javascript] INFO - DEVICE: Reading libraries and features from HOSTNAME
Apr 10, 2024 10:50:31.696 [0xe6605800] DEBUG - Networking: Create request 23: (GET https://cine.domain.tld:443/media/providers?includePreferences=1) network type 2.
Apr 10, 2024 10:50:31.732 [0xbce1f700] DEBUG - Networking: Completed request 21: (GET https://cine.domain.tld:443/hubs/sections/3?count=6&includeExternalMetadata=1&includeMyMixes=1&includeAnniversaryReleases=1&excludeElements=Similar,Mood&includeLibraryPlaylists=1&includeStations=1&includeStationDirectories=1&excl>
Apr 10, 2024 10:50:31.732 [0xbce1f700] DEBUG - Networking: Completed request 23: (GET https://cine.domain.tld:443/media/providers?includePreferences=1) with code 200 (have 30702 bytes) in 35 ms.
Apr 10, 2024 10:50:31.736 [Javascript] INFO - Discovery: Setting 24 hubs from HOSTNAME.
Apr 10, 2024 10:50:31.736 [Javascript] INFO - Discovery: Are we offline? 23 hubs, network is 2 => offline: false.
Apr 10, 2024 10:50:31.737 [0xbce1f700] DEBUG - Networking: Completed request 22: (GET https://cine.domain.tld:443/media/providers?includePreferences=1) with code 200 (have 30702 bytes) in 40 ms.
Apr 10, 2024 10:50:31.742 [Javascript] INFO - DEVICE: Found 5 libraries from HOSTNAME: Home, Movies, TV Shows, Music, Playlists
Apr 10, 2024 10:50:31.743 [Javascript] INFO - Server Activity: Trying to connect to a8c98884964a0a599a5b7943d7c500143108321e.
Apr 10, 2024 10:50:31.743 [Javascript] INFO - EventSource: Connecting to https://cine.domain.tld:443/:/eventsource/notifications?filters=timeline&X-Plex-Token=<token>
Apr 10, 2024 10:50:31.743 [0xe6605800] DEBUG - Networking: Create request 24: (GET https://cine.domain.tld:443/:/eventsource/notifications?filters=timeline&X-Plex-Token=<token>) network type 2.
Apr 10, 2024 10:50:31.743 [Javascript] INFO - DEVICE: Found 5 libraries from HOSTNAME: Home, Movies, TV Shows, Music, Playlists
Apr 10, 2024 10:50:31.744 [0xbce1f700] DEBUG - Networking: Completed request 5: (GET https://plex.tv/api/v2/user/privacy.json) with code 200 (have 6913 bytes) in 172 ms.
Apr 10, 2024 10:50:31.744 [Javascript] INFO - METRICS: Saving latest cloud settings for metrics.
Apr 10, 2024 10:50:31.744 [Javascript] INFO - METRICS: Error loading from storage. "undefined" is not valid JSON
Apr 10, 2024 10:50:31.744 [Javascript] INFO - METRICS: Loaded 0 events from storage
Apr 10, 2024 10:50:31.749 [0xbce1f700] DEBUG - Networking: Completed request 2: (GET https://plex.tv/media/providers) with code 200 (have 217 bytes) in 184 ms.
Apr 10, 2024 10:50:31.790 [0xbce1f700] DEBUG - Networking: Completed request 1: (GET https://plex.tv/api/users) with code 200 (have 3214 bytes) in 227 ms.
Apr 10, 2024 10:50:31.790 [0xbce1f700] DEBUG - Networking: Completed request 7: (GET https://plex.tv/api/v2/resources?includeHttps=1&includeRelay=1) with code 200 (have 3876 bytes) in 219 ms.
Apr 10, 2024 10:50:31.805 [Javascript] INFO - USER: Loaded 5 users
Apr 10, 2024 10:50:31.806 [Javascript] INFO - DEVICE: Fetched 4 devices from the cloud.
Apr 10, 2024 10:50:31.816 [0xbce1f700] DEBUG - Networking: Completed request 19: (PUT https://plex.tv/devices/5b9604ae-6fe6-48a0-be6f-dfeed2abfe74?Connection[][uri]=http://100.0.0.146:32500&X-Plex-Device-Name=docker) with code 200 (have 489 bytes) in 176 ms.
Apr 10, 2024 10:50:31.817 [Javascript] INFO - Companion: Started HTTP Server on port 32500 and registered.
Apr 10, 2024 10:50:31.822 [0xbce1f700] DEBUG - Networking: Completed request 18: (GET https://plex.tv/api/v2/user/settings?uuid=0e06fac15dd65130&key=SharedItems&cacheBuster=1712746231639) with code 404 (have 105 bytes) in 183 ms.
Apr 10, 2024 10:50:31.823 [Javascript] INFO - Cloud: [SharedItems] Error getting data: HTTP status 404
Apr 10, 2024 10:50:31.823 [Javascript] INFO - Cloud: [SharedItems] Received data, performing sync.
Apr 10, 2024 10:50:31.824 [Javascript] INFO - Cloud: [SharedItems] Syncing complete with added: 0 deleted: 0 and dirty: 0.
Apr 10, 2024 10:50:31.825 [0xbce1f700] DEBUG - Networking: Completed request 20: (GET https://plex.tv/api/v2/user/settings?uuid=0e06fac15dd65130&key=RecentPlays&cacheBuster=1712746231640) with code 200 (have 8978 bytes) in 183 ms.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] Received data, performing sync.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.826 [Javascript] INFO - Cloud: [RecentPlays] New remote item.
Apr 10, 2024 10:50:31.828 [Javascript] INFO - Discovery: There was a change to Recent Plays.
Apr 10, 2024 10:50:31.829 [Javascript] INFO - Discovery: Are we offline? 23 hubs, network is 2 => offline: false.
Apr 10, 2024 10:50:31.829 [Javascript] INFO - Cloud: [RecentPlays] Syncing complete with added: 20 deleted: 0 and dirty: 0.
Apr 10, 2024 10:50:31.845 [Javascript] INFO - DEVICE: Finding best connection for docker 5b9604ae-6fe6-48a0-be6f-dfeed2abfe74.
Apr 10, 2024 10:50:31.845 [0xe6605800] DEBUG - Networking: Create request 25: (GET http://100.0.0.146:32500/resources) network type 2.
Apr 10, 2024 10:50:31.845 [Javascript] INFO - DEVICE: Finding best connection for SHIELD Android TV 5b936ccc1d2ca261-com-plexapp-android.
Apr 10, 2024 10:50:31.845 [0xe6605800] DEBUG - Networking: Create request 26: (GET http://192.168.188.194:32500/resources) network type 2.
Apr 10, 2024 10:50:31.846 [Javascript] INFO - HttpServer: [100.0.0.146] GET /resources
Apr 10, 2024 10:50:31.849 [0xbce1f700] DEBUG - Networking: Completed request 25: (GET http://100.0.0.146:32500/resources) with code 200 (have 344 bytes) in 4 ms.
Apr 10, 2024 10:50:31.850 [Javascript] INFO - DEVICE: Player connection worked for docker ~ http://100.0.0.146:32500
Apr 10, 2024 10:50:31.863 [0xbce1f700] DEBUG - Networking: Completed request 8: (GET https://plex.tv/api/v2/user.json?includeSubscriptions=1&includeProviders=1) with code 200 (have 8197 bytes) in 291 ms.
Apr 10, 2024 10:50:31.925 [0xe6605800] DEBUG - Networking: Create request 27: (GET https://plex.tv/api/home/users) network type 2.
Apr 10, 2024 10:50:31.961 [0xbce1f700] DEBUG - Networking: Completed request 3: (GET https://sonos.plex.tv/resources) with code 403 (have 9 bytes) in 396 ms.
Apr 10, 2024 10:50:31.962 [Javascript] WARNING - DEVICE: Error loading cloud players from plex.tv HTTP status 403
Apr 10, 2024 10:50:31.991 [0xbce1f700] DEBUG - Networking: Completed request 27: (GET https://plex.tv/api/home/users) with code 200 (have 773 bytes) in 65 ms.
Apr 10, 2024 10:50:32.065 [Javascript] INFO - DEVICE: Finding best connection for HOSTNAME a8c98884964a0a599a5b7943d7c500143108321e.
Apr 10, 2024 10:50:32.065 [0xe6605800] DEBUG - Networking: Create request 28: (GET https://192-168-188-133.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) network type 2.
Apr 10, 2024 10:50:32.066 [0xe6605800] DEBUG - Networking: Create request 29: (GET https://172-17-0-17.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) network type 2.
Apr 10, 2024 10:50:32.066 [0xe6605800] DEBUG - Networking: Create request 30: (GET https://cine.domain.tld:443/) network type 2.
Apr 10, 2024 10:50:32.066 [0xe6605800] DEBUG - Networking: Create request 31: (GET https://100-0-0-18.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) network type 2.
Apr 10, 2024 10:50:32.072 [0xbce1f700] DEBUG - Networking: Completed request 30: (GET https://cine.domain.tld:443/) with code 200 (have 8297 bytes) in 6 ms.
Apr 10, 2024 10:50:32.072 [Javascript] INFO - DEVICE: Server connection worked for HOSTNAME ~ https://cine.domain.tld:443
Apr 10, 2024 10:50:32.072 [Javascript] INFO - DEVICE: Reading libraries and features from HOSTNAME
Apr 10, 2024 10:50:32.073 [0xe6605800] DEBUG - Networking: Create request 32: (GET https://cine.domain.tld:443/media/providers?includePreferences=1) network type 2.
Apr 10, 2024 10:50:32.110 [0xbce1f700] DEBUG - Networking: Completed request 32: (GET https://cine.domain.tld:443/media/providers?includePreferences=1) with code 200 (have 30702 bytes) in 37 ms.
Apr 10, 2024 10:50:32.110 [Javascript] INFO - DEVICE: Found 5 libraries from HOSTNAME: Home, Movies, TV Shows, Music, Playlists
Apr 10, 2024 10:50:32.582 [0xa63fa700] DEBUG - PQCache: Ignoring refresh as a newer one came in.
Apr 10, 2024 10:50:36.195 [Javascript] INFO - HttpServer: [100.0.0.145] GET /
Apr 10, 2024 10:50:36.268 [Javascript] INFO - HttpServer: [100.0.0.145] GET /index.js
Apr 10, 2024 10:50:36.591 [Javascript] INFO - GPT: Error loading prompts Tried to access storage on the server. Did you forget to call this in useEffect?
Apr 10, 2024 10:50:36.848 [0xbce1f700] DEBUG - Networking: Completed request 26: (GET http://192.168.188.194:32500/resources) with code -28 (have 0 bytes) in 5002 ms.
Apr 10, 2024 10:50:36.849 [Javascript] WARNING - DEVICE: Player connection http://192.168.188.194:32500 didn't work for SHIELD Android TV: HTTP status -28
Apr 10, 2024 10:50:36.849 [Javascript] WARNING - DEVICE: Connection testing failed for SHIELD Android TV
Apr 10, 2024 10:50:40.107 [Javascript] INFO - HttpServer: [100.0.0.145] GET /settings
Apr 10, 2024 10:50:41.640 [Javascript] INFO - Sharing: Refreshing shared items.
Apr 10, 2024 10:50:41.641 [0xe6605800] DEBUG - Networking: Create request 33: (GET https://plex.tv/api/v2/shared_sources/received) network type 2.
Apr 10, 2024 10:50:41.696 [0xbce1f700] DEBUG - Networking: Completed request 33: (GET https://plex.tv/api/v2/shared_sources/received) with code 200 (have 2 bytes) in 55 ms.
Apr 10, 2024 10:50:41.697 [Javascript] INFO - Sharing: Found 0 shared items: []
Apr 10, 2024 10:50:41.697 [Javascript] INFO - Sharing: Downloaded 0 items: [)}]
Apr 10, 2024 10:50:41.697 [Javascript] INFO - Sharing: New items [] deleted items [].
Apr 10, 2024 10:50:41.697 [Javascript] INFO - Cloud: [SharedItems] Syncing.
Apr 10, 2024 10:50:41.697 [0xe6605800] DEBUG - Networking: Create request 34: (GET https://plex.tv/api/v2/user/settings?uuid=0e06fac15dd65130&key=SharedItems&cacheBuster=1712746241697) network type 2.
Apr 10, 2024 10:50:41.697 [Javascript] INFO - Sharing: Refreshed 0, new: 0 del: 0
Apr 10, 2024 10:50:41.765 [0xbce1f700] DEBUG - Networking: Completed request 34: (GET https://plex.tv/api/v2/user/settings?uuid=0e06fac15dd65130&key=SharedItems&cacheBuster=1712746241697) with code 404 (have 105 bytes) in 67 ms.
Apr 10, 2024 10:50:41.765 [Javascript] INFO - Cloud: [SharedItems] Error getting data: HTTP status 404
Apr 10, 2024 10:50:41.766 [Javascript] INFO - Cloud: [SharedItems] Received data, performing sync.
Apr 10, 2024 10:50:41.766 [Javascript] INFO - Cloud: [SharedItems] Syncing complete with added: 0 deleted: 0 and dirty: 0.
Apr 10, 2024 10:50:46.556 [Javascript] INFO - DEVICE: Persisting devices because HOSTNAME was dirty.
Apr 10, 2024 10:50:46.556 [Javascript] INFO - DEVICE: Persisting 5 devices.
Apr 10, 2024 10:50:46.566 [0xbce1f700] DEBUG - Networking: Completed request 4: (GET http://192.168.188.194:32500/resources) with code -28 (have 0 bytes) in 15001 ms.
Apr 10, 2024 10:50:46.567 [Javascript] WARNING - DEVICE: Player connection http://192.168.188.194:32500 didn't work for SHIELD Android TV: HTTP status -28
Apr 10, 2024 10:50:46.567 [Javascript] WARNING - DEVICE: Connection testing failed for SHIELD Android TV
Apr 10, 2024 10:50:46.574 [Javascript] INFO - Sync: Refreshing and completing items.
Apr 10, 2024 10:50:46.600 [0xbce1f700] DEBUG - Networking: Completed request 9: (GET https://192-168-188-133.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) with code -28 (have 0 bytes) in 15011 ms.
Apr 10, 2024 10:50:46.600 [0xbce1f700] DEBUG - Networking: Completed request 10: (GET https://172-17-0-17.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) with code -28 (have 0 bytes) in 15011 ms.
Apr 10, 2024 10:50:46.600 [0xbce1f700] DEBUG - Networking: Completed request 12: (GET https://100-0-0-18.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) with code -28 (have 0 bytes) in 15011 ms.
Apr 10, 2024 10:50:46.600 [Javascript] WARNING - DEVICE: Server connection https://192-168-188-133.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
Apr 10, 2024 10:50:46.600 [Javascript] WARNING - DEVICE: Server connection https://172-17-0-17.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
Apr 10, 2024 10:50:46.600 [Javascript] WARNING - DEVICE: Server connection https://100-0-0-18.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
Apr 10, 2024 10:50:46.634 [0xbce1f700] DEBUG - Networking: Completed request 14: (GET https://192-168-188-133.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) with code -28 (have 0 bytes) in 15043 ms.
Apr 10, 2024 10:50:46.634 [0xbce1f700] DEBUG - Networking: Completed request 15: (GET https://172-17-0-17.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) with code -28 (have 0 bytes) in 15043 ms.
Apr 10, 2024 10:50:46.634 [0xbce1f700] DEBUG - Networking: Completed request 17: (GET https://100-0-0-18.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) with code -28 (have 0 bytes) in 15043 ms.
Apr 10, 2024 10:50:46.634 [Javascript] WARNING - DEVICE: Server connection https://192-168-188-133.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
Apr 10, 2024 10:50:46.634 [Javascript] WARNING - DEVICE: Server connection https://172-17-0-17.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
Apr 10, 2024 10:50:46.635 [Javascript] WARNING - DEVICE: Server connection https://100-0-0-18.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
Apr 10, 2024 10:50:47.068 [0xbce1f700] DEBUG - Networking: Completed request 28: (GET https://192-168-188-133.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) with code -28 (have 0 bytes) in 15001 ms.
Apr 10, 2024 10:50:47.068 [0xbce1f700] DEBUG - Networking: Completed request 29: (GET https://172-17-0-17.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) with code -28 (have 0 bytes) in 15001 ms.
Apr 10, 2024 10:50:47.068 [0xbce1f700] DEBUG - Networking: Completed request 31: (GET https://100-0-0-18.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400/) with code -28 (have 0 bytes) in 15001 ms.
Apr 10, 2024 10:50:47.068 [Javascript] WARNING - DEVICE: Server connection https://192-168-188-133.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
Apr 10, 2024 10:50:47.068 [Javascript] WARNING - DEVICE: Server connection https://172-17-0-17.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
Apr 10, 2024 10:50:47.069 [Javascript] WARNING - DEVICE: Server connection https://100-0-0-18.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
Apr 10, 2024 10:50:49.399 [Javascript] INFO - HttpServer: [100.0.0.145] GET /
Apr 10, 2024 10:50:49.731 [Javascript] INFO - HttpServer: [100.0.0.145] GET /index.js
Apr 10, 2024 10:50:51.763 [Javascript] INFO - HttpServer: [100.0.0.145] GET /favicon.ico
Apr 10, 2024 10:50:53.031 [Javascript] INFO - HttpServer: [100.0.0.145] GET /settings
Apr 10, 2024 10:51:01.557 [Javascript] INFO - DEVICE: Persisting devices because SHIELD Android TV was dirty.
Apr 10, 2024 10:51:01.557 [Javascript] INFO - DEVICE: Persisting 5 devices.
Apr 10, 2024 10:51:01.576 [Javascript] INFO - Sync: Error cleaning up: ENOENT: no such file or directory, scandir '/root/.local/share/Plexamp/Offline'.
Apr 10, 2024 10:51:15.698 [Javascript] INFO - HttpServer: [100.0.0.145] GET /
Apr 10, 2024 10:51:15.765 [Javascript] INFO - HttpServer: [100.0.0.145] GET /index.js
Apr 10, 2024 10:51:17.721 [Javascript] INFO - HttpServer: [100.0.0.145] GET /favicon.ico
Apr 10, 2024 10:51:19.260 [Javascript] INFO - HttpServer: [100.0.0.145] GET /settings
Nachtschwingeswildhunt commented 6 months ago

My bad, ping is not installed in the container. Just try docker exec -it <container_name> curl google.com

docker exec -it plexamp_headless curl google.com
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE></HEAD><BODY>
<H1>301 Moved</H1>
The document has moved
<A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
anatosun commented 6 months ago

It seems that the network is working as expected. I'm not really sure what the problem is, to be honest…

Nachtschwingeswildhunt commented 6 months ago

Not even with these?

Apr 10, 2024 10:50:31.822 [0xbce1f700] DEBUG - Networking: Completed request 18: (GET https://plex.tv/api/v2/user/settings?uuid=0e06fac15dd65130&key=SharedItems&cacheBuster=1712746231639) with code 404 (have 105 bytes) in 183 ms.
Apr 10, 2024 10:50:31.823 [Javascript] INFO - Cloud: [SharedItems] Error getting data: HTTP status 404
Apr 10, 2024 10:50:31.962 [Javascript] WARNING - DEVICE: Error loading cloud players from plex.tv HTTP status 403
Apr 10, 2024 10:50:47.068 [Javascript] WARNING - DEVICE: Server connection https://192-168-188-133.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
Apr 10, 2024 10:50:47.068 [Javascript] WARNING - DEVICE: Server connection https://172-17-0-17.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
Apr 10, 2024 10:50:47.069 [Javascript] WARNING - DEVICE: Server connection https://100-0-0-18.99424d89895c47fdacd3f0f06fa3a6f2.plex.direct:32400 didn't work for HOSTNAME: HTTP status -28
anatosun commented 6 months ago

I have the feeling that the issue stems from your Plexamp setup rather than from the image itself. Have you tried running Plexamp natively?