-
Notifications
You must be signed in to change notification settings - Fork 22
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
localhost refused to connect from Docker #65
Comments
@fernandesafp did you find a work around for this? I am running into the same issue. |
Unfortunately not, gave up on it. |
Similar issue for me. I'm running the downloader on a headless linux server, so I need a way to authorize without opening a browser on the server. Maybe a configuration parameter that has the auth code? |
I was able to resolve this issue - a few notes from my troubleshooting: You will need to obtain your Spotify Refresh Token using a separate container/machine with access to a web browser that supports JavaScript rendering i.e Firefox or Chromium. Spotify's authorization URL uses JavaScript rendering, so terminal based browsers such as lynx and w3m will not allow you to authenticate. The Dockerfile for this repo does not come with a window manager preinstalled, so trying to open a web browser from the container will be more work than its worth. Therefore I recommend doing the following:
Hope this helps :) |
I'm running slsk-batchdl from Docker.
After running:
I get:
I tried to open the link but it says connection refused, site can't be reached.
If I run the command outside Docker it works fine. How am I supposed to have this running from Docker?
The text was updated successfully, but these errors were encountered: