Plexamp headless not playing music

So I am trying to get Plexamp headless setup to replace a Chromecast audio (I need gapless playback…) and am having some issues. I have tried to run it on my workstation (Debian 10) as well as a few different raspberry pis. Every time the UI shows and I can navigate my library but when I try to play a file the player disappears and is replaced with a loading spinner. In the browser console I see a few errors, which I attached in a screen shot. Not sure if there is a log somewhere on the system. I see no errors in the terminal window on the pi. Any ideas?

on a headless/pi install, plexamp logs are at ~/.cache/Plexamp/log

AFAIK you have to open the user interface of a newly installed Plexamp headless in a web browser.
Then enter the settings and pick an audio interface.

Thanks. I do not see anything useful in here except for maybe the following. I have 3 headless installs that I have tried so they all show up in here.

Sep 02, 2022 10:52:25.836 [Javascript] INFO - DEVICE: Fast-path connection testing.
Sep 02, 2022 10:52:25.838 [Javascript] INFO - DEVICE: Finding best connection for DESKTOP BMFCGDA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Sep 02, 2022 10:52:25.842 [0xaae6a040] DEBUG - Networking: Create request 4: (GET http://192.168.1.102:32500/resources).
Sep 02, 2022 10:52:25.843 [Javascript] INFO - DEVICE: Finding best connection for Desktop-Test xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Sep 02, 2022 10:52:25.844 [0xaae6a040] DEBUG - Networking: Create request 5: (GET http://192.168.1.133:32500/resources).
Sep 02, 2022 10:52:25.845 [Javascript] INFO - DEVICE: Finding best connection for mommy xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Sep 02, 2022 10:52:25.846 [0xaae6a040] DEBUG - Networking: Create request 6: (GET http://192.168.1.116:32500/resources).
Sep 02, 2022 10:52:25.847 [Javascript] INFO - DEVICE: Finding best connection for headless xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Sep 02, 2022 10:52:25.847 [0x91b0a180] DEBUG - Networking: Completed request 6: (GET http://192.168.1.116:32500/resources) with code -7 (have 0 bytes) in 1 ms.
Sep 02, 2022 10:52:25.848 [0xaae6a040] DEBUG - Networking: Create request 7: (GET http://192.168.1.116:32500/resources).
Sep 02, 2022 10:52:25.848 [0x91b0a180] DEBUG - Networking: Completed request 5: (GET http://192.168.1.133:32500/resources) with code -7 (have 0 bytes) in 4 ms.
Sep 02, 2022 10:52:25.849 [Javascript] INFO - DEVICE: Persisting 5 devices.
Sep 02, 2022 10:52:25.850 [0x91b0a180] DEBUG - Networking: Completed request 7: (GET http://192.168.1.116:32500/resources) with code -7 (have 0 bytes) in 1 ms.
Sep 02, 2022 10:52:25.906 [Javascript] INFO - DEVICE: Initialization finished in 87ms.
Sep 02, 2022 10:52:25.907 [0xaae6a040] DEBUG - Networking: Create request 8: (GET https://plex.tv/api/v2/user/privacy.json).
Sep 02, 2022 10:52:25.911 [0xaae6a040] DEBUG - Networking: Create request 9: (GET https://plex.tv/api/v2/resources?includeHttps=1&includeRelay=1).
Sep 02, 2022 10:52:25.914 [Javascript] INFO - ACCOUNT: Refreshing data.
Sep 02, 2022 10:52:25.917 [0xaae6a040] DEBUG - Networking: Create request 10: (GET https://plex.tv/users/account.json?X-Plex-Device-Name=nearly%20headless).
Sep 02, 2022 10:52:25.946 [Javascript] WARNING - DEVICE: Player connection http://192.168.1.116:32500 didn't work for mommy: HTTP status -7
Sep 02, 2022 10:52:25.947 [Javascript] WARNING - DEVICE: Connection testing failed for mommy
Sep 02, 2022 10:52:25.948 [Javascript] WARNING - DEVICE: Player connection http://192.168.1.133:32500 didn't work for Desktop-Test: HTTP status -7
Sep 02, 2022 10:52:25.948 [Javascript] WARNING - DEVICE: Connection testing failed for Desktop-Test
Sep 02, 2022 10:52:25.948 [Javascript] WARNING - DEVICE: Player connection http://192.168.1.116:32500 didn't work for headless: HTTP status -7
Sep 02, 2022 10:52:25.948 [Javascript] WARNING - DEVICE: Connection testing failed for headless
Sep 02, 2022 10:52:25.952 [Javascript] INFO - App: Device manager, settings and cache initialized in 174ms.

I was already in the browser trying to play music via the web interface for plexamp headless. If it matters I cannot any of the headless devices in the cast list on the server or on other devices.

I meant the web interface of the plexamp on the Pi.
http://ip-of-the-pi:32500

Yes I did that. That is where the console screen shot is from in the first post. Sorry for the confusion. I can’t even see the players in the cast option on the server or any of the apps on devices. It seems they are not connecting but I am not getting much info, albeit I am not sure what I should be looking for.

Plex devs might want to see the full log file(s) posted, rather than just a segment

I was not sure what data to clean out of these logs. I was unable to find anything discussing that.

Some folks wait to DM logs to devs when requested

Thank you, I will wait to post them then.

Good call!

If you’re accessing via web browser, make sure you’ve selected the headless player in the cast dialog.

So I am attempting to use the interface on the pi, so http://pi-ip:32500. I am able to browse but when I try to listen to music the UI disappears and is replaced by an off centered spinner.

On my phone and tablet I do not see the headless device in the cast options.

I can provide full logs but am not sure what needs scrubbed.

As I said above, make sure you’ve selected the headless player in the cast dialog. Otherwise you’ll see exactly what you’re seeing.

In that case it’s possible the headless version isn’t properly claimed/signed in. Logs will show.

Does any data need scrubbed from the Plexamp logs? I see what looks like tokens and just want to be sure I am good.

You can always DM me, but they should be scrubbed.

In that case here is the log file from the pi. I can restart from the claim and upload logs from that entire process if it is needed.

Plexamp.log (1.1 MB)

There’s really nothing in that log except an idle headless player.

I am not sure if this would be helpful but here I am doing a claim on a new install and I get an error.

pi@nearly-headless:~/plexamp $ node js/index.js 
Starting Plexamp 4.3.0
Please visit https://plex.tv/claim and enter the claim token: claim-xxxxxx
Please give the player a name (e.g. Bedroom, Kitchen): foo
DEVICE: Error loading cloud players from plex.tv HTTP status 403
Plexamp is now signed in and ready!

There does not appear to be logs generated when claiming. I assume this is the actual issue.