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

Fallback to using GitHub releases of libsodium if the download site is unavailable #3494

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Gedochao
Copy link
Contributor

Meant to provide a fallback for downloading libsodium, which fails our CI consistently.

download error: Caught java.net.ConnectException (Connection timed out: connect) while downloading https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-stable-msvc.zip
1 targets failed
cli[3.3.5].base-image.staticLibDir os.SubprocessException: Result of C:\Users\runneradmin\AppData\Local\Coursier\cache\arc\https\github.com\coursier\coursier\releases\download\v2.1.24\cs-x86_64-pc-win32.zip\cs-x86_64-pc-win32.exe�: 1

    os.proc.call(ProcessOps.scala:95)
    millbuild.project.settings$CliLaunchers$CliNativeImage.copyLibsodiumStaticTo(settings.sc:239)
    millbuild.project.settings$CliLaunchers$CliNativeImage.$anonfun$staticLibDir$3(settings.sc:[280](https://github.com/VirtusLab/scala-cli/actions/runs/13282281463/job/37086740792#step:5:281))
Error: Process completed with exit code 1.

We've been relying on https://download.libsodium.org/libsodium/releases/, but perhaps we can fall back to https://github.com/jedisct1/libsodium/releases if that's unavailable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant