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

ubuntu-latest change does not include libssl1.1 #318

Open
djbberko opened this issue Jan 22, 2025 · 1 comment
Open

ubuntu-latest change does not include libssl1.1 #318

djbberko opened this issue Jan 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@djbberko
Copy link

djbberko commented Jan 22, 2025

The bug

Github runners updated ubuntu-latest to use 24.04, which does not include libssl1.1. See here: actions/runner-images#10636
This breaks the action with the following error:

  /home/runner/work/_temp/.setup-beam/elixir/bin/mix local.rebar --force
  
  Error: 22:13:59.705 [error] Unable to load crypto library. Failed with error:
  ":load_failed, Failed to load NIF library /home/runner/work/_temp/.setup-beam/otp/lib/crypto-5.1.2/priv/lib/crypto: 'libcrypto.so.1.1: cannot open shared object file: No such file or directory'"
  OpenSSL might not be installed on this system.
  
  ** (Mix) httpc request failed with: {:failed_connect, [{:to_address, {'builds.hex.pm', 443}}, {:inet, [:inet], {:eoptions, {:undef, [{:crypto, :supports, [], []}, {:tls_record, :sufficient_support, 1, [file: 'tls_record.erl', line: 772]}, {:tls_record, :supported_protocol_versions, 1, [file: 'tls_record.erl', line: 392]}, {:tls_record, :supported_protocol_versions, 0, [file: 'tls_record.erl', line: 380]}, {:ssl, :handle_option, 4, [file: 'ssl.erl', line: 1906]}, {:ssl, :process_options, 3, [file: 'ssl.erl', line: 1585]}, {:ssl, :handle_options, 5, [file: 'ssl.erl', line: 1537]}, {:ssl, :connect, 4, [file: 'ssl.erl', line: 618]}]}}}]}
  
  Could not install Rebar because Mix could not download metadata at https://builds.hex.pm/installs/rebar3-1.x.csv.
  
  Action mix rebar failed for mirror https://builds.hex.pm,/ with Error: The process '/home/runner/work/_temp/.setup-beam/elixir/bin/mix' failed with exit code 1
  Error: Could not mix rebar from any hex.pm mirror

How to replicate

An ordered list of steps to replicate the bug:

  1. run an action on ubuntu-latest

Expected behaviour

Install BEAM succesfully.

Additional context

Any other context about the bug.

@djbberko djbberko added the bug Something isn't working label Jan 22, 2025
@starbelly
Copy link
Member

Do you have a way to reproduce this? I'm not having issues, and have tested across a few projects, so a few more details would help. Specifically, versions of erlang, elixir, etc. Even better would be a failed run or workflow file.

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

2 participants