-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error code 99 error sending packet #1006
Comments
Running into this as well (regular Arch Linux, community package 0.3.2-1), couldn't locate the source of the error. The spotifyd works, but it logs the above code 99 error messages every two seconds (about 20 times, then it stops). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
automated bot closing, yay. |
This error comes neither directly from In general, you can find a lot about this error by searching the internet since it isn't really specific to this application and often happens with somewhat special network setups. Apparently, the error comes from this line in the diff --git a/Cargo.toml b/Cargo.toml
index b522886..21fa464 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -37,7 +37,7 @@ xdg = "2.2"
librespot-audio = { version = "0.2.0", default-features=false, features = ["with-tremor"] }
librespot-playback = { version = "0.2.0", default-features=false }
librespot-core = { version = "0.2.0"}
-librespot-connect = { version = "0.2.0"}
+librespot-connect = { version = "0.2.0", features = ["with-dns-sd"]}
toml = "0.5.8"
color-eyre = "0.5" and recompile Hope this helps. |
Thanks @eladyn, I have the same issue & tried that, unfortunately:
I haven't managed to get any more out of it with I'm not sure what 'a problem with your network setup' means, certainly I and presumably anyone reporting this issue have no problem with other devices on the network - or in my case, the official client & web-app on the same device too. |
@OJFord Thanks for trying! That new error is probably due to neither of avahi and bonjour running, as documented multiple times1 in issues over at the librespot repository. Apart from that, I no longer think that trying Another point of interest: How, if in any way, does this error influence your ability to use Footnotes |
Ah yes probably then - there were warnings about that that I omitted.
I'll give that a go, thanks.
I haven't used it before, so I was just trying to get started; I haven't been able to as a result. I was trying to play something from another device because it seemed that should 'just work', and honestly I couldn't figure out how I was supposed to use it from the same device? That's why I went straight to 'Connect'. |
Yes - but it is only logged as a warning:
I'm not sure if that's a problem or not, given it's a warning and then 'received packet'? |
If I start |
Thanks for reporting back, that is indeed valuable information! My guess is that that warning just indicates a problem with IPv6, but doesn't really influence You could probably check with # ss -lnp | grep spotifyd
udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:* users:(("spotifyd",pid=15822,fd=10))
udp UNCONN 0 0 *:5353 *:* users:(("spotifyd",pid=15822,fd=11))
tcp LISTEN 0 128 0.0.0.0:45539 0.0.0.0:* users:(("spotifyd",pid=15822,fd=9)) Maybe it is also related to a firewall or anything else blocking the traffic? Of course, you can always just pass your credentials to spotifyd, and it would also work. |
Just the high TCP one for me: tcp LISTEN 0 0 0.0.0.0:39819 0.0.0.0:* users:(("spotifyd",pid=120846,fd=9)) No error though (this is with avahi-daemon running still):
Sorry, I don't follow that, as above I have configured username & password_cmd, I assumed that was necessary. Is there something else for some sort of more direct connection between devices you mean? |
Oh I see now, via https://github.com/librespot-org/librespot/wiki/Authentication#zeroconf-based-authentication=, no I'm not trying to rely on it for auth - just trying to play something via my phone (say) as the client. 'Web player (Firefox)' shows up fine as a client; that's Firefox on the same computer I'm trying to run spotifyd. |
Sorry, should've been clearer about what I meant. My output was with
In theory, you don't need to supply # spotifyd --no-daemon
...
Connecting to AP "ap.spotify.com:443"
Authenticated as "user" !
Country: "DE"
... So maybe you can try debugging, why the authentication fails in your case. Footnotes
|
.... Fixed it. (Veering off-topic, but aside from the naming it'd be nice if it logged 'failed to authenticate' or whatever, I'd have tried that a lot sooner. It doesn't, even with |
Great to hear that! For me, it actually works with my username as well. Regarding the better reporting of authentication failure: Yeah, that is definitely suboptimal, and you're not the first one to stumble over it. There are two PRs that would improve that situation, #1041 and #1059, hopefully one of them can be merged at some point. I guess, this issue could be closed, since the “error” isn't really an error, but rather a warning that appears in some cases, but doesn't influence usability? And if it does, it would probably be better to report it over at the librespot-org/libmdns repo. |
Hello, I have this error too. It occurs when I start spotifyd without credentials (username/password). If I start spotifyd with my credentials I am the only one that sees this device in the spotify app. When I start spotifyd without credentials I can use the device. The other members of my family also see the device and can use it. If it is already in use they can join the session, control the device and change the music. That is precisely what I need so I would be very pleased if the error could be cured or cirumvented. Regards, Thijs |
Hi, I have found that
That will do it for now. I'm not much of a reader of syslog anyway 😉 But I don't want it cluttered or flooded. Regards, Thijs |
@tyskie Hi! As pointed out above, I'm not really sure what exactly causes the warning to be emitted, other than that it's coming from libmdns and probably doesn't influence usability. If you're interested in seeing that error go away, maybe you can try reproducing it with the libmdns example (see here) and report a bug over there? Apart from that, I'm going to close this, since this isn't really an issue with |
Description
Fresh installation of spotifyd does not function.
In my config its the bare minimum: User, password and backend are given.
See errors down below, I myself am a user and dont really understand why it is not working. It seems to be connecting though.
version:
spotifyd 0.3.2
(installed from repo)OS:
5.13.13-1-MANJARO
Linuxlinked to issue #532 which was closed by a bot
The text was updated successfully, but these errors were encountered: