<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Connect SpotifyAppRemote when offline in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5601613#M9758</link>
    <description>&lt;P&gt;Still having the same issue.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 17:36:21 GMT</pubDate>
    <dc:creator>nicholaschum</dc:creator>
    <dc:date>2023-06-27T17:36:21Z</dc:date>
    <item>
      <title>Connect SpotifyAppRemote when offline</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5380018#M4549</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Switzerland&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(HTC U11, Samsung Galaxy S10e)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(Android 9 / 12)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Versions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SpotifyAppRemote: 0.7.2&lt;/P&gt;&lt;P&gt;Spotify: 8.7.28.1217&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;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 &lt;EM&gt;"Could not authenticate within 60 s. It is possible that there's an issue with Spotify auth services or the connection is unstable"&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found contradictive statements.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.spotify.com/community/news/2019/11/27/offline-mobile-sdk/" target="_blank" rel="noopener"&gt;offline-mobile-sdk/&lt;/A&gt;&amp;nbsp; -&amp;gt; here it sounds like it should be possible&lt;/P&gt;&lt;P&gt;&lt;A href="https://spotify.github.io/android-sdk/app-remote-lib/" target="_blank" rel="noopener"&gt;app-remote-lib/&lt;/A&gt;&amp;nbsp;-&amp;gt; and here it doesn't&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I would be very glad if someone could fill me in on this.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Silvan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My stacktrace:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;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)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 08:15:25 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5380018#M4549</guid>
      <dc:creator>silvan_</dc:creator>
      <dc:date>2022-05-10T08:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SpotifyAppRemote when offline</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5420333#M5430</link>
      <description>&lt;P&gt;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.&amp;nbsp; 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.&amp;nbsp; But, this shouldn't be necessary according to the docs.&lt;/P&gt;&lt;P&gt;WOULD LOVE SOME HELP!!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 06:10:37 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5420333#M5430</guid>
      <dc:creator>sheri-k</dc:creator>
      <dc:date>2022-08-23T06:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SpotifyAppRemote when offline</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5420437#M5436</link>
      <description>&lt;P&gt;This post has helped me a lot and changed my all mood. Thank you so much.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 11:23:43 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5420437#M5436</guid>
      <dc:creator>Rehbr</dc:creator>
      <dc:date>2022-08-23T11:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SpotifyAppRemote when offline</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5420979#M5487</link>
      <description>Thanks for your feedback. This is also still an issue from me. I haven't&lt;BR /&gt;gotten any news from Spotify. I'd recommend posting a DM to @SpotifyCares&lt;BR /&gt;on Twitter and posting to the GitHub issue I created (which should be&lt;BR /&gt;linked above on this thread).&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Aug 2022 14:49:48 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5420979#M5487</guid>
      <dc:creator>Abominabl31</dc:creator>
      <dc:date>2022-08-24T14:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SpotifyAppRemote when offline</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5462574#M7149</link>
      <description>&lt;P&gt;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&amp;nbsp;&lt;EM&gt;"Could not authenticate within 60 s. It is possible that there's an issue with Spotify auth services or the connection is unstable"&lt;/EM&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm also on the latest 0.7.2 remote play library.. Any news on this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 13:46:01 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5462574#M7149</guid>
      <dc:creator>PetrNalevka</dc:creator>
      <dc:date>2022-11-25T13:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SpotifyAppRemote when offline</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5462577#M7150</link>
      <description>&lt;P&gt;BTW I have double check that all the conditions for offline playback are met in my case:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Latest Spotify Android app (I hope the requirement for the iOS app for Android SDK as of this link &lt;A href="https://developer.spotify.com/community/news/2019/11/27/offline-mobile-sdk/" target="_blank" rel="noopener"&gt;https://developer.spotify.com/community/news/2019/11/27/offline-mobile-sdk/&lt;/A&gt;&amp;nbsp;is just a copypaste error?)&lt;/LI&gt;&lt;LI&gt;The user has authenticated online in the past&lt;/LI&gt;&lt;LI&gt;The device has been offline for no more than 24 hours&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I can confirm I can authenticate when the Spotify app is turned into offline mode..&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 13:53:53 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5462577#M7150</guid>
      <dc:creator>PetrNalevka</dc:creator>
      <dc:date>2022-11-25T13:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Connect SpotifyAppRemote when offline</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5601613#M9758</link>
      <description>&lt;P&gt;Still having the same issue.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 17:36:21 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Connect-SpotifyAppRemote-when-offline/m-p/5601613#M9758</guid>
      <dc:creator>nicholaschum</dc:creator>
      <dc:date>2023-06-27T17:36:21Z</dc:date>
    </item>
  </channel>
</rss>

