mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 16:15:55 +03:00
[GH-ISSUE #669] Cannot install: Error: Address already in use (os error 48) #273
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#273
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 @CaspianA1 on GitHub (Nov 30, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/669
I get this error when trying to configure it via
spt:From there it tries to open a very large Spotify link:
Opened https://accounts.spotify.com/authorize...This page hangs and does nothing. For each time I uninstall
spotify-tuithis link works once (by asking me to confirm a lot of permissions regarding whatsptcan do). After I clickacceptthen that page hangs as well.This is so frustrating - Does anyone know what I am doing wrong?
@Seltonu commented on GitHub (Dec 24, 2020):
The exact same thing happens to me, except the error says "os error 98" instead of 48. But huge link, page hang, all of it.
I've put in my client ID, client secret, and edited the spotify dashboard app to use "http://localhost:8888/callback" as a redirect URI.
@OrangeFran commented on GitHub (Dec 29, 2020):
You can try to change your port, I don't know if it helps though. Normally these
address already in usemessages appear if a process is already using the port, in this case8888. To investigate, maybe have a look atnetstat -lto see all listening processes or evenlsof -i :8888to look at the port and see which processes are using it. I hope this helps. These commands definetely work on macOS and probably on linux too.If you want to try changing the port, change the callback url to something like:
http://localhost:5555/callbackand enter5555when spt is asking you for the port.@CaspianA1 commented on GitHub (Dec 29, 2020):
I'll try that out.
@CaspianA1 commented on GitHub (Dec 29, 2020):
Thank you, changing the port resolved my problem.
@Seltonu commented on GitHub (Dec 29, 2020):
Just commenting to also add it works for me too now, I was going to test a different port as you mentioned but before doing that I tried "lsof -i :8888" and saw nothing was using the port so I went with the default 8888 and it worked. Must've been as you say, some program was using the port and restarting my PC must've cleared it at some point. Thank you!