Skip to content
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 refusing to connect when signing in #163

Open
dddictionary opened this issue Dec 8, 2021 · 3 comments
Open

localhost refusing to connect when signing in #163

dddictionary opened this issue Dec 8, 2021 · 3 comments

Comments

@dddictionary
Copy link

dddictionary commented Dec 8, 2021

I get a pop up saying I need to sign in, click the pop up to a local host website, but that local website is not loading. Chrome is telling me that localhost refuses to connect. Any solutions?

Reloaded vscode, closed the spotify app. I am running WSL 2 on windows 10. Ubuntu 20.04

I am also checking my spotify connected apps under my account and it tells me that vscode spotify is already connected.

@lorenzejay
Copy link

Try ending debug mode then log in from vscode where you're doing the actual dev work instead of the extension development host. Once you're redirected you can run f5 then you should be logged in on the extension development mode side.

@TalissonOliveira
Copy link

I was having this same issue when I tried to login running WSL 2 on Windows 10.

I solved this by replacing localhost with the Ubuntu IP in the WSL in the URL that the error was happening.

Before: http://localhost:8350/callback?access_token=xxx
After: http://192.168.xxx.xxx:8350/callback?access_token=xxx

I got the IP by running the command hostname -I or ip addr | grep eth0

@taimourxkcd
Copy link

this is not working for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants