tag:help.appveyor.com,2012-11-13:/discussions/problems/9799-random-error-read-econnreset-when-uploading-release-to-githubAppVeyor: Discussion 2018-08-25T02:21:04Ztag:help.appveyor.com,2012-11-13:Comment/440273972017-11-14T19:12:45Z2017-11-14T19:12:45ZRandom Error: read ECONNRESET when uploading release to GitHub<div><p>Hi Laurent,</p>
<p>From the first look, it looks like network connection issues between AppVeyor build workers and GitHub. But we see that those errors happens regardless of the datacenter build worker VM located in (we have infrastructure in 2 different datacenters). GitHub status is OK. Also network issue do not come with single problem, usually this affects bigger number of people.</p>
<p>Therefore we need to look at your settings. If I understand correctly, you are following <a href="https://www.electron.build/configuration/publish">this guide</a>, right? And the only setting you specify is <a href="https://github.com/laurent22/joplin/blob/dbb5599b0fd8e9cb5ed0071e3e1b1658c3c77d33/ElectronClient/app/package.json#L25-L27">this</a>, correct? Sorry in advance I am not familiar with this publishing. How do you specify <code>GH_TOKEN</code>, in UI?</p>
<p>Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/440273972017-11-14T20:39:41Z2017-11-14T20:39:42ZRandom Error: read ECONNRESET when uploading release to GitHub<div><p>Hi Ilya,</p>
<p>Thanks your answer. To deploy I indeed use electron-builder with mostly the default config. For GH_TOKEN, I provide it in the Project Settings of AppVeyor, in the Environment page.</p>
<p>I don't think my code is doing anything special and electron-builder does the upload using the standard https package of node: <a href="https://github.com/electron-userland/electron-builder/blob/2752074644db7036548c026b496f457651d8257c/packages/builder-util/src/nodeHttpExecutor.ts#L38">see here</a> so I'm not sure what could be the issue.</p>
<p>I should note that the past 7 builds have worked successfully so maybe it was a temporary thing. Another thing is that I use node a lot under WSL and I get all kind of random network errors which don't happen in other environments. I don't know if it's something wrong with MS's network stack or node, but maybe it's what's happening here too?</p></div>Laurenttag:help.appveyor.com,2012-11-13:Comment/440273972017-11-15T02:23:38Z2017-11-15T02:23:38ZRandom Error: read ECONNRESET when uploading release to GitHub<div><p>Lets see how it will work next few days in hope this was temporary network issue which was not detected by our monitoring and other customers.</p>
<p>I an little bit confused regarding WSL though. It stands for <code>Windows Subsystem for Linux</code>, right? We do not have it on our build workers (Windows Server 2012 and 2016). It is currently available only on Windows 10 or <a href="https://msdn.microsoft.com/en-us/commandline/wsl/install-on-server">Windows Server Insider's preview</a> and we will make it available as soon as it is available on official Windows Server release...</p></div>Ilya Finkelshteyn