-
Notifications
You must be signed in to change notification settings - Fork 1k
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
action runner does not work with CentOS Stream 9 #1902
Comments
I tried this on a RHEL 9.1 nightly VM, which is by and large the same as CentOS 9 stream.
Note I literally used the This gets the same error. The relevant part seems to be this:
But unfortunately no details. Is this not using the system OpenSSL config? |
might related centos stream-9 use openssl 3.0 by default and dotnet is not playing well with it. |
@martinpitt @TingluoHuang There's a workaround for this issue. Enable SHA-1 in RHEL 9 and CentOS Stream 9 by following command: |
A workaround for issue actions/runner#1902
Hi @henrywang, I reproduced the issue and it seems to me it is really related to the .NET Core. The line that throws an exception is during the POST request call on:
So, if you ask me, the workaround is the way to go until this issue is fixed inside the dotnet 😞 |
I will close this issue since there is nothing we can change about it. Thank you for providing a workaround! |
Describe the bug
I’m registering a CentOS Stream 9 VM as self hosted runner. I got the following error when I run command
./config.sh --url https://github.com/xxxx --token xxxx --name runner-centos-stream-9-large --labels centos-stream-9,large --ephemeral --disableupdate --unattended
Error:
The SSL connection could not be established, see inner exception.
The latest version of
ca-certificates-2020.2.50-94.el9.noarch.rpm
is installed.I also tried on CentOS Stream 8 VM with same version of runner, register works without error.
To Reproduce
Steps to reproduce the behavior:
./config.sh --url https://github.com/xxxx --token xxxx --name runner-centos-stream-9-large --labels centos-stream-9,large --ephemeral --disableupdate --unattended
Expected behavior
Register successful.
Runner Version and Platform
v2.291.1
OS of the machine running the runner?
CentOS Stream 9
What's not working?
The SSL connection could not be established, see inner exception.
Job Log Output
Runner and Worker's Diagnostic Logs
To debug this issue I also tried
openssl s_client -connect github.com:443
to check system ca certificate and trust status. Here's the output.The text was updated successfully, but these errors were encountered: