Code Monkey home page Code Monkey logo

Comments (6)

andycowan avatar andycowan commented on September 22, 2024

Fixed this by adding a username and password in the settings using a device username/password from the spotify account.

Suggest an error message coming from the 403 status might be more helpful?

from volumio-spotifyconnect.

ashthespy avatar ashthespy commented on September 22, 2024

Not sure what happened here, but VLS should be more resilient in newer versions :-)

from volumio-spotifyconnect.

csaavedra avatar csaavedra commented on September 22, 2024

This should be reopened because this still happens. If one is not authenticated, the error appears. I don't think logging in with credentials should be considered as a fix for this, the error shouldn't be happening. Plugin version 3.0.9.

Starting Live Log...
[Vollibrespot] : Failed to register IPv6 receiver: Os { code: 19, kind: Uncategorized, message: "No such device" }
�
info: CoreCommandRouter::volumioGetState
info: CoreCommandRouter::volumioGetQueue
info: CoreStateMachine::getQueue
info: CorePlayQueue::getQueue
info: CoreCommandRouter::executeOnPlugin: system , getHwuuid
info: CALLMETHOD: system_controller system enableLiveLog true
info: CoreCommandRouter::executeOnPlugin: system , enableLiveLog
info: Launching a new LiveLog session
[Vollibrespot] : Connecting to AP "ap-gew4.spotify.com:443"
[Vollibrespot] : Authenticated as "csaavedra" !
[Vollibrespot] : Using alsa sink
[Vollibrespot] : Metadata pipe established
[Vollibrespot] : Event: Volume { volume_to_mixer: 65535 }
[Vollibrespot] : Country: "FI"
[SpotifyConnect] Volume Spotify: 100 Volumio: 100
[Vollibrespot] : Fetching autoplay context uri
[Vollibrespot] : Event: SessionActive { became_active_at: 1691564591590 }
[Vollibrespot] : SessionActive!
[Vollibrespot] : Event: PlaybackStarted { track_id: SpotifyId { id: 98879999662705976983520128789562931269, audio_type: Track } }
[Vollibrespot] : Event: PlaybackLoading { track_id: SpotifyId { id: 98879999662705976983520128789562931269, audio_type: Track } }
[SpotifyConnect]  A connect session has begun
[SpotifyConnect]  Device palyback is active!
[SpotifyConnect]  Device palyback is loading
[Vollibrespot] : error 403 for uri hm://keymaster/token/authenticated?client_id=4ced2e7c73484127be5d36015752eb43&scope=streaming,user-read-playback-state,user-modify-playback-state,user-read-currently-playing,user-read-private
[Vollibrespot] : Error: MercuryError
[Vollibrespot] : Autoplay uri resolved to <"spotify:station:album:2v6ANhWhZBUKkg6pJJBs3B">
[Vollibrespot] : Resolving uri "spotify:station:album:2v6ANhWhZBUKkg6pJJBs3B"
thread 'main' panicked at 'cannot poll Map twice', /build/cache/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/map.rs:35:29
stack backtrace:
   0:   0x9f8444 - std::backtrace_rs::backtrace::libunwind::trace::h40a4eff66330a36d
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:   0x9f8444 - std::backtrace_rs::backtrace::trace_unsynchronized::hbce01963451b0cd5
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:   0x9f8444 - std::sys_common::backtrace::_print_fmt::h95da650d09c7e00b
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5
   3:   0x9f8444 - ::fmt::h33b23b1d14f668ff
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22
   4:   0xa210dc - core::fmt::write::h6320fb0e6ac90e58
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17
   5:   0x9f04c4 - std::io::Write::write_fmt::h33b25d4810ca481f
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15
   6:   0x9faef4 - std::sys_common::backtrace::_print::h7e61c5be69c715ef
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5
   7:   0x9faef4 - std::sys_common::backtrace::print::h3cee176d7c8dab8b
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9
   8:   0x9faef4 - std::panicking::default_hook::{{closure}}::h2d0211dd2e97dc43
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22
   9:   0x9fab14 - std::panicking::default_hook::hcbdb3b7c40dca30c
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:314:9
  10:   0x9fb694 - std::panicking::rust_panic_with_hook::h4ce49e7a343dc12b
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17
  11:   0x9fb304 - std::panicking::begin_panic_handler::{{closure}}::h4961100fae529fe9
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13
  12:   0x9f89c4 - std::sys_common::backtrace::__rust_end_short_backtrace::hf2e68e62c7a80f1f
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18
  13:   0x9fb098 - rust_begin_unwind
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5
  14:   0x4de6f4 - core::panicking::panic_fmt::h84c42730e4a50809
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14
  15:   0xa1df88 - core::panicking::panic_display::he50fbe261a13d083
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:73:5
  16:   0xa1df38 - core::panicking::panic_str::h6e4cfb6a94cf14e8
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:56:5
  17:   0x4de57c - core::option::expect_failed::h5f2b901fbc810215
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/option.rs:1852:5
  18:   0x740e18 -  as futures::future::Future>::poll::h794cc547cc6bc145
  19:   0x5c9d78 - ::poll::h2a7bff75029d3b82
  20:   0x5062ec - ::poll::h5fd9e3bcdeb25ad9
  21:   0x5233dc - futures::task_impl::std::set::h8f754e80bd562d0a
  22:   0x53a42c - std::thread::local::LocalKey::with::h71cfa1e374fcc0a0
  23:   0x51f99c - tokio_current_thread::Entered
::block_on::hde55cdf28eabe6d5
  24:   0x53a6f0 - std::thread::local::LocalKey::with::hedba3cfe41326627
  25:   0x522880 - tokio::runtime::current_thread::runtime::Runtime::block_on::h60d5b89560100ed8
  26:   0x508eb0 - vollibrespot::main::h35555355ed947dd1
  27:   0x528c50 - std::sys_common::backtrace::__rust_begin_short_backtrace::hef626a10d324c12a
  28:   0x54e52c - std::rt::lang_start::{{closure}}::hd80188e4bcac5072
  29:   0x9f7b28 - core::ops::function::impls:: for &F>::call_once::h0567da839a080232
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:259:13
  30:   0x9f7b28 - std::panicking::try::do_call::hdf194554a41aa3cc
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40
  31:   0x9f7b28 - std::panicking::try::hbf4b7be9f9ffa5f8
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19
  32:   0x9f7b28 - std::panic::catch_unwind::h45f392a39f2fe48c
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14
  33:   0x9f7b28 - std::rt::lang_start_internal::{{closure}}::hd772cb03c2060671
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:48
  34:   0x9f7b28 - std::panicking::try::do_call::hd126f715b519ff2a
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40
  35:   0x9f7b28 - std::panicking::try::h80b7148ce71893dc
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19
  36:   0x9f7b28 - std::panic::catch_unwind::h1562f0b2e8a9cb0d
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14
  37:   0x9f7b28 - std::rt::lang_start_internal::h3daa586a0b835507
                       at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:20
  38:   0x50ae80 - main
  39: 0x76bc3768 - __libc_start_main
[Vollibrespot] : EventSender disconnected
[SpotifyConnect]  PlaybackInactive
info: [1691564591756] ControllerSpotify::pushState
info: CoreCommandRouter::servicePushState
info: CoreStateMachine::pushState
volspotconnect.service: Main process exited, code=exited, status=101/n/a
info: CoreCommandRouter::volumioPushState
volspotconnect.service: Failed with result 'exit-code'.

from volumio-spotifyconnect.

ashthespy avatar ashthespy commented on September 22, 2024

This plugin isn't being maintained by me any longer - it's been integrated into volumio-plugins-sources you should open an issue there :-)

from volumio-spotifyconnect.

csaavedra avatar csaavedra commented on September 22, 2024

I did already apparently a month ago :) volumio/volumio-plugins-sources#236

from volumio-spotifyconnect.

ashthespy avatar ashthespy commented on September 22, 2024

Ah, well, you'll have to follow up there (or their forums) unfortunately..
It it would seem Volumio's fork (https://github.com/volumio/Vollibrespot/tree/0.4.2) is tracking upstream, so you'd have to ask them.

The 403 error indicates they are some issues with how the authentication is being carried out. Good luck! :-)

from volumio-spotifyconnect.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.