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

Infinite loop of opening browser tabs - expired access token #284

Open
conor-byrne opened this issue Sep 11, 2021 · 1 comment
Open

Infinite loop of opening browser tabs - expired access token #284

conor-byrne opened this issue Sep 11, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@conor-byrne
Copy link

Version: v0.9.4
Platform: Windows 10

Audio band is causing the following seemingly infinite loop:

  • cmd window pops up and disappears (too quick for me to see what command it's running, but I presume its just opening a browser tab)
  • a new browser tab opens to 'Login - Spotify'

This repeats about every 2-3 seconds and only stops when I untick Spotify from audio sources.
It also a bit of a challenge to get it to stop as when the cmd window pops up I lose cursor focus and have to right click on audio band again and try to untick spotify before the next cmd window pops up.

Logs show lots and lots of the following:

2021-09-11 18:17:42.0526|DEBUG|AudioSource(Spotify)|Connecting to spotify
2021-09-11 18:17:43.2966|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired
2021-09-11 18:17:43.2966|DEBUG|AudioSource(Spotify)|Getting new access token
2021-09-11 18:17:43.4606|WARN|AudioSource(Spotify)|Error getting new token. Requesting new refresh token. Error: invalid_request|refresh_token must be supplied
2021-09-11 18:17:43.4606|DEBUG|AudioSource(Spotify)|Connecting to spotify
2021-09-11 18:17:44.8466|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired
2021-09-11 18:17:44.8466|DEBUG|AudioSource(Spotify)|Getting new access token
2021-09-11 18:17:44.9666|WARN|AudioSource(Spotify)|Error getting new token. Requesting new refresh token. Error: invalid_request|refresh_token must be supplied
2021-09-11 18:17:44.9666|DEBUG|AudioSource(Spotify)|Connecting to spotify
2021-09-11 18:17:46.1661|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired
2021-09-11 18:17:46.1661|DEBUG|AudioSource(Spotify)|Getting new access token
2021-09-11 18:17:46.2938|WARN|AudioSource(Spotify)|Error getting new token. Requesting new refresh token. Error: invalid_request|refresh_token must be supplied
2021-09-11 18:17:46.2938|DEBUG|AudioSource(Spotify)|Connecting to spotify
2021-09-11 18:17:47.5773|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired
2021-09-11 18:17:47.5773|DEBUG|AudioSource(Spotify)|Getting new access token
2021-09-11 18:17:47.7293|WARN|AudioSource(Spotify)|Error getting new token. Requesting new refresh token. Error: invalid_request|refresh_token must be supplied
2021-09-11 18:17:47.7293|DEBUG|AudioSource(Spotify)|Connecting to spotify
2021-09-11 18:17:48.9128|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired
2021-09-11 18:17:48.9128|DEBUG|AudioSource(Spotify)|Getting new access token
2021-09-11 18:17:49.0598|WARN|AudioSource(Spotify)|Error getting new token. Requesting new refresh token. Error: invalid_request|refresh_token must be supplied
2021-09-11 18:17:49.0598|DEBUG|AudioSource(Spotify)|Connecting to spotify
2021-09-11 18:17:50.2512|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired
2021-09-11 18:17:50.2512|DEBUG|AudioSource(Spotify)|Getting new access token
2021-09-11 18:17:50.3792|WARN|AudioSource(Spotify)|Error getting new token. Requesting new refresh token. Error: invalid_request|refresh_token must be supplied
2021-09-11 18:17:50.3792|DEBUG|AudioSource(Spotify)|Connecting to spotify
2021-09-11 18:17:51.5472|WARN|AudioSource(Spotify)|Error while trying to get playback. Code: 401. Message: The access token expired
2021-09-11 18:17:51.5472|DEBUG|AudioSource(Spotify)|Getting new access token
2021-09-11 18:17:51.7233|WARN|AudioSource(Spotify)|Error getting new token. Requesting new refresh token. Error: invalid_request|refresh_token must be supplied
@conor-byrne conor-byrne added the bug Something isn't working label Sep 11, 2021
@conor-byrne conor-byrne changed the title Infinite loop of opening browser tabs - invalid access token Infinite loop of opening browser tabs - expired access token Sep 11, 2021
@kodbulten
Copy link

Use svr333's fork instead: https://github.com/svr333/audio-band

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants