Build fails because of Swift #9963
Answered
by
lukasbbuehler
code-on-git
asked this question in
General questions
-
I've seen both an issue and discussion about this error and it seems to have been closed but I still get the same error even when I clone directly from https://github.com/actions/runner-images.git
Is it something that I need to do to fix this or is it still an issue? |
Beta Was this translation helpful? Give feedback.
Answered by
lukasbbuehler
Jun 7, 2024
Replies: 1 comment 5 replies
-
Same for me still an issue! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We noticed a change in the swift script: Download ist now from gpg --keyserver hkp://keyserver.ubuntu.com \ instead of pgp_key_path=$(download_with_retry "https://swift.org/keys/all-keys.asc")
gpg --no-default-keyring --keyring swift --import "$pgp_key_path"
The issue is that hkp:// is using the default port 11371, so for us the firewall is blocking this. As a solution you could change it to gpg --keyserver hkp://keyserver.ubuntu.com:80 so the request will go over port 80 which is usually allowed.