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

Spotify no longer working? Spotify app recently updated. #283

Open
samsong opened this issue Sep 2, 2021 · 2 comments
Open

Spotify no longer working? Spotify app recently updated. #283

samsong opened this issue Sep 2, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@samsong
Copy link

samsong commented Sep 2, 2021

Spotify no longer works possibly due to spotify app or api update????

  • media buttons not working: play,pause,repeat,shuffle,track progress
  • media buttons working: next/prev track
    -- next/prev track works
  • song info/album etc do not display

Tried

  • restarting windows, closing,reopening Audioband toolbar
  • changing audio source from spotify to other & back to spotify
  • as above, API key etc are OK because the toolbar partially works...

Version Info

  • Windows 10 - 21H1
  • AudioBand Version 0.9.4

Logs

`

2021-09-03 09:22:09.6523|ERROR|AudioSource(Spotify)|System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'api.spotify.com'
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SpotifyAPI.Web.SpotifyWebClient.d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SpotifyAPI.Web.SpotifyWebClient.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SpotifyAPI.Web.SpotifyWebClient.d__131.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at SpotifyAPI.Web.SpotifyWebAPI.<DownloadDataAsync>d__2271.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SpotifyAudioSource.SpotifyAudioSource.d__91.MoveNext() in d:\a\1\s\src\SpotifyAudioSource\SpotifyAudioSource.cs:line 434
---START OF EXCEPTION---

---END OF EXCEPTION---
---ORIGINAL EXCEPTION---
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'api.spotify.com'
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SpotifyAPI.Web.SpotifyWebClient.d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SpotifyAPI.Web.SpotifyWebClient.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SpotifyAPI.Web.SpotifyWebClient.d__131.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at SpotifyAPI.Web.SpotifyWebAPI.<DownloadDataAsync>d__2271.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SpotifyAudioSource.SpotifyAudioSource.d__91.MoveNext() in d:\a\1\s\src\SpotifyAudioSource\SpotifyAudioSource.cs:line 434
---END OF ORIGINAL EXCEPTION

2021-09-03 09:58:20.7550|DEBUG|AudioBand.UI.AudioBandToolbarViewModel|Deactivating current audio source "Spotify"
2021-09-03 09:58:20.7550|DEBUG|AudioBand.UI.AudioBandToolbarViewModel|Activating new audio source "Music Bee"
2021-09-03 09:58:22.5881|DEBUG|AudioBand.UI.AudioBandToolbarViewModel|Deactivating current audio source "Music Bee"
2021-09-03 09:58:22.5881|DEBUG|AudioBand.UI.AudioBandToolbarViewModel|Activating new audio source "Spotify"
2021-09-03 09:58:22.5881|DEBUG|AudioSource(Spotify)|Connecting to spotify
2021-09-03 09:58:22.5881|DEBUG|AudioSource(Spotify)|Reusing old refresh token
2021-09-03 09:58:22.5881|DEBUG|AudioSource(Spotify)|Getting new access token
2021-09-03 09:58:23.0821|DEBUG|AudioSource(Spotify)|Received new access token. Expires in: 01:00:00 (At 3/09/2021 10:58:23 am)
2021-09-03 09:59:03.4328|WARN|AudioSource(Spotify)|Error with player command [SetShuffleAsync]: Code = '404', Message = 'Player command failed: No active device found'`

@samsong samsong added the bug Something isn't working label Sep 2, 2021
@svr333
Copy link

svr333 commented Sep 6, 2021

@samsong this project is no longer maintained but My Fork is
Though from the stacktrace you posted it looks like you're just offline and then afterwards it connected properly but there was no device playing any music

You can try out my latest release and if the issue still persists Ill try to help you to fix it!

@samsong
Copy link
Author

samsong commented Sep 6, 2021

nice one man thank you I will follow & get your release

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