Skip to content
New issue

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

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

Already on GitHub? # to your account

Auto Update for Github Actions self-hosted runners #903

Closed
kaursimr opened this issue Jan 11, 2021 · 11 comments
Closed

Auto Update for Github Actions self-hosted runners #903

kaursimr opened this issue Jan 11, 2021 · 11 comments
Labels
bug Something isn't working

Comments

@kaursimr
Copy link

I have been facing SSL issues auto updating github actions self-hosted runners. We do not have a SSL cert setup at the moment. Would it be possible for you to share a link for setting up self-signed or local CA certs for overcoming this issue?

Attached are the screenshots for your reference.

Screen Shot 2020-12-30 at 4 25 07 PM

Screen Shot 2020-12-30 at 3 25 25 PM

@kaursimr kaursimr added the bug Something isn't working label Jan 11, 2021
@TingluoHuang
Copy link
Member

@kaursimr it's a public endpoint on github.com
https://github.com/actions/runner/releases/download/v2.275.1/actions-runner-linux-x64-2.275.1.tar.gz

can you try to use CURL to hit that endpoint?
curl -v -L https://github.com/actions/runner/releases/download/v2.275.1/actions-runner-linux-x64-2.275.1.tar.gz

@kaursimr
Copy link
Author

kaursimr commented Jan 11, 2021 via email

@TingluoHuang
Copy link
Member

@kaursimr feel like you have maybe a firewall or proxy that blocks SSL connection to https://github-production-release-asset-2e65be.s3.amazonaws.com

try curl -v https://github-production-release-asset-2e65be.s3.amazonaws.com to verify?

@TingluoHuang
Copy link
Member

all GitHub release assets are stored at AWS S3 storage.

@kaursimr
Copy link
Author

kaursimr commented Jan 11, 2021 via email

@TingluoHuang
Copy link
Member

@kaursimr do you mind trying to ask your network administrator to whitelist the HOST from the firewall?

@kaursimr
Copy link
Author

kaursimr commented Jan 11, 2021 via email

@TingluoHuang
Copy link
Member

@kaursimr I would suggest *.s3.amazonaws.com

@kaursimr
Copy link
Author

kaursimr commented Jan 11, 2021 via email

@kaursimr
Copy link
Author

Hey Tingluo,

Apologizes for not getting back to you soon on this. But I got the network team to add a FW rule my azure servers. After the rule was applied i am now able to run curl commands to download the github action runner package. I have not been able to test the auto-updates yet as all my servers are running the latest version of Github self hosted runners. Is there any other way to initiate an auto-update or any setting that would confirm that i'll not face a similar issue in future?

Thanks for your help!
Best Regards
Simran Kaur

@TingluoHuang
Copy link
Member

@kaursimr you can try to download an older version of the runner from https://github.com/actions/runner/releases and force the auto-update by queue a job to the older version runner. (add a label to the older version runner and run a workflow using that label.)

@hross hross closed this as completed Mar 31, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants