<?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 [Linux] Can't log in, error code 2. in Desktop (Linux)</title>
    <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1249844#M4196</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been using spotify for a few weeks now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently tried to reinstall the desktop app on my Arch Linux system, while I was trying to fix a playlist issue, but since then, I can't log in with it any more. Before that, I could log in fine for 3 to 4 weeks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently using version 1.0.19.106.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also use spotify on my phone (android), on another computer on windows (same network as the linux one) , and I even tried the web app. On each of these, I can log in just fine. It's just on linux that I can't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every time, I get this error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.spotify.com/t5/image/serverpage/image-id/31994iF21803A66AE8293A/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="errorcode2.jpg" title="errorcode2.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried talking with SpotifyCares on twitter, but their last answer was that there isn't any official support for linux, and I should try my luck here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also tried to do a proper reinstall of the app, so uninstall, rm the ~/.config/spotify folder, and reinstall. No dice.&lt;/P&gt;&lt;P&gt;For those who know arch, I'm using the AUR package. For the others, it's a non-official but widely used user repository, basically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully, you guys may have an idea of what's happening, or things I could try to fix this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Dec 2015 12:24:45 GMT</pubDate>
    <dc:creator>kryoox</dc:creator>
    <dc:date>2015-12-04T12:24:45Z</dc:date>
    <item>
      <title>[Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1249844#M4196</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been using spotify for a few weeks now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently tried to reinstall the desktop app on my Arch Linux system, while I was trying to fix a playlist issue, but since then, I can't log in with it any more. Before that, I could log in fine for 3 to 4 weeks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently using version 1.0.19.106.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also use spotify on my phone (android), on another computer on windows (same network as the linux one) , and I even tried the web app. On each of these, I can log in just fine. It's just on linux that I can't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every time, I get this error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.spotify.com/t5/image/serverpage/image-id/31994iF21803A66AE8293A/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="errorcode2.jpg" title="errorcode2.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried talking with SpotifyCares on twitter, but their last answer was that there isn't any official support for linux, and I should try my luck here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also tried to do a proper reinstall of the app, so uninstall, rm the ~/.config/spotify folder, and reinstall. No dice.&lt;/P&gt;&lt;P&gt;For those who know arch, I'm using the AUR package. For the others, it's a non-official but widely used user repository, basically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully, you guys may have an idea of what's happening, or things I could try to fix this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 12:24:45 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1249844#M4196</guid>
      <dc:creator>kryoox</dc:creator>
      <dc:date>2015-12-04T12:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250606#M4197</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/3144929"&gt;@kryoox﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to Spotify Community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you strace&amp;nbsp;spotify and let me know the outcome?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;strace spotify &amp;gt; $HOME/spotify-dump 2&amp;gt;&amp;amp;1&lt;/PRE&gt;</description>
      <pubDate>Sat, 05 Dec 2015 18:08:16 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250606#M4197</guid>
      <dc:creator>Dreadlord</dc:creator>
      <dc:date>2015-12-05T18:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250728#M4198</link>
      <description>&lt;P&gt;Hey @&lt;SPAN class="UserName lia-user-name lia-user-rank-National-Tour"&gt;&lt;A href="https://community.spotify.com/t5/user/viewprofilepage/user-id/1799509" target="_blank"&gt;&lt;SPAN class="login-bold"&gt;Dreadlord&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt; !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the output, hopefully it helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT : A pastebin might be better ^^&lt;/P&gt;&lt;P&gt;&lt;A href="http://pastebin.com/Tt95mjNZ" target="_blank"&gt;http://pastebin.com/Tt95mjNZ&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2015 00:00:36 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250728#M4198</guid>
      <dc:creator>kryoox</dc:creator>
      <dc:date>2015-12-06T00:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250734#M4199</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/3144929"&gt;@kryoox﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like connectivity issue.&lt;/P&gt;
&lt;P&gt;Can you ping/tracert any of this servers :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;194.132.196.162
194.132.168.146
194.132.169.67&lt;BR /&gt;&lt;SPAN&gt;194.132.169.116&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;194.132.198.50&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Can you also confirm if there are any restriction on your end for the following ports:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;443
4070
80&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Edit : Can you try using the google dns server?&lt;/P&gt;
&lt;PRE&gt;sudo vi /etc/resolv.conf&lt;/PRE&gt;
&lt;PRE&gt;nameserver 8.8.8.8
nameserver 8.8.4.4&lt;/PRE&gt;</description>
      <pubDate>Sun, 06 Dec 2015 00:15:03 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250734#M4199</guid>
      <dc:creator>Dreadlord</dc:creator>
      <dc:date>2015-12-06T00:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250747#M4200</link>
      <description>&lt;P&gt;I can ping those 5 servers without any problem, both with the google dns and the ones I usually use (openNIC). And the latency is not crazy (42ms average).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the ports, I haven't edited the configuration of my router in months now. Those 3 are open, just as they were back when it worked. I haven't changed anything about them.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2015 00:39:50 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250747#M4200</guid>
      <dc:creator>kryoox</dc:creator>
      <dc:date>2015-12-06T00:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250754#M4201</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/3144929"&gt;@kryoox﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you tell me your Spotify and libssl versions?&lt;/P&gt;
&lt;P&gt;I am kinda&amp;nbsp;suspicious that the issue is related to libssl.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2015 01:05:08 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250754#M4201</guid>
      <dc:creator>Dreadlord</dc:creator>
      <dc:date>2015-12-06T01:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250756#M4202</link>
      <description>&lt;P&gt;Spotify : 1.0.19.106&lt;/P&gt;&lt;P&gt;LibSSL : OpenSSL 1.0.2e&lt;/P&gt;</description>
      <pubDate>Sun, 06 Dec 2015 01:08:52 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1250756#M4202</guid>
      <dc:creator>kryoox</dc:creator>
      <dc:date>2015-12-06T01:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1333440#M4203</link>
      <description>&lt;P&gt;I have the same problem. did You solved?&lt;/P&gt;&lt;P&gt;here is my strace&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://pastebin.com/YxUVTHeR" target="_blank"&gt;http://pastebin.com/YxUVTHeR&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 19:18:52 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1333440#M4203</guid>
      <dc:creator>gleydsonsilva</dc:creator>
      <dc:date>2016-04-25T19:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1333455#M4204</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/5181876"&gt;@gleydsonsilva﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you start Spotify from the terminal like this and let me know if it works:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;spotify --ap=194.132.196.162&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Apr 2016 19:31:22 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1333455#M4204</guid>
      <dc:creator>Dreadlord</dc:creator>
      <dc:date>2016-04-25T19:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1333512#M4205</link>
      <description>&lt;P&gt;It works @&lt;SPAN class="login-bold"&gt;&lt;A href="https://community.spotify.com/t5/user/viewprofilepage/user-id/1799509" target="_blank"&gt;Dreadlord&lt;/A&gt;. How can i make this permanent ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 20:34:05 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1333512#M4205</guid>
      <dc:creator>gleydsonsilva</dc:creator>
      <dc:date>2016-04-25T20:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1333523#M4206</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/5181876"&gt;@gleydsonsilva﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can give you kinda decent workaround on that, but you will have to start Spotify only from the Unity launcher ( if you are using Ubuntu ).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="First you have to lock Spotify to Launcher" style="width: 222px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/35132i9CEBA2317D1638B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2016-04-25 at 11.54.21 PM.png" alt="First you have to lock Spotify to Launcher" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;First you have to lock Spotify to Launcher&lt;/span&gt;&lt;/span&gt;﻿&lt;/P&gt;
&lt;P&gt;Open up terminal and edit the&amp;nbsp;/usr/share/applications/spotify.desktop&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sudo nano /usr/share/applications/spotify.desktop&lt;/PRE&gt;
&lt;P&gt;Modify the&amp;nbsp;Exec=spotify %U line to :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Exec=spotify %U --ap=194.132.196.162&lt;/PRE&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>Mon, 25 Apr 2016 20:58:29 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1333523#M4206</guid>
      <dc:creator>Dreadlord</dc:creator>
      <dc:date>2016-04-25T20:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1333540#M4207</link>
      <description>&lt;P&gt;Really thanks @Dreadlord. I'm using gnome-shell, i did exacly how you say, and its working perfecly now, and i can launch not necessary from the gnome laucher, i can launch just pressing super, and type spotify, and its worksing.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2016 21:30:26 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1333540#M4207</guid>
      <dc:creator>gleydsonsilva</dc:creator>
      <dc:date>2016-04-25T21:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1396606#M4208</link>
      <description>&lt;P&gt;Hey &amp;nbsp;Dreadlord I did this and works Itry to make permanet the way you said but I'm Debian 8.5 jessie and it doesn't work that way, do you know how makw it permanent on debian 8?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jul 2016 14:34:53 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1396606#M4208</guid>
      <dc:creator>pablosked</dc:creator>
      <dc:date>2016-07-17T14:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1416211#M4209</link>
      <description>&lt;P&gt;I have the exact same problem and I started it from command line like below and it works. But, how to permanentelly fix this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;spotify --ap=194.132.196.162&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2016 14:52:16 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1416211#M4209</guid>
      <dc:creator>serginhoshm</dc:creator>
      <dc:date>2016-08-10T14:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1483152#M4210</link>
      <description>&lt;P&gt;Thanks! This works for me &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 16:16:11 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1483152#M4210</guid>
      <dc:creator>laisakm</dc:creator>
      <dc:date>2016-10-28T16:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: [Linux] Can't log in, error code 2.</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1740179#M4211</link>
      <description>&lt;P&gt;this worked for me as well!&lt;/P&gt;&lt;PRE&gt;spotify --ap=194.132.196.162&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;how can i make this permenant, or maybe i will just do an alias.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;using ubuntu 14.04&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:00:01 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Linux-Can-t-log-in-error-code-2/m-p/1740179#M4211</guid>
      <dc:creator>rivamelani</dc:creator>
      <dc:date>2017-07-13T12:00:01Z</dc:date>
    </item>
  </channel>
</rss>

