mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 16:15:55 +03:00
[GH-ISSUE #7] Connection Refused - Linux #6
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#6
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 @delirehberi on GitHub (Oct 7, 2019).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/7
You said it only works for mac, but I want to try in Linux, it seems working but returns an error at the below after facebook log in.
Could not connect: Connection refused.@Rigellute commented on GitHub (Oct 7, 2019):
Hmm... how did you install it on Linux? via
cargo install spotify-tui?This app does work on Linux (I've tested myself), however I've only published a binary for macOS so the homebrew installation will only work on macOS.
At which point do you get that error?
@QuinnFreedman commented on GitHub (Oct 7, 2019):
I'm getting the same problem. I installed from cargo on Ubuntu 19.04
It seems to be at the very last step. I logged in to my Spotify dev console and got my id and secret and added the redirect URL. Then I ran
spt. I entered my info and it opened a login page in my browser. I clicked "Log in with Facebook" and it redirected me tohttp://localhost:8888/callback?code=...but I can't connect to localhost. Chrome says:I know that the connection/proxy/firewall isn't the issue because I connect to localhost:8888 all the time (and yes I checked nothing else was trying to serve on that port at the time)
@QuinnFreedman commented on GitHub (Oct 7, 2019):
I tried manually changing it to
httpsas well and that didn't work either@delirehberi commented on GitHub (Oct 7, 2019):
I installed it with cargo. I runned the app in the same way as @QuinnFreedman. minibuffer.lisp opened Spotify login page, I clicked the facebook login. Returned "connection refused" after success login with facebook. OS: ubuntu 18.04.2 LTS
@alxdb commented on GitHub (Oct 7, 2019):
I just had this same issue, although it isn't really an issue. You will be redirected to a page that doesn't exist (hence connection refused). Just copy paste the url you are redirected to into stdin (as spt instructs you do to after you close the page) and things should work. Perhaps the instructions should be made a little more clear though.
@Rigellute commented on GitHub (Oct 7, 2019):
Exactly @alxdb.
I will explore creating a localhost server for a small webpage to land you on after the redirect.
It definitely feels wrong landing on a page that says it's not loading.
@delirehberi commented on GitHub (Oct 8, 2019):
thanks @alxdb it works c/p the redirected url. how I missed that :)