You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Hi, we are trying to use Spotify App Remote library to control spotify via voice control inside our application.
Our issue is that from time to time, SpotifyAppRemote.connect fails to connect or report an exception.
It seems that Spotify's service gets in a 'stuck' state where it cannot respond back to client apps.
When this happens, trying to drop / reconnect does not resolve the issue, but a new connection seem to happen,
which is then immediately problematic (same stuck state).
After some indeterminate time that varies from some seconds to several minutes, the situation seems to fix it self, and at that point a number of disconnection and timeout exceptions are reported one after the other for the previously made connection attempts.
Bringing Spotify in the foreground, restarting the app, or killing the background service does not seem to help.
This makes the sdk unusable for us, could you investigate?
Some code attached bellow:
Issue found on 07.JUL.23.
SDK Version: 0.8.0, 0.7.2
OS Version: 11, 12, 13
Code Sample:
We initially (once / on app install) use the following code to get app-remote-control and authorise our app
*Hi, we are trying to use Spotify App Remote library to control spotify via voice control inside our application.
Our issue is that from time to time, SpotifyAppRemote.connect fails to connect or report an exception.
It seems that Spotify's service gets in a 'stuck' state where it cannot respond back to client apps.
When this happens, trying to drop / reconnect does not resolve the issue, but a new connection seem to happen,
which is then immediately problematic (same stuck state).
After some indeterminate time that varies from some seconds to several minutes, the situation seems to fix it self, and at that point a number of disconnection and timeout exceptions are reported one after the other for the previously made connection attempts.
Bringing Spotify in the foreground, restarting the app, or killing the background service does not seem to help.
This makes the sdk unusable for us, could you investigate?
Some code attached bellow:
Issue found on 07.JUL.23.
SDK Version: 0.8.0, 0.7.2
OS Version: 11, 12, 13
Code Sample:
We initially (once / on app install) use the following code to get app-remote-control and authorise our app
As soon as we have a result in onActivityResult, following code is used to access the remote control (and on further app uses):
Steps to reproduce:
Expected behaviour:
App connects or an exception is given
Actual behaviour:
App gets stuck waiting for a connection or exception
The text was updated successfully, but these errors were encountered: