Open vankop opened 6 years ago
Have you solved your problem?I have the same problem now
@wwtj interesting... do you have slow download speed?
thank you, and I didn't do that. how could that be?
Do you still have this error? Contact me via Slack if you want.
I'm very sorry for the late reply. In fact, I don't know how to communicate with Slack. My gamail is wangtianjiao9@gmail.com. Can you contact me first?Thank you very much.
@wwtj I suspect that problem is that your internet connection is not fast or app is too big, and during download your master connection to remote build server is closed because of inactivity (yes, we need to send PING message, need to check).
Is error reproducible every time?
Contact me via Slack if you want.
... to see building in a realtime (inspecting server logs), but right now I don't have time.
Thanks for your help. The mistake disappeared and I didn't do anything.
I don't have a slow connection (180 Mbps in download, 15 Mbps upload) and my app is around ~150 Mo. So, is it really a client-side problem ?
The same thing happens to me.
I got the same issue except the status code is 403. It's the first time it happened to me and it only happens when trying to build for macOS. It downloaded just fine on Linux and Windows.
My electron-builder
version is v21.2.0 and the electron
version is v7.1.0
Edit: Tried it again today and it worked.
Also getting 403:
• downloading url=https://github.com/electron/electron/releases/download/v7.1.7/electron-v7.1.7-win32-x64.zip size=63 MB parts=8 ize=63 MB parts=8
• retrying attempt=1
• retrying attempt=2
• retrying attempt=3
⨯ part download request failed with status code 403
github.com/develar/app-builder/pkg/download.(*Part).doRequest
/Volumes/data/Documents/app-builder/pkg/download/Part.go:126
github.com/develar/app-builder/pkg/download.(*Part).download
/Volumes/data/Documents/app-builder/pkg/download/Part.go:67
github.com/develar/app-builder/pkg/download.(*Downloader).DownloadResolved.func1.1
/Volumes/data/Documents/app-builder/pkg/download/downloader.go:107
github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2
/Volumes/data/Documents/app-builder/pkg/util/async.go:68
runtime.goexit
/usr/local/Cellar/go/1.12.7/libexec/src/runtime/asm_amd64.s:1337
⨯ C:\Projekte\ShellyHomeCapacitor\electron\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE stackTrace=
Same is happening for me as well.
I get 403 as well for mac os.
I'm getting 403 for windows!!! And one suggestion is that you could add a progress bar for the download progress!!!
same here 403 on Mac OS
Any progress? Or workaround? Another stable release? It's a real blocker and it seems that the owner/support-team does not response to this issue since many days?
Any progress? Or workaround? Another stable release? It's a real blocker and it seems that the owner/support-team does not response to this issue since many days?
I just restarted a few times and then it worked
I restarted it 20 times at least. Not solving the issue. Is there a possibility to install it manually? Im able to download the file from Webbrowser.
Gesendet von ProtonMail mobile
-------- Original-Nachricht -------- An 15. Jan. 2020, 14:02, digaus schrieb:
Any progress? Or workaround? Another stable release? It's a real blocker and it seems that the owner/support-team does not response to this issue since many days?
I just restarted a few times and then it worked
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Any update on this issue ?
I tried it in a faster network and then it worked. Seems that slow internet connections result in a 403. It seems that this is a problem of the aws server of github releases https://github.com/cavaliercoder/grab/issues/43
I can confirm that. I have connected through LTE with 100mbit/s and now it's working.
I have this difficulty ,I get 403 in win7
• electron-builder version=22.3.2 os=6.1.7601 • loaded configuration file=package.json ("build" field) • writing effective config file=dist\builder-effective-config.yaml • packaging platform=win32 arch=x64 electron=7.1.9 appOutDir=dist\win-unpacked • downloading url=https://github.com/electron/electron/releases/download/v7.1.9/electron-v7.1.9-win32-x64.zip size=63 MB parts=8 • retrying attempt=1 • retrying attempt=2 • retrying attempt=3 ⨯ part download request failed with status code 403 github.com/develar/app-builder/pkg/download.(Part).doRequest /Volumes/data/Documents/app-builder/pkg/download/Part.go:126 github.com/develar/app-builder/pkg/download.(Part).download /Volumes/data/Documents/app-builder/pkg/download/Part.go:67 github.com/develar/app-builder/pkg/download.(*Downloader).DownloadResolved.func1.1 /Volumes/data/Documents/app-builder/pkg/download/downloader.go:107 github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2 /Volumes/data/Documents/app-builder/pkg/util/async.go:68 runtime.goexit /usr/local/Cellar/go/1.13.6/libexec/src/runtime/asm_amd64.s:1357 ⨯ C:\Users\Administrator\Desktop\cloud-electron-docs\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILD ER_CANNOT_EXECUTE stackTrace=
It seems it needs a fast insternet conection!!!!
Whe you download from https://github.com/electron/electron/releases/download/v7.1.9/electron-v7.1.9-win32-x64.zip
That is temporary. as you can see here: https://github-production-release-asset-2e65be.s3.amazonaws.com/9384267/4b4b4700-35ec-11ea-85f9-a6f2044a75fb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200217T071158Z& X-Amz-Expires=300 &X-Amz-Signature=5644d81633e633c7b118b1062c2f12822ddb133e540de2ac043be37d7360808d&X-Amz-SignedHeaders=host&actor_id=33861085&response-content-disposition=attachment%3B%20filename%3Delectron-v7.1.9-win32-x64.zip&response-content-type=application%2Foctet-stream
In this parameter: X-Amz-Expires=300
And when it expires the file cannot be downloaded anymore!!!
Just download the file manually and move it to this path:
C:\Users{USER}\AppData\Local\electron\Cache
https://www.electronjs.org/docs/tutorial/installation#cache I download it by myself and put it in the cache folder to fix this.
Disabling real-time protection in my anti virus fixed it for me. Remember to enable it again when the build process is complete
Hi everyone. Temporarily disabling real-time protection in my antivirus software fixed my issue too. I initially had a 403 error on Windows. Good luck!
Okay!
------------------ 原始邮件 ------------------ 发件人: "Mahogany95"<notifications@github.com>; 发送时间: 2020年5月2日(星期六) 凌晨2:02 收件人: "electron-userland/electron-builder"<electron-builder@noreply.github.com>; 抄送: "阳光"<382967255@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [electron-userland/electron-builder] part download request failed with status code 416 (#3115)
Hi everyone. Temporarily disabling real-time protection in my antivirus software fixed my issue too. I initially had a 403 error on Windows. Good luck!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
any updates ?
downloading manually worked for me
Just download the file manually and move it to this path:
C:\Users{USER}\AppData\Local\electron\Cache
thanks @naycho334
20.20.4
node 8.9.1
npm 5.6.0
package.json
electron-builder.json
Can not download builded remotely deb package. Complete console log: