Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
Plan
Premium
Country
Switzerland
Device
(HTC U11, Samsung Galaxy S10e)
Operating System
(Android 9 / 12)
Versions
SpotifyAppRemote: 0.7.2
Spotify: 8.7.28.1217
My Question or Issue
Hi,
I wonder if it is possible to establish the connection with SpotifyAppRemote to Spotify when the device is offline. If I try so, there is a timeout after 60s with the message "Could not authenticate within 60 s. It is possible that there's an issue with Spotify auth services or the connection is unstable".
I found contradictive statements.
offline-mobile-sdk/ -> here it sounds like it should be possible
app-remote-lib/ -> and here it doesn't
So I would be very glad if someone could fill me in on this.
Thanks in advance
Silvan
My stacktrace:
2022-05-10 09:28:11.313 11223-11528/com.ruwido.reach D/SPOTIFY_APP_REMOTE: Start remote client
2022-05-10 09:28:11.337 11223-11528/com.ruwido.reach D/SPOTIFY_APP_REMOTE: Connecting to Spotify service
2022-05-10 09:28:11.459 11223-11223/com.ruwido.reach D/SPOTIFY_APP_REMOTE: Spotify service connected
2022-05-10 09:29:11.523 11223-11223/com.ruwido.reach D/SPOTIFY_APP_REMOTE: Message from Spotify: [3,{"message":"Could not authenticate within 60 s. It is possible that there's an issue with Spotify auth services or the connection is unstable"},"com.spotify.error.client_authentication_failed"]
2022-05-10 09:29:11.548 11223-11223/com.ruwido.reach D/SPOTIFY_APP_REMOTE: Connection failed.
com.spotify.protocol.client.error.RemoteClientException: {"message":"Could not authenticate within 60 s. It is possible that there\u0027s an issue with Spotify auth services or the connection is unstable"}
at com.spotify.protocol.client.RemoteWampClient.getRemoteClientException(RemoteWampClient.java:139)
at com.spotify.protocol.client.RemoteWampClient.access$200(RemoteWampClient.java:16)
at com.spotify.protocol.client.RemoteWampClient$1.onAbort(RemoteWampClient.java:44)
at com.spotify.protocol.client.WampRouterImpl.routeAbort(WampRouterImpl.java:100)
at com.spotify.protocol.client.WampRouterImpl.route(WampRouterImpl.java:26)
at com.spotify.protocol.client.AppProtocolCommunicator.onData(AppProtocolCommunicator.java:78)
at com.spotify.android.appremote.internal.RemoteServiceIo.handleMessage(RemoteServiceIo.java:111)
at com.spotify.android.appremote.internal.RemoteServiceIo.access$000(RemoteServiceIo.java:45)
at com.spotify.android.appremote.internal.RemoteServiceIo$IncomingHandler.handleMessage(RemoteServiceIo.java:89)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:210)
at android.app.ActivityThread.main(ActivityThread.java:7124)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:898)
I also have this problem and it is very annoying, because it was working a few months ago. I can't exactly put my finger on the exact time that it stopped. The only way that I can get the SpotifyAppRemote.connect call to succeed offline (after being connected online and getting disconnected) is if I put the Spotify app into offline mode. But, this shouldn't be necessary according to the docs.
WOULD LOVE SOME HELP!!
This post has helped me a lot and changed my all mood. Thank you so much.
Same here, I have an popular alarm clock app and users just can't play alarms in the morning even they have them downloaded offline, it just stays in the connecting state for 60 seconds and then "Could not authenticate within 60 s. It is possible that there's an issue with Spotify auth services or the connection is unstable".
I'm also on the latest 0.7.2 remote play library.. Any news on this?
BTW I have double check that all the conditions for offline playback are met in my case:
I can confirm I can authenticate when the Spotify app is turned into offline mode..
Still having the same issue.
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…