mirror of
https://github.com/SignTools/SignTools.git
synced 2026-04-27 02:45:56 +03:00
[GH-ISSUE #250] Github actions download jobs failed #79
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SignTools#79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @trungking on GitHub (Sep 27, 2022).
Original GitHub issue: https://github.com/SignTools/SignTools/issues/250
I tried basic troubleshooting first
Describe the bug
Download job by using
download.jsandEasyDlfailed with errorerror: Failed to download chunk #0 undefinedI had to rewrite download.js using axios to get it works.
Also install signed IPA give me the manifest with http(missing s) link which is unable to install so i have to add
proxy_set_header X-Forwarded-Proto $scheme;to nginx to get the https link
Everything is working now so i just leave this here if anyone have the same problem
@ViRb3 commented on GitHub (Sep 27, 2022):
Most likely an issue with your reverse proxy setup, it works great for me with nginx and for everyone else on Heroku. Check your nginx logs to see what's going on. Make sure the HEAD method is allowed in addition to GET. EasyDl uses parallel chunked downloads, which can be much faster than plain axios depending on the network conditions.
You should be able to fix this by setting the
Hostheader, did you try that? Described in the docs:https://github.com/SignTools/SignTools/blob/master/INSTALL-ADVANCED.md#4a-reverse-proxy
@trungking commented on GitHub (Sep 27, 2022):
I don't know what could be wrong but it just an basic nginx reverse proxy setup, nothing extra
I did use Host header just like in the document and it give http link.
Everything is working now so you can close this, just leave it here in case some one need it for their setup
@ViRb3 commented on GitHub (Sep 29, 2022):
Going to investigate the header issue, just haven't had the time. My nginx is very customized so you may be right that the protocol header is also needed.
@Isrofilov commented on GitHub (Oct 20, 2022):
I have the same error. I tried the solution rewrite download.js, but it did not help me
upd. the problem was found in the authorization.
docker, on restart removes quotes in fields in basic_auth: username, password
and the github as a result cannot pass authorization