-
Notifications
You must be signed in to change notification settings - Fork 653
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
CLI Application freezes when trying to connect #1456
Comments
Seems like it's getting stuck while opening the TCP connection to the access point. I suppose you can reproduce the issue reliable? This sounds a bit similar to #1437. Could you check your cpu usage when you run into the issue? An just some possible ways to get it working, which don't solve the underlying issue:
|
I think you're right thinking it's TCP:
|
Are you sure you don't have a firewall blocking port 4070? |
I feel stupid now, I was connected though my company's VPN which was probably blocking the TCP connections. |
I used to have this exact same problem when I forgot I was connected through a VPN. And I sorted it with #1350 but that's weirdly not helping you. edit: maybe the connection itself is established OK but then the Spotify handshake communication is blocked - we've no timeout for that. We could add logging, or move the timeout to also include the handshake. These things should be made easier to debug. |
Description
I'm using the example command listed in the usage section of the README.
Librespot starts up as usual and is detected properly in the Spotify Desktop Client.
When I try to connect the librespot application freezes, and can't be terminated using the CTRL+C shortcut.
I've tried it on my home network and also on LTE using an Android Hotspot.
Version
How to reproduce
librespot --verbose --name librespot
Log
Host (what you are running
librespot
on):Thanks in advance for your help. Please ask if you need more information.
The text was updated successfully, but these errors were encountered: