mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #278] Librespot connection issue #188
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#188
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 @t0k4rt on GitHub (Dec 6, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/278
Hello all,
I'm seeking guidance about a network issue.
I got a router hardware upgrade from my isp.
Since then I cannot connect.
My internal newtork has ipV6, I disabled it but it changed nothing
My questions:
Is there any debug mode for librespot ?
What tool could I use to debug this ?
Can it be a NAT traversal problem ?
Does spotify connect uses upnp ?
thanks for your insights
@johncalvinyoung commented on GitHub (Dec 6, 2018):
It’s quite possibly a broken multicast implementation in your ISP router. I had a similar problem, and discovered that the otherwise-excellent router essentially could not forward multicast correctly (I think it WOULD work for IPv6 and not IPv4, but Spotify prefers the other, or something like that), and multicast -> zeroconf/avahi/Bonjour -> mDNS -> how librespot advertises itself on the network as an available speaker.
@t0k4rt commented on GitHub (Dec 6, 2018):
Thanks for your response,
Sorry but I forgot to mention that it appears correctly in my spotify connect devices.
The problem is that it refuses to connect on my internal network.
On my work network it works properly.
I can't see what could block
thanks again for your help !
@ashthespy commented on GitHub (Dec 6, 2018):
Logs are available by running
librespotwith the--verboseflag.librespotuses theenv_loggermodule to handle logs internally.So
RUST_LOG=mdns=trace ./librespotwith your usual arguments will enable logs for themdnsmodule. Might help you figure out whats going on.@t0k4rt commented on GitHub (Dec 6, 2018):
Thanks a lot,
I'll try this asap !
@t0k4rt commented on GitHub (Dec 7, 2018):
Librespot seems to fail to connect to remote server.
Could my isp block this address ?
@t0k4rt commented on GitHub (Dec 8, 2018):
Ok, I found the solution
It was related to my new isp router which was filtering all outbound connections by default.
Thanks for the help and sorry for the disturbance !