<p dir="auto">Hi, I've been using Electron for a few months, but autoupdate started returning an error after <code class="notranslate">0.33.4</code>. I've been using the same endpoint hosted by Github.</p>
<h2 dir="auto">Error message</h2>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="2015-11-18 22:31:12.249 Electron[71075:3518387] NSURLSession/NSURLConnection 
HTTP load failed (kCFStreamErrorDomainSSL, -9802)
[DeskDrive] Uncaught exception: Error: An SSL error has occurred and a secure
connection to the server cannot be made.: (null) Error: An SSL error has occurred
and a secure connection to the server cannot be made.: (null)
    at Error (native)
^C"><pre class="notranslate">2015-11-18 22:31:12.249 Electron[71075:3518387] NSURLSession/NSURLConnection 
HTTP load failed (kCFStreamErrorDomainSSL, -9802)
[DeskDrive] Uncaught exception: Error: An SSL error has occurred and a secure
connection to the server cannot be made.: (null) Error: An SSL error has occurred
and a secure connection to the server cannot be made.: (null)
    at Error (native)
^C</pre></div>
<p dir="auto">(<em>DeskDrive</em> is the name of the app I'm working on.)</p>
<h2 dir="auto">Repro Code</h2>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const autoUpdater = require('auto-updater');
autoUpdater.setFeedURL('https://raw.githubusercontent.com/dylang/DeskDrive-releases/master/auto_updater.json');
autoUpdater.checkForUpdates();"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">autoUpdater</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'auto-updater'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">autoUpdater</span><span class="pl-kos">.</span><span class="pl-en">setFeedURL</span><span class="pl-kos">(</span><span class="pl-s">'https://raw.githubusercontent.com/dylang/DeskDrive-releases/master/auto_updater.json'</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">autoUpdater</span><span class="pl-kos">.</span><span class="pl-en">checkForUpdates</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Note:</strong> App must be built <em>and signed</em> for <code class="notranslate">autoUpdater</code> to show this error.</p>
<h2 dir="auto">Versions</h2>
<ul dir="auto">
<li>Was working in 0.33.4, but has been failing in every build up to 0.35</li>
<li>Testing in OS X 11.1 (El Capitan)</li>
<li>Tested with and without firewall/proxy/etc.</li>
</ul>
<p dir="auto">Minimal repro here: <a href="https://gist.github.com/mkscrg/d56227f2b6a3a430a17d">https://gist.github.com/mkscrg/d56227f2b6a3a430a17d</a></p>
<p dir="auto"><code class="notranslate">auto-updater</code> fails immediately after the <code class="notranslate">update-available</code> with this error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2015-11-14 18:45:14.807 Electron[2750:121917] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
auto-updater error: An SSL error has occurred and a secure connection to the server cannot be made.: (null)"><pre class="notranslate"><code class="notranslate">2015-11-14 18:45:14.807 Electron[2750:121917] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
auto-updater error: An SSL error has occurred and a secure connection to the server cannot be made.: (null)
</code></pre></div>
<p dir="auto">In my limited tests, I could hit this issue with <strong>Electron &gt;= 0.34.2 &amp;&amp; OS X &gt;= 10.11</strong>. Dropping to 0.34.1 and/or 10.10 seemed to avoid it.</p>