Plexamp playing indirect over LAN

So I have a plexamp running on docker, a windows 11 machine running plexamp, and a SONOS device all on the same network. Everything works great locally and remotely for video playback with a number of devices.

When I go to play using plexamp on ios or the windows 11 machine to SONOS, there are huge delays between when I click and something happens. Also it only plays a single song and never advances to the next on the playlist.

I went in and changed my firewall settings to allow clients outside Canada to connect to my plex server and boom… everything works perfectly. However now it says ‘indirect’ with an exclamation on the plex dashboard for the audio session.

Why does it need external internet to play between two devices on my lan? Can I make it run as ‘remote’ like my video connections?

Plexamp logs would tell you where it’s trying to connect to. You might need to publish a custom URL in PMS to tell it where to try. But there’s no reason it wouldn’t use LAN if it could connect.

Thanks elan… looks like there is lots of good information there. Seems like it’s mostly going by local IP number which should work. I had issues streaming to the sonos player in my living room so I’m wondering if this is the error… I guess I would need to inspect the plex server logs to find what the internal server error is?

Feb 16, 2023 17:29:55.750 [0x0000120c] DEBUG - Networking: Completed request 4935: (GET https://sonos.plex.tv/player/playback/playMedia?source=8a966c595bee65d32408968cc979388c0d205d91&containerKey=%2FplayQueues%2F15516%3Fown%3D1&key=%2Flibrary%2Fmetadata%2F953851&offset=11367&paused=1&token=<token>&includeExternalMedia=1&type=music&protocol=https&address=192-168-12-148.7efaf91cbf124751be6cfb0eb35a511d.plex.direct&port=32400&machineIdentifier=8a966c595bee65d32408968cc979388c0d205d91&commandID=4234) with code 500 (have 21 bytes) in 10289 ms.
Feb 16, 2023 17:29:55.751 [Javascript] WARNING - PLAYER: Error issuing request to player Living Room: /player/playback/playMedia?source=8a966c595bee65d32408968cc979388c0d205d91&containerKey=%2FplayQueues%2F15516%3Fown%3D1&key=%2Flibrary%2Fmetadata%2F953851&offset=11367&paused=1&token=<token>&includeExternalMedia=1&type=music&protocol=https&address=192-168-12-148.7efaf91cbf124751be6cfb0eb35a511d.plex.direct&port=32400&machineIdentifier=8a966c595bee65d32408968cc979388c0d205d91&commandID=4234 HTTP status 500 {
  id: 4935,
  status: 500,
  statusText: '',
  bytesWritten: 21,
  data: 'Internal Server Error',
  headers: {
    'access-control-allow-origin': '*',
    'cache-control': 'no-store',
    'cf-cache-status': 'DYNAMIC',
    'cf-ray': '79aa691f5d18280d-SEA',
    connection: 'keep-alive',
    'content-length': '21',
    'content-type': 'text/plain; charset=utf-8',
    date: 'Fri, 17 Feb 2023 00:29:57 GMT',
    server: 'cloudflare',
    'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
    'x-frame-options': 'SAMEORIGIN'
  }
}

That error is in the plex sonos service, and I believe it needs WAN connections working. I thought you were playing directly with plexamp, so I apologize for missing that detail.

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