Spotify connect 2 broke

dont know what happend, stopped working 3 days ago or so

[Vollibrespot] : Using Alsa backend with device: volumio
[Vollibrespot] : Failed to register IPv6 receiver: Os { code: 19, kind: Other, message: “No such device” }
info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: CoreCommandRouter::volumioGetState
info: CorePlayQueue::getTrack 0
info: Listing playlists
info: Listing playlists
[Vollibrespot] : Connecting to AP “ap-gew1.spotify.com:443
[Vollibrespot] : Authenticated as “snippman” !
[Vollibrespot] : Setting up new mixer: card:hw:5 mixer: index:0
thread ‘main’ panicked at ‘Couldn’t find simple mixer control for ,0’, /build/cache/git/checkouts/librespot-6f197fd632ef9380/08d8bcc/playback/src/mixer/alsamixer.rs:39:44
stack backtrace:
0: 0x9b9040 - std::backtrace_rs::backtrace::libunwind::trace::h4e6fc6cdc5d76862
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/…/…/backtrace/src/backtrace/libunwind.rs:90:5
1: 0x9b9040 - std::backtrace_rs::backtrace::trace_unsynchronized::h1c665adaaf480d86
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/…/…/backtrace/src/backtrace/mod.rs:66:5
2: 0x9b9040 - std::sys_common::backtrace::_print_fmt::h39ff02745027e048
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:67:5
3: 0x9b9040 - ::fmt::hc83ae421f857c6ae
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:46:22
4: 0x9da6a4 - core::fmt::write::h59f33d28fc1a9cf5
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/fmt/mod.rs:1092:17
5: 0x9b1fec - std::io::Write::write_fmt::h96774110acd52d88
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/io/mod.rs:1572:15
6: 0x9bb74c - std::sys_common::backtrace::_print::h28b9431057012c44
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:49:5
7: 0x9bb74c - std::sys_common::backtrace::print::h28173b7ebfe4a4ac
at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:36:9
8: 0x9bb74c - std::panicking::default_hook::{{closure}}::h12f82aa3def34336

New DAC three days ago?

I have Spotify Connect2 3.0.7, Volumio v3.198, DAC Asus Xonar Essence STU (with volume knob)

For me, Spotify Connect works only if I set Mixer Type to NONE in Settings. This might be worth trying, if you haven’t already.

Note: From time to time Volumio insists on changing the setting to HARDWARE, and then Spotify Connect fails, until I change it to NONE again.

When mixer type is hardware, Spotify Connect2 fails, log below:

[Vollibrespot] : Connecting to AP "ap-gew1.spotify.com:443"
[Vollibrespot] : Authenticated as "***REDACTED***" !
[Vollibrespot] : Setting up new mixer: card:hw:5 mixer:PCM index:0
[Vollibrespot] : Alsa min-db is not SND_CTL_TLV_DB_GAIN_MUTE!!
[Vollibrespot] : Alsa Mixer info min: 0 (MilliBel(0)[dB]) -- max: 0 (MilliBel(0)[dB]) HW: false
[Vollibrespot] : Switching to linear volume mapping, control range: MilliBel(0)
[Vollibrespot] : Alsa min-db is not SND_CTL_TLV_DB_GAIN_MUTE!!
[Vollibrespot] : Using alsa sink
thread 'main' panicked at 'Couldn't get current volume: Error("snd_mixer_selem_get_playback_volume", Sys(EINVAL))', /build/cache/git/checkouts/librespot-6f197fd632ef9380/08d8bcc/playback/src/mixer/alsamixer.rs:94:14
stack backtrace:
   0:   0x99d040 - std::backtrace_rs::backtrace::libunwind::trace::h4e6fc6cdc5d76862
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
   1:   0x99d040 - std::backtrace_rs::backtrace::trace_unsynchronized::h1c665adaaf480d86
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:   0x99d040 - std::sys_common::backtrace::_print_fmt::h39ff02745027e048
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:67:5
   3:   0x99d040 - ::fmt::hc83ae421f857c6ae
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:46:22
   4:   0x9be6a4 - core::fmt::write::h59f33d28fc1a9cf5
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/fmt/mod.rs:1092:17
   5:   0x995fec - std::io::Write::write_fmt::h96774110acd52d88
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/io/mod.rs:1572:15
   6:   0x99f74c - std::sys_common::backtrace::_print::h28b9431057012c44
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:49:5
   7:   0x99f74c - std::sys_common::backtrace::print::h28173b7ebfe4a4ac
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:36:9
   8:   0x99f74c - std::panicking::default_hook::{{closure}}::h12f82aa3def34336
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:208:50
   9:   0x99f12c - std::panicking::default_hook::hee29440c29c1cc2e
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:225:9
  10:   0x99fdac - std::panicking::rust_panic_with_hook::he7d3b6e3eee77e72
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:591:17
  11:   0x99f928 - std::panicking::begin_panic_handler::{{closure}}::h7faba6b3632756a6
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:497:13
  12:   0x99d5bc - std::sys_common::backtrace::__rust_end_short_backtrace::hdde0f982a7a71ce9
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:141:18
  13:   0x99f870 - rust_begin_unwind
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5
  14:   0x47921c - core::panicking::panic_fmt::h97b6949f75a63095
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:92:14
  15:   0x479120 - core::option::expect_none_failed::h4525992415ba2383
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/option.rs:1329:5
  16:   0x59ea00 - librespot_playback::mixer::alsamixer::AlsaMixer::map_volume::h825a591b68bfcf3d
  17:   0x59f514 - ::set_volume::h382b5a263d3ee1ea
  18:   0x55f3d8 - librespot_connect::spirc::SpircTask::set_volume::h9ffb769f15c160ed
  19:   0x5599c0 - librespot_connect::spirc::Spirc::new::h128f8103c9c3b3fd
  20:   0x49c718 - ::poll::h19799562239aa72c
  21:   0x4b90a0 - futures::task_impl::std::set::h0ef71bfab756f27d
  22:   0x4d37b8 - std::thread::local::LocalKey::with::hb3c749d82f06f5c0
  23:   0x4ab710 - tokio_current_thread::Entered
::block_on::hac3e29a0a4da8120
  24:   0x4d3178 - std::thread::local::LocalKey::with::h78cb87ff6f4c2b7d
  25:   0x4e8cd4 - tokio_timer::clock::clock::with_default::hb0853b95f60f0630
  26:   0x4a59f4 - tokio::runtime::current_thread::runtime::Runtime::block_on::h239cb8d546240575
  27:   0x49f258 - vollibrespot::main::hf11cedd7d8a3be51
  28:   0x4d2500 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha48b0377a890cb6d
  29:   0x4d2720 - std::rt::lang_start::{{closure}}::h120c4b14d2445a8e
  30:   0x9a0198 - core::ops::function::impls:: for &F>::call_once::hb7f0eab2b8615017
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/ops/function.rs:259:13
  31:   0x9a0198 - std::panicking::try::do_call::h2c625414401a1a99
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:379:40
  32:   0x9a0198 - std::panicking::try::h09167d835e285a07
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:343:19
  33:   0x9a0198 - std::panic::catch_unwind::hdff19ee37d8421eb
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:431:14
  34:   0x9a0198 - std::rt::lang_start_internal::h835544f25e1ef31c
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/rt.rs:51:25
  35:   0x4a0a08 - main
  36: 0xb6bdd718 - __libc_start_main
volspotconnect2.service: Main process exited, code=exited, status=101/n/a
volspotconnect2.service: Failed with result 'exit-code'.

volspotconnect2.service: Service RestartSec=2s expired, scheduling restart.
volspotconnect2.service: Scheduled restart job, restart counter is at 1.
Stopped Volspotconnect2 Daemon.
Started Volspotconnect2 Daemon.
vollibrespot v0.2.3 769ce77 2021-06-04 (librespot 08d8bcc 2020-10-07) -- Built On 2021-06-04
Reading Config from "volspotify.toml"
[Vollibrespot] : Using Alsa backend with device: volumio
[Vollibrespot] : Failed to register IPv6 receiver: Os { code: 19, kind: Other, message: "No such device" }

nope, no new hardware.
But I now tried and reset default output to my d10 again and spotify connect started working.
so thanks alot.

@balbuze Any idea, why spotify connect does not work with setting Mixer type = Hardware for my setup (log above)?

Probably because the mixer set in the plugin is not correct… Please send a full log link. Thanks

I sent a log link as private message. Thanks.

I had same problem. Changed mixer type to ‘none’ - magically fixed. Thanks for the tip.

Aaaand now it’s gone again.

Note: The new Spotify 3.0.1 plugin, which includes Spotify connect, works with mixer setting NONE and HARDWARE.

This is a major usability improvement for my setup: spotify connect seems to work all the time now (internet radio doesn’t break Spotify Connect anymore, in this setup)

Great work!