Sonos.plex.tv : Internal Server Error

Server Version#: 1.27.0.5897 ARM v8
Player Version#: 1.27.0.5897 ARM v8

Hello,

When trying to link Sonos account to plex by following official tutorial: Control Sonos Playback With a Plex App | Plex Support

I get an internal server error after clicking on “Sonos, link you account to use this player”:

Capture d’écran 2022-06-16 à 22.44.02

URL is

https://sonos.plex.tv/link?X-Plex-Token=token&next=http%3A%2F%2Flocalhost%3A8888%2Fweb%2Findex.html%23%21%2F

Capture d’écran 2022-06-16 à 22.48.53

I’m not experienced to troubleshoot Plex. Could someone help me please?

Thanks, Frédéric

Hello, how can I get support from plex ? How does this forum work ?

Thanks for your help!

I just tested on my own account and had no issues going through the process to link my Sonos account to Plex. From the data you shared, it looks like you’re using the hosted/bundled version of the web app. Have you instead tried using the hosted version (https://app.plex.tv/desktop) of the web app to do the linking?

Hi Chris, thanks for your support.

Same error from app.plex.tv/desktop

https://sonos.plex.tv/link?X-Plex-Token=----------------------&next=https%3A%2F%2Fapp.plex.tv%2Fdesktop%2F%23!%2F

Plex app is installed on a Odroid HC4/Debian 11 system
Latest version: 1.27.0.5897

Thanks for your strong support!

[moderator edit: screenshot and URL contained access token. Don’t post access tokens! You might as well post your plex username and the password publicly.]

The team did some restarting/something of the Sonos-related services, so can you please try again?

If you see the same error, please let us know which particular Plex app you’re using when you experience this (i.e. is it the same Plex account you’re posting from here?).

Hello Chris

Just tried again, same “Internal server error” :

https://sonos.plex.tv/link?X-Plex-Token=XXXXXXXXXX&next=https%3A%2F%2Fapp.plex.tv%2Fdesktop%2F%23!%2F

Yes: I’m connected with the same email address as the one used in this forum: f****o@gmail.com

I’ve installed Plex on an Odroid HC4 (armV8). Unsure it comes from here, because yesterday, I downloaded a fresh Plex server on a macbook and tried to connect from it to Sonos. Sadly same Internal Server Error.

I don’t know what to try on my side. Can you help me?

Thanks for your strong support !


MOD-EDIT: Removed Plex Token.

Hello @ChrisD

Do you have any good news to share please ? :slight_smile:

Thanks for your feedback !

No knew info to report, I’m afraid. There’s been a little investigation, but our expert Sonos staff are all currently very busy and committed to some other work/projects. It’s likely to be a while before there’s much availability to dig deep here, I’m afraid.

That said, I do have a couple of other suggestions to try:

  1. Instead of trying to link to your Sonos account through the app, please try doing so through your account “Other Services” page directly.
  2. Rather than trying to perform the link while on your home network/WiFi, instead try doing so from your cell phone or tablet when on a 5G/4G/mobile connection. That way, you’re on a completely different network (in case it’s something odd on your local network interfering with things).

Dear @chrisc

Thanks for taking the time to help me.

I’ve tried from my iphone/safari/4G. still the same: internal server error.
Shall we state that the issue is not related to my home network?

Thanks for your awesome support !


Dear @chrisc

Is this sonos integration available only for plex pass users?
If not, would it be interesting for troubleshooting if I would create a new fresh plex account and starts from here?

We should better understand if the issue comes from a particularity of my plex account or not

Thanks for your help, all the best

Basic integration with Sonos is free for all users, when controlling playback through the Sonos app itself. But using a Plex app (e.g. mobile Android or iOS) to control Sonos does require an active Plex Pass.

So, you could certainly test on a free Plex account through the regular Sonos app itself. (Though, really, the first test is simply seeing if you can successfully link the Sonos account on the free/second account’s https://plex.tv/users/other-services page.)

1 Like

Great news @chrisc !

I’ve just tried with a fresh account and I can link my plex account to sonos account !

Something is wrong on my personal “plex pass” account.

Two options?

  • Is it possible to transfer my “plex pass” to the new account?
  • Is it possible to “reboot” everything related to my account on your Sonos gateway?

Thanks !

1 Like

Dear @chrisc

I tried again today and failed on same internal error. It seems we’re close to resolve the issue: can you please transfer my plex pass to a fresh new account I have created ?
And I will rebuild everything from here, but with Sonos integration :slight_smile:

Thanks for your awesome support !

Attn: @chrisc

I have the identical problem as the original poster. Lifetime Plex Pass subscriber since 2018, Sonos user for multiple years, but this is the first time I’m trying to get the two to work together.

When I visit Sign In | Plex and try “Link your Sonos account”, I also see an “Internal Server Error”. I get the same result if I try to click the equivalent “Link your Sonos account” link in the players menu of the Plex web client. This is the Plex account associated with my forum account.

Like the poster above, I presume there’s something with my Plex account specifically that Plex needs to correct. I’ll list a few things I’ve already tried for troubleshooting:

  • Tried removing all Sonos-related Authorized Devices in Plex
  • Tried logging out/back in to my Plex account and retrying the Sonos account link from multiple browsers and through both the plex.tv “Other Services” page and app.plex.tv web app
  • Tried repeating this process over several days to see if it was just a temporary error (same result)

Using the Sonos account linking feature doesn’t rely on a specific Plex Media Server, so I’m not including those details. Because it’s an error message from Plex’s server, it’s also not something I can pursue with Sonos.

In addition to the report here, another user reported the same problem in September 2020 (Plex and Sonos - "unable to browse music"). That poster said the error appeared to “fix itself” a few days later, though it’s possible Plex support intervened and changed something.

Please take a closer look at the error Plex’s server is returning and advise. I’d also like to echo the previous poster’s question: If Plex can’t troubleshoot the server/account issue, can you transfer my Plex Pass to a new Plex account to work around it? Many thanks.

Our team was investigating this area of things again and appear to have found some old, stale info related to Sonos cached with your account. (I don’t pretend to know all the technical details here, so I don’t really have details to give.) They cleared that info out, so please go ahead and try linking to Sonos again from your Plex account.

1 Like

Thank you for the quick assist, @chrisc!

After the fix on Plex’s end, I was able to link my Sonos account immediately. I can now see my Sonos speakers in the players list in the Plex mobile app.

It turns out this Plex account issue was also preventing me from using the Sonos app to access Plex. Earlier, I could add Plex as a music source in Sonos (successfully doing the authorization step in that case), but would immediately see the unhelpful error “Unable to browse music library” in the Sonos app when choosing Plex as a source. Being able to link my Plex account to my Sonos account in the Plex “Other Services” settings corrected that issue immediately.

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