Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Connection to android sdk not established with 'Result was not delivered on time'

Connection to android sdk not established with 'Result was not delivered on time'

The issue found on DATE.
10 April 2020

SDK Version:

AppRemote 0.7.0
Auth 1.2.3

OS Version:

Android 9 Motorola one vision (XT1970-3)

Scope(s): Steps to reproduce:

  1. Receiving code from LoginActivity of Spotify
  2. Connecting to SpotifyAppRemote
  3. After 30 seconds of waiting the SpotifyAppRemoteException arises.

Expected behavior:

The connection is established successfully.

Actual behavior:

The SpotifyAppRemote.connect()'s onFailure() is called with the following exception:

 

error_log_spotify.jpg

 

 

What does fix the issue and leads to the successful connection establishing is navigating to Spotify app, starting it, and then throwing it off the 'recents' (starting the app only does not help).

 

I have found out that this response was coming from the AsyncTask called SdkRemoteClientConnector.ConnectionTask when exceeded 30 seconds of waiting for the message to handle after calling RemoteServiceIo's method connect(), intended to start and/or bind Spotify service with action com.spotify.mobile.appprotocol.action.START_APP_PROTOCOL_SERVICE. 

Reply
1 Reply

Hi i get the same type of error but when i have no internet connection at all,
One of my goals is to use the sdk playerApi when i got no internet too, beacause i have spotify premium and i can play song going offline, so i think it could be reasonable to spect that. It 's posible to do that??

 

regards

Suggested posts