Spotify Connect Error

Hello all,

I’m having a problem with the Spotify Connect feature.
First, when Spotify Connect is active, on the MusicBox monitor the MusicBox login doesn’t appear.
Then, when I try to connect it with my phone over Spotify Connect it gives me this message:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: WireError("invalid value for enum: 13")', /checkout/src/libcore/
note: Run with `RUST_BACKTRACE=1` for a backtrace

Then the MusicBox disapears from the Spotify Connect List and the MusicBox Login appears on the monitor and I can log myself in.

Is there a solution for my problem?

Exact same thing happening here on my (Raspberry Pi based) box.

Haven’t found a solution yet…

Hi All,

I have been using Spotify Premium on my Pi Musicbox a few months now, worked as a charm really enjoying it. But since a few weeks Spotify rejects the Musicbox. After a reboot the Musicbox appears on the Spotfy device list, when trying to connect to it the musicbox is removed from the device list. A friend of mine who has the same build experiences the same problems. I also have a Bose Soundtouch no problems there.
Is this a known issue, has Spotify changed their platform?


It’s a known issue due to Spotify changing something. It has been fixed upstream in librespot so it just needs recompiling. I’ve got a new musicbox release (with support for the new raspberry pi) which includes this fix. I’ve been testing this weekend and assuming nothing pops up I aim to release it tonight/tomorrow.

1 Like

Hi Kingosticks
Great news, thanks!
cheers, J

Great to hear, thanks! So I assume the new release will be uploaded to eventually (as 0.7.0 RC6 or something)?


1 Like

Hi all,

I just installed this release to my pi but can’t find the music box in spotify, although spotify connect is enabled.
Playing songs from spotify through the web interface works fine though.

Any suggestions on how to troubleshoot this?

@jubobey Spotify connect (librespot) requires an update and this must be done manually. You need to enable ssh and then login so you can run the following commands.

service librespot stop
cd /opt/librespot
service librespot start

Or wait for the next release.


If you cannot play a spotify song through the Web interface then this is not the same issue. Please start a new thread and provide the Mopidy log file. Thanks.

Solved my problem, thanks!

hi Kingosticks,

Busy reinstalling mij pi musicbox
Trying to update librespot getting following error, something with a certificate, trying to download the zipfile.
What is wrong?

Thx, jw

root@MusicBox:/opt/librespot# wget
–2018-03-15 23:51:50--
Resolving (…,
Connecting to (||:443… connected.
ERROR: The certificate of `’ is not trusted.
The certificate has not yet been activated

I’ve never seen that before. I suggest you have a Google around.

This worked like a charm!
Thanks for posting :slight_smile:

Got it working, probably a clitch, thx!

was working fine. I had to re-install mopidy today, but on download I got this error:

ERROR: The certificate of `’ is not trusted.
The certificate has expired.

Any idea how to fix this ?

Thanks !


wget --no-check-certificate

Closed this thread as it now contains three different issues over the span of 7 months.