Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wget can fail from github servers depending on host wget #30

Open
markfeathers opened this issue Aug 28, 2023 · 0 comments
Open

wget can fail from github servers depending on host wget #30

markfeathers opened this issue Aug 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@markfeathers
Copy link
Contributor

https://github.com/orgs/community/discussions/65227

This was reproduced in:
Task: DS_COMPONENT_WILC3000_FIRMWARE (host) 6/38: Installing WILC3000 firmware
--2023-08-28 16:04:58-- https://github.com/linux4wilc/firmware/archive/refs/tags/wilc_linux_16_1.tar.gz
Resolving github.com (github.com)... 140.82.114.4
Connecting to github.com (github.com)|140.82.114.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/linux4wilc/firmware/tar.gz/refs/tags/wilc_linux_16_1 [following]
--2023-08-28 16:04:59-- https://codeload.github.com/linux4wilc/firmware/tar.gz/refs/tags/wilc_linux_16_1
Resolving codeload.github.com (codeload.github.com)... 140.82.114.9
Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-08-28 16:04:59 ERROR 403: Forbidden.

Running this on the host would reproduce it:

wget https://github.com/linux4wilc/firmware/archive/refs/tags/wilc_linux_16_1.tar.gz

Adding the options --secure-protocol=TLSv1_2 as suggested in that discussion worked. Presumably a newer wget could work too. We could run our fetch scripts from a docker to potentially get around this, but then it must be kept up to date with the latest ssl standards.

Simplest option might be to detect wget failures, and retry error 403 with specifying this TLS version?

@markfeathers markfeathers added the bug Something isn't working label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant