mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #118] Connection refused when trying to run a auth example. #55
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#55
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 @c0nn3r on GitHub (Sep 23, 2016).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/118
After a night of debugging, I am convinced that something is wrong here. I am running the example that tries to get a user's shared tracks:
My callback URL is https://localhost:8888/callback/, when I run the program it quickly redirects me to a URL with a code attached, but when I copy it into the prompt in the program I get an error.
I'm not sure what is going on as I directly copied my program ID, the program callback url and my program's secret right into the env variables.
Any help fixing this problem would be appreciated.
@eugenio412 commented on GitHub (Sep 23, 2016):
Something wrong with the token, are you using a token enabled to get user saved tracks? You must add the right ticks generating the token on Spotify web API website
@c0nn3r commented on GitHub (Sep 23, 2016):
I'm not sure what you mean, I generated my client ID and my client secret on
https://developer.spotify.com/my-applications/#!/applicationsis this not the right place? Thanks for the response!@eugenio412 commented on GitHub (Sep 27, 2016):
I mean you need to add the right scope for the token
@tahsinac commented on GitHub (Aug 16, 2018):
Wow, this is almost 2 years old now. Probably a shot in the dark, but did you manage to figure out (and remember) what it was that caused this error? I'm getting the exact same error.
@1llusion commented on GitHub (May 18, 2019):
Getting the same error. Seems to happen when there are repeatedly too many connections.
@deekay2310 commented on GitHub (Oct 3, 2019):
Anyone with a solution? Experiencing the same error
@shillshocked commented on GitHub (Oct 23, 2019):
I'm getting this error too sometimes.
@deekay2310 commented on GitHub (Oct 24, 2019):
Refreshed the access tokens and pasted the new one. It worked for me but it is more of a makeshift solution rather than a permanent one. Also, didn't experience the same issue after having pasted the new tokens.
@psl11 commented on GitHub (Feb 8, 2020):
OMG. It also worked for me, but don't know why... 🤦♂
@lawuysal commented on GitHub (May 21, 2023):
How to refresh it? I'm using flutter and I stuck where it comes from a authentication http request. Just shows localhost:8888/calback/code=...... and net:ERR_CONNECTION_REFUSED