Volumio 3 Spotify connect crash (VM)

Hi all, I have Volumio 3 installed in a VM and I am passing my onboard sound card into it. Unfortunately the Spotify Connect plugin is crashing. However, AirPlay works.

Here is the live log after I want to stream via Spotify:


[Vollibrespot] : Connecting to AP "ap-gew1.spotify.com:443"
[Vollibrespot] : Authenticated as "ReplacedByOP" !
[Vollibrespot] : Setting up new mixer: card:hw:0,0 mixer:Master index:0
ALSA lib conf.c:4898:(parse_args) Unknown parameter 1
ALSA lib conf.c:5031:(snd_config_expand) Parse arguments error: No such file or directory
ALSA lib control.c:1375:(snd_ctl_open_noupdate) Invalid CTL hw:0,0
thread 'main' panicked at 'Error setting up mixer!: Error("snd_mixer_attach", Sys(ENOENT))', /build/cache/git/checkouts/librespot-6f197fd632ef9380/08d8bcc/playback/src/mixer/alsamixer.rs:184:39
stack backtrace:
   0:     0x55ba6c0a3240 - std::backtrace_rs::backtrace::libunwind::trace::h63b7a90188ab5fb3
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
   1:     0x55ba6c0a3240 - std::backtrace_rs::backtrace::trace_unsynchronized::h80aefbf9b851eca7
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x55ba6c0a3240 - std::sys_common::backtrace::_print_fmt::hbef05ae4237a4d72
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x55ba6c0a3240 - ::fmt::h28abce2fdb9884c2
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:46:22
   4:     0x55ba6c0c335f - core::fmt::write::h3b84512577ca38a8
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/fmt/mod.rs:1092:17
   5:     0x55ba6c09c772 - std::io::Write::write_fmt::h465f8feea02e2aa1
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/io/mod.rs:1572:15
   6:     0x55ba6c0a5595 - std::sys_common::backtrace::_print::h525280ee0d29bdde
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:49:5
   7:     0x55ba6c0a5595 - std::sys_common::backtrace::print::h1f0f5b9f3ef8fb78
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:36:9
   8:     0x55ba6c0a5595 - std::panicking::default_hook::{{closure}}::ha5838f6faa4a5a8f
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:208:50
   9:     0x55ba6c0a5043 - std::panicking::default_hook::hfb9fe98acb0dcb3b
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:225:9
  10:     0x55ba6c0a5b9d - std::panicking::rust_panic_with_hook::hb89f5f19036e6af8
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:591:17
  11:     0x55ba6c0a5737 - std::panicking::begin_panic_handler::{{closure}}::h119e7951427f41da
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:497:13
  12:     0x55ba6c0a36fc - std::sys_common::backtrace::__rust_end_short_backtrace::hce386c44bf47a128
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:141:18
  13:     0x55ba6c0a5699 - rust_begin_unwind
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5
  14:     0x55ba6bb9cba1 - core::panicking::panic_fmt::h2242888e8769cd33
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:92:14
  15:     0x55ba6bb9ca93 - core::option::expect_none_failed::hb1edf11f73e63728
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/option.rs:1329:5
  16:     0x55ba6bcc1d2f - ::open::h0e299499548bf8cb
  17:     0x55ba6bbf1d07 - librespot_playback::mixer::mk_sink::hea945d3f1b291efc
  18:     0x55ba6bbc4fca - ::poll::h789d742187cbd50d
  19:     0x55ba6bbe1133 - futures::task_impl::std::set::h188eb9e1a8950863
  20:     0x55ba6bbf8c0d - std::thread::local::LocalKey::with::hb45052fc6a2ae633
  21:     0x55ba6bbd3184 - tokio_current_thread::Entered

::block_on::h885eb0739f27f74e
  22:     0x55ba6bbf7f18 - std::thread::local::LocalKey::with::h221054beb46a2abc
  23:     0x55ba6bc0d250 - tokio_timer::clock::clock::with_default::h159e4adfb11c433f
  24:     0x55ba6bbce104 - tokio::runtime::current_thread::runtime::Runtime::block_on::h7d24b175f2e44b17
  25:     0x55ba6bbc83c9 - vollibrespot::main::hb13811fd4ab212f8
  26:     0x55ba6bbf7353 - std::sys_common::backtrace::__rust_begin_short_backtrace::h20ed102c66600ce2
  27:     0x55ba6bbf7859 - std::rt::lang_start::{{closure}}::h81eea2a75fc78b02
  28:     0x55ba6c0a5f9a - core::ops::function::impls:: for &F>::call_once::h44574effd2120c86
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/ops/function.rs:259:13
  29:     0x55ba6c0a5f9a - std::panicking::try::do_call::h10b0bd4879c8dfb0
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:379:40
  30:     0x55ba6c0a5f9a - std::panicking::try::h60c6780d33419e92
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:343:19
  31:     0x55ba6c0a5f9a - std::panic::catch_unwind::h111f33e08c52e2ce
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:431:14
  32:     0x55ba6c0a5f9a - std::rt::lang_start_internal::h126f2e09345dbfda
                               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/rt.rs:51:25
  33:     0x55ba6bbc9a62 - main
  34:     0x7f949878a09b - __libc_start_main
  35:     0x55ba6bb9d28a - _start
  36:                0x0 - 
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 6.
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" }

edit: It’s working in Volumio 2
edit 2: It’s only working in Volumio 3 if I switch the mixer to ‘None’

please send log link :wink:

Here is the link: http://logs.volumio.org/volumio/vTBAbdN.html

Note there is no official support on VM on any platform.

I have the same issue and I’m not running a VM:

Volspotconnect2
Raspberry Pi 3B+
Volumio 3
HifiBerry Digi +

[Vollibrespot] : Connecting to AP "ap-gew1.spotify.com:443"
[Vollibrespot] : Authenticated as "**redacted**" !
[Vollibrespot] : Setting up new mixer: card:hw:2 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:   0xa06040 - std::backtrace_rs::backtrace::libunwind::trace::h4e6fc6cdc5d76862
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
   1:   0xa06040 - std::backtrace_rs::backtrace::trace_unsynchronized::h1c665adaaf480d86
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:   0xa06040 - std::sys_common::backtrace::_print_fmt::h39ff02745027e048
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:67:5
   3:   0xa06040 - ::fmt::hc83ae421f857c6ae
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:46:22
   4:   0xa276a4 - core::fmt::write::h59f33d28fc1a9cf5
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/fmt/mod.rs:1092:17
   5:   0x9fefec - std::io::Write::write_fmt::h96774110acd52d88
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/io/mod.rs:1572:15
   6:   0xa0874c - std::sys_common::backtrace::_print::h28b9431057012c44
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:49:5
   7:   0xa0874c - std::sys_common::backtrace::print::h28173b7ebfe4a4ac
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:36:9
   8:   0xa0874c - std::panicking::default_hook::{{closure}}::h12f82aa3def34336
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:208:50
   9:   0xa0812c - std::panicking::default_hook::hee29440c29c1cc2e
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:225:9
  10:   0xa08dac - std::panicking::rust_panic_with_hook::he7d3b6e3eee77e72
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:591:17
  11:   0xa08928 - std::panicking::begin_panic_handler::{{closure}}::h7faba6b3632756a6
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:497:13
  12:   0xa065bc - std::sys_common::backtrace::__rust_end_short_backtrace::hdde0f982a7a71ce9
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:141:18
  13:   0xa08870 - rust_begin_unwind
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5
  14:   0x4e221c - core::panicking::panic_fmt::h97b6949f75a63095
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:92:14
  15:   0x4e20a4 - core::option::expect_failed::h4183cd8fa1675d39
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/option.rs:1321:5
  16:   0x60824c - ::open::h987add80eb0ef508
  17:   0x5347c8 - librespot_playback::mixer::mk_sink::h0d1999bb15de8a1f
  18:   0x5054e4 - ::poll::h19799562239aa72c
  19:   0x5220a0 - futures::task_impl::std::set::h0ef71bfab756f27d
  20:   0x53c7b8 - std::thread::local::LocalKey::with::hb3c749d82f06f5c0
  21:   0x514710 - tokio_current_thread::Entered
::block_on::hac3e29a0a4da8120
  22:   0x53c178 - std::thread::local::LocalKey::with::h78cb87ff6f4c2b7d
  23:   0x551cd4 - tokio_timer::clock::clock::with_default::hb0853b95f60f0630
  24:   0x50e9f4 - tokio::runtime::current_thread::runtime::Runtime::block_on::h239cb8d546240575
  25:   0x508258 - vollibrespot::main::hf11cedd7d8a3be51
  26:   0x53b500 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha48b0377a890cb6d
  27:   0x53b720 - std::rt::lang_start::{{closure}}::h120c4b14d2445a8e
  28:   0xa09198 - core::ops::function::impls:: for &F>::call_once::hb7f0eab2b8615017
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/ops/function.rs:259:13
  29:   0xa09198 - std::panicking::try::do_call::h2c625414401a1a99
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:379:40
  30:   0xa09198 - std::panicking::try::h09167d835e285a07
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:343:19
  31:   0xa09198 - std::panic::catch_unwind::hdff19ee37d8421eb
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:431:14
  32:   0xa09198 - std::rt::lang_start_internal::h835544f25e1ef31c
                       at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/rt.rs:51:25
  33:   0x509a08 - main
  34: 0x76c75718 - __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.

Actually just got it to work by going to the Volumio Settings, PlayBack Options, Mixer Type : Software (instead of None)