Skip to content

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

@conor-byrne

Description

@conor-byrne

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions