brew service remains in stopped state
antani opened this issue · 3 comments
Description
Installed spotifyd via brew on Macbook Air M1, BigSur
Installation goes fine, but when starting the service, the service remains in stopped
status
To Reproduce
Expected behavior
Logs
Click to show logs
<!-- PLEASE PASTE YOUR LOGS BELOW THIS LINE WHEN REPORTING BUGS. Make sure to run spotifyd using the `--verbose` flag -->
<!-- They have to be betwenn the `/summary` and the `/details` HTML tags, and inside the backticks '`' -->
Compilation flags
- dbus_mpris
- dbus_keyring
- alsa_backend
- portaudio_backend
- pulseaudio_backend
- rodio_backend
Versions (please complete the following information):
- OS:
- Spotifyd:
- cargo:
➜ ~ brew services start spotifyd --verbose
==> Generated service file for spotifyd:
/bin/launchctl enable gui/445842717/homebrew.mxcl.spotifyd
/bin/launchctl bootstrap gui/445842717 /Users/veda/Library/LaunchAgents/homebrew.mxcl.spotifyd.plist
==> Successfully started spotifyd
(label: homebrew.mxcl.spotifyd)
➜ ~ brew services
Name Status User File
dbus none
spotifyd stopped veda ~/Library/LaunchAgents/homebrew.mxcl.spotifyd.plist
unbound none
Several things you can try to gather more info:
- See if there are any logs from the homebrew service that indicate possible problems.
- Start spotifyd with
spotifyd --no-daemon
(and possibly--verbose
) directly and see if that works / what fails.
➜ ~ spotifyd --no-daemon --verbose
Loading config from "/Users/veda/.config/spotifyd/spotifyd.conf"
CliConfig { config_path: None, no_daemon: true, verbose: true, pid: None, shared_config: SharedConfigValues { username: Some("taken out for privacy"), username_cmd: None, password: Some("taken out for privacy"), password_cmd: None, use_keyring: false, use_mpris: None, dbus_type: None, on_song_change_hook: None, cache_path: Some("/Users/veda/.config/spotifyd/cache_directory"), no-audio-cache: false, backend: Some(PortAudio), volume_controller: Some(SoftVolume), device: None, control: None, mixer: None, device_name: Some("terminal"), bitrate: Some(Bitrate320), initial_volume: None, volume_normalisation: true, normalisation_pregain: Some(-10.0), zeroconf_port: Some(1234), proxy: None, device_type: Some(Computer), autoplay: false, max_cache_size: None } }
Found user shell: Some("/bin/zsh")
No proxy specified
registering event source with poller: token=Token(0), interests=READABLE
Using software volume controller.
Connecting to AP "ap.spotify.com:443"
registering event source with poller: token=Token(1), interests=READABLE | WRITABLE
deregistering event source from poller
failed to connect to spotify: Cannot create session: early eof
deregistering event source from poller
Seems like you are running into this issue (at least the first part of the log). Can you try to build from the current master
branch and see if the issue persists?