mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #911] couldn't parse packet from 192.168.4.113:59464: packet has non-zero reserved bits #451
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#451
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @asegarra on GitHub (Dec 17, 2021).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/911
Using spotifyd but I believe these messages originate in librespot, I'm getting quite a few of the above message, I suppose these are other clients in the network, anyway to quiet these down or some way I can fix whatever is wrong? Thanks.
@JasonLG1979 commented on GitHub (Dec 19, 2021):
Spotifyd uses an old version of librespot they would need to update from 0.2 to 3.1 to even be able to tell if this is still a valid issue.
@roderickvd commented on GitHub (Dec 20, 2021):
Can you post the full log? I think this is from
libmdns?Also is this just a nuisance or is some behavior actually broken?
@JasonLG1979 commented on GitHub (Dec 20, 2021):
It's absolutely from
libmdns:github.com/librespot-org/libmdns@acd405604d/src/dns_parser/error.rs (L17)@asegarra commented on GitHub (Dec 20, 2021):
Sorry I didn't check the versions before hand, I saw a similar issue and it was redirected to librespot so I just came straight here.
That's pretty much all I see, just repeated many times. Not sure if it's an actual problem and if this may be related but I was often loosing connection through spotifyd necessitating a restart of the daemon, that's what led me to check the logs and this was pretty much all there was.
@JasonLG1979 commented on GitHub (Dec 20, 2021):
What device is 192.168.4.113?
@roderickvd commented on GitHub (Dec 20, 2021):
Again please post the full log. Just copy paste everything.
Please try stock
librespotinstead ofspotifydand see if you have the same issue. I think you will, but just to rule that out.Then when we certify that this issue is with
libmdnsyou should report it here: https://github.com/librespot-org/libmdns@asegarra commented on GitHub (Dec 20, 2021):
It's a beacon in my home mesh network.
@asegarra commented on GitHub (Dec 20, 2021):
I no longer have it but I'll reproduce it later today.
Ok, I'll need some more time to figure out how to do this, will reply when I've done it.
Thanks.
@JasonLG1979 commented on GitHub (Dec 20, 2021):
Well either the beacon is misbehaving or very possibly
libmdnsis misbehaving or just being overly chatty in it's logs?If it's not actually causing any trouble other that spamming the logs I would just drop the log level to warn or error.
Otherwise I would ask the
Spotifydteam to help fixlibmdns, it could use some love for sure, or alternatively maybe sinceSpotifyd's stated goal is to be "An open source Spotify client running as a UNIX daemon." maybe they should use a different mdns implementation since they don't care about Windows compatibility?@asegarra commented on GitHub (Dec 20, 2021):
If it is then avahi and systemd-resolved don't seem to be bothered by it, I use both in different pc's.
I actually stopped using spotify-tui/spotifyd due to the connection drops which may not be related to this but this was the only thing I could see in the logs, I also tried Spot that also uses librespot and had a similar problem and they are on 0.3.1 and don't think they have the same network spotify receiver feature that spotifyd/spotify-tui has. Please feel free to close this issue if you think it's a red herring, or for sure belongs in libmdns (I think it does).
@JasonLG1979 commented on GitHub (Dec 20, 2021):
libmdnsis mostly functional but is a little rough around the edges. There have been other issues and talk of improving it, but in my mind the best option is to just hook into the underlying system's native implementation (avahi in the case of Linux) and not have our own full mdns implementation. That was also in the works but stalled.@roderickvd commented on GitHub (Dec 21, 2021):
Please report this to the separate
libmdnsrepo. In think it was @willstott101 who did excellent work on that but is not active anymore. I consider improving it as a nice challenge, but like @JasonLG1979 says, it’s mostly functioning now and I’ll be spending my time on many otherlibrespotfeatures first.