<?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 Facebook auth on Linux SSL error: weak, ephemeral Diffie-Hellman key in Desktop (Linux)</title>
    <link>https://community.spotify.com/t5/Desktop-Linux/Facebook-auth-on-Linux-SSL-error-weak-ephemeral-Diffie-Hellman/m-p/1235408#M6576</link>
    <description>&lt;P&gt;I'm trying to log in to Spotify Linux using Facebook, but I'm seeing the "&lt;SPAN&gt;Spotify desktop client communication failed" error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the URL that fails to load is&amp;nbsp;&lt;A href="https://login.spotilocal.com:4371/" target="_blank"&gt;https://login.spotilocal.com:4371/&lt;/A&gt;, which does correctly resolve to 127.0.0.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running "stable" Spotify (spotify-client_0.9.17.1.g9b85d43.7-1_amd64) on Ubuntu 15.04.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read&amp;nbsp;that logging in to Spotify directly using my Facebook credentials can work, but I'm not comfortable doing this - especially given how I saw elsewhere that the credentials&amp;nbsp;are not&amp;nbsp;transmitted directly to Facebook, but&amp;nbsp;via Spotify servers...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chrome:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Server has a weak, ephemeral Diffie-Hellman public key

ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Firefox:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;An error occurred during a connection to login.spotilocal.com:4371.

SSL received a weak ephemeral Diffie-Hellman key in Server Key Exchange handshake message.

(Error code: ssl_error_weak_server_ephemeral_dh_key)&lt;/PRE&gt;&lt;P&gt;The Firefox console shows the error on the requesting page better than Chrome:&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/31568i80CA843244F2F72C/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="spotify dh error.png" title="spotify dh error.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Nov 2015 14:21:39 GMT</pubDate>
    <dc:creator>ZimbiX</dc:creator>
    <dc:date>2015-11-07T14:21:39Z</dc:date>
    <item>
      <title>Facebook auth on Linux SSL error: weak, ephemeral Diffie-Hellman key</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Facebook-auth-on-Linux-SSL-error-weak-ephemeral-Diffie-Hellman/m-p/1235408#M6576</link>
      <description>&lt;P&gt;I'm trying to log in to Spotify Linux using Facebook, but I'm seeing the "&lt;SPAN&gt;Spotify desktop client communication failed" error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the URL that fails to load is&amp;nbsp;&lt;A href="https://login.spotilocal.com:4371/" target="_blank"&gt;https://login.spotilocal.com:4371/&lt;/A&gt;, which does correctly resolve to 127.0.0.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running "stable" Spotify (spotify-client_0.9.17.1.g9b85d43.7-1_amd64) on Ubuntu 15.04.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read&amp;nbsp;that logging in to Spotify directly using my Facebook credentials can work, but I'm not comfortable doing this - especially given how I saw elsewhere that the credentials&amp;nbsp;are not&amp;nbsp;transmitted directly to Facebook, but&amp;nbsp;via Spotify servers...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chrome:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Server has a weak, ephemeral Diffie-Hellman public key

ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Firefox:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;An error occurred during a connection to login.spotilocal.com:4371.

SSL received a weak ephemeral Diffie-Hellman key in Server Key Exchange handshake message.

(Error code: ssl_error_weak_server_ephemeral_dh_key)&lt;/PRE&gt;&lt;P&gt;The Firefox console shows the error on the requesting page better than Chrome:&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/31568i80CA843244F2F72C/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="spotify dh error.png" title="spotify dh error.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2015 14:21:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Facebook-auth-on-Linux-SSL-error-weak-ephemeral-Diffie-Hellman/m-p/1235408#M6576</guid>
      <dc:creator>ZimbiX</dc:creator>
      <dc:date>2015-11-07T14:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook auth on Linux SSL error: weak, ephemeral Diffie-Hellman key</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Facebook-auth-on-Linux-SSL-error-weak-ephemeral-Diffie-Hellman/m-p/1235428#M6577</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/1318158"&gt;@ZimbiX﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please let me know your Firefox version?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Also can you please try to install the &lt;A href="http://repository.spotify.com/pool/non-free/s/spotify-client/" target="_blank"&gt;latest non-stable version&lt;/A&gt; and let me know if the SSL issue persists?&lt;/P&gt;
&lt;P&gt;Alternatively you can go to&amp;nbsp;&lt;SPAN&gt;about:config in firefox and change&amp;nbsp;security.ssl3.dhe_rsa_aes 128/256 to false.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you get your autologin.blob just save it ( look for prefs file ) and set&amp;nbsp;&lt;SPAN&gt;security.ssl3.dhe_rsa_aes 128/256 once again.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you have any questions, don't hesitate to ask &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&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>Sat, 07 Nov 2015 16:09:03 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Facebook-auth-on-Linux-SSL-error-weak-ephemeral-Diffie-Hellman/m-p/1235428#M6577</guid>
      <dc:creator>Dreadlord</dc:creator>
      <dc:date>2015-11-07T16:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook auth on Linux SSL error: weak, ephemeral Diffie-Hellman key</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Facebook-auth-on-Linux-SSL-error-weak-ephemeral-Diffie-Hellman/m-p/1235435#M6578</link>
      <description>&lt;P&gt;Thanks for the suggestions, @Dreadlord. Since posting, I have found and switched to the non-stable version, which has alleviated&amp;nbsp;this particular problem for me. I did look into those settings before deciding to go with the non-stable version, and I'm curious as to&amp;nbsp;if they&amp;nbsp;would have worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm booting this disk on a different machine today, which must be why it prompted me to re-log in. Do you know&amp;nbsp;how&amp;nbsp;Spotify detects this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The non-stable is now re-downloading all my offline'd playlists and appears to be effectively duplicating&amp;nbsp;the existing cache, going by the rapidly increasing&amp;nbsp;size of the already large ~/.cache/spotify. Is there a recommended method&amp;nbsp;to&amp;nbsp;safely remove the cache without having to manually reselect the many playlists to download?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-ZimbiX&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2015 16:33:31 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Facebook-auth-on-Linux-SSL-error-weak-ephemeral-Diffie-Hellman/m-p/1235435#M6578</guid>
      <dc:creator>ZimbiX</dc:creator>
      <dc:date>2015-11-07T16:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook auth on Linux SSL error: weak, ephemeral Diffie-Hellman key</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Facebook-auth-on-Linux-SSL-error-weak-ephemeral-Diffie-Hellman/m-p/1235442#M6579</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/1318158"&gt;@ZimbiX﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you are logging in, Spotify checks your prefs file for autologin credentials.&lt;/P&gt;
&lt;P&gt;You can easily see that with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;strace spotify&lt;/PRE&gt;
&lt;P&gt;Spotify opens up prefs file checks for credentials and closes the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example prefs file :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;autologin.username="facebook user ID"&lt;BR /&gt;autologin.blob="example blob goes there"&lt;BR /&gt;app.autostart-configured=true&lt;BR /&gt;autologin.canonical_username="your username goes here if you set one"&lt;BR /&gt;autologin.saved_credentials="{\"Facebook ID here\":\"example blob goes here"}"&lt;BR /&gt;core.clock_delta=3&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for the cache, I haven't checked how it works, but I think there should be a way to do it using symlinks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2015 17:08:01 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Facebook-auth-on-Linux-SSL-error-weak-ephemeral-Diffie-Hellman/m-p/1235442#M6579</guid>
      <dc:creator>Dreadlord</dc:creator>
      <dc:date>2015-11-07T17:08:01Z</dc:date>
    </item>
  </channel>
</rss>

