<?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: Android Spotify App Remote `AuthenticationFailedException` When Networks Unavailable in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-Spotify-App-Remote-AuthenticationFailedException-When/m-p/5418887#M5343</link>
    <description>&lt;P&gt;Thanks for sharing!&amp;nbsp; I have not received a resolution yet. I've reported a couple of issues here on the forum, but I've never received a reply from Spotify.&amp;nbsp; I did reach out to @SpotifyCares via a DM on Twitter.&amp;nbsp; They did respond, but actually just asked me to post to the forum again.&amp;nbsp; When I mentioned I've not been getting responses here, they asked me to post to the Android SDK's Github.&amp;nbsp; I did, but also still haven't heard anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/spotify/android-sdk/issues/330" target="_blank"&gt;https://github.com/spotify/android-sdk/issues/330&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect something has changed in the Spotify app itself which is causing the Spotify Android SDK to no longer function without network.&amp;nbsp; I'd recommend you reach out to @SpotifyCares via DM on Twitter and refer to this very post on the community to see if they will escalate.&amp;nbsp; You could also comment on the Github issue above to try and increase the priority.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we are persistent in communicating new issues and issues that are not being addressed I'm hopeful we'll here from Spotify.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2022 19:30:24 GMT</pubDate>
    <dc:creator>Abominabl31</dc:creator>
    <dc:date>2022-08-18T19:30:24Z</dc:date>
    <item>
      <title>Android Spotify App Remote `AuthenticationFailedException` When Networks Unavailable</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-Spotify-App-Remote-AuthenticationFailedException-When/m-p/5415218#M5223</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan: Premium&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country: United States&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device: Google Pixel 6 Pro&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System: Android 12&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Recently, Spotify App Remote 0.7.2 has stopped working completely when my device is in airplane mode, has no network or has poor network coverage.&amp;nbsp; This used to work really, really well.&amp;nbsp; When I first integrated my app with Spotify App Remote and could initially use the connect method to obtain a working connection while offline, then continue to create working connections upon cold starts of my app process or the Spotify app while in poor to no network.&amp;nbsp; This would let my app request tracks by URI, so long as they were cached or downloaded.&amp;nbsp; This no longer works.&amp;nbsp; For a a mobile app, not having offline support makes Spotify App Remote no longer a viable solution.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please help!&amp;nbsp; There have been other posts referencing this exception here on the forum, but no replies (Just Google for the exception name).&amp;nbsp; Spotify Cares on Twitter suggested to post here.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected Behavior: After an app successfully connects Spotify App Remote while online and obtains the required user scope via the auth view, similar attempts to connect should succeed when a network connection is unavailable.&amp;nbsp; If a measure of grace period time expires without a successful network connection, Spotify App Remote might deny a connection as it did once upon a time using a detailed exception type, code and message so the consuming app can notify users why the connection was denied and prompt them to try again when online.&amp;nbsp; Spotify App Remote should be able to play downloaded and cached tracks by their URI when offline.&amp;nbsp; Spotify App Remote should have reliable offline functionality in airplane mode and during poor network conditions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actual Result: A vague exception is thrown by connection attempts and Spotify App Remote cannot be used offline immediately after putting the device in airplane mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;com.spotify.android.appremote.api.error.AuthenticationFailedException: {“message”:“Could not authenticate within 60 s. It is possible that there\u0027s an issue with Spotify auth services or the connection is unstable”}&lt;BR /&gt;at com.spotify.android.appremote.api.LocalConnector.asAppRemoteException(LocalConnector.java:137)&lt;BR /&gt;at com.spotify.android.appremote.api.LocalConnector.access$000(LocalConnector.java:34)&lt;BR /&gt;at com.spotify.android.appremote.api.LocalConnector$1.onConnectionFailed(LocalConnector.java:117)&lt;BR /&gt;at com.spotify.android.appremote.internal.SdkRemoteClientConnector$ConnectionTask.onPostExecute(SdkRemoteClientConnector.java:162)&lt;BR /&gt;at com.spotify.android.appremote.internal.SdkRemoteClientConnector$ConnectionTask.onPostExecute(SdkRemoteClientConnector.java:95)&lt;BR /&gt;at android.os.AsyncTask.finish(AsyncTask.java:771)&lt;BR /&gt;at android.os.AsyncTask.access$900(AsyncTask.java:199)&lt;BR /&gt;at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)&lt;BR /&gt;at android.os.Handler.dispatchMessage(Handler.java:106)&lt;BR /&gt;at android.os.Looper.loopOnce(Looper.java:201)&lt;BR /&gt;at android.os.Looper.loop(Looper.java:288)&lt;BR /&gt;at android.app.ActivityThread.main(ActivityThread.java:7870)&lt;BR /&gt;at java.lang.reflect.Method.invoke(Native Method)&lt;BR /&gt;at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)&lt;BR /&gt;at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)&lt;BR /&gt;Caused by: 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”}&lt;BR /&gt;at com.spotify.protocol.client.RemoteWampClient.getRemoteClientException(RemoteWampClient.java:139)&lt;BR /&gt;at com.spotify.protocol.client.RemoteWampClient.access$200(RemoteWampClient.java:16)&lt;BR /&gt;at com.spotify.protocol.client.RemoteWampClient$1.onAbort(RemoteWampClient.java:44)&lt;BR /&gt;at com.spotify.protocol.client.WampRouterImpl.routeAbort(WampRouterImpl.java:100)&lt;BR /&gt;at com.spotify.protocol.client.WampRouterImpl.route(WampRouterImpl.java:26)&lt;BR /&gt;at com.spotify.protocol.client.AppProtocolCommunicator.onData(AppProtocolCommunicator.java:78)&lt;BR /&gt;at com.spotify.android.appremote.internal.RemoteServiceIo.handleMessage(RemoteServiceIo.java:111)&lt;BR /&gt;at com.spotify.android.appremote.internal.RemoteServiceIo.access$000(RemoteServiceIo.java:45)&lt;BR /&gt;at com.spotify.android.appremote.internal.RemoteServiceIo$IncomingHandler.handleMessage(RemoteServiceIo.java:89)&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>Wed, 10 Aug 2022 05:14:08 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-Spotify-App-Remote-AuthenticationFailedException-When/m-p/5415218#M5223</guid>
      <dc:creator>Abominabl31</dc:creator>
      <dc:date>2022-08-10T05:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Android Spotify App Remote `AuthenticationFailedException` When Networks Unavailable</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-Spotify-App-Remote-AuthenticationFailedException-When/m-p/5418643#M5320</link>
      <description>&lt;P&gt;I am having the same issue!! Have you received any reply?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 08:46:55 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-Spotify-App-Remote-AuthenticationFailedException-When/m-p/5418643#M5320</guid>
      <dc:creator>sheri-k</dc:creator>
      <dc:date>2022-08-18T08:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Android Spotify App Remote `AuthenticationFailedException` When Networks Unavailable</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Android-Spotify-App-Remote-AuthenticationFailedException-When/m-p/5418887#M5343</link>
      <description>&lt;P&gt;Thanks for sharing!&amp;nbsp; I have not received a resolution yet. I've reported a couple of issues here on the forum, but I've never received a reply from Spotify.&amp;nbsp; I did reach out to @SpotifyCares via a DM on Twitter.&amp;nbsp; They did respond, but actually just asked me to post to the forum again.&amp;nbsp; When I mentioned I've not been getting responses here, they asked me to post to the Android SDK's Github.&amp;nbsp; I did, but also still haven't heard anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/spotify/android-sdk/issues/330" target="_blank"&gt;https://github.com/spotify/android-sdk/issues/330&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect something has changed in the Spotify app itself which is causing the Spotify Android SDK to no longer function without network.&amp;nbsp; I'd recommend you reach out to @SpotifyCares via DM on Twitter and refer to this very post on the community to see if they will escalate.&amp;nbsp; You could also comment on the Github issue above to try and increase the priority.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we are persistent in communicating new issues and issues that are not being addressed I'm hopeful we'll here from Spotify.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 19:30:24 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Android-Spotify-App-Remote-AuthenticationFailedException-When/m-p/5418887#M5343</guid>
      <dc:creator>Abominabl31</dc:creator>
      <dc:date>2022-08-18T19:30:24Z</dc:date>
    </item>
  </channel>
</rss>

