ec2-github-runner icon indicating copy to clipboard operation
ec2-github-runner copied to clipboard

Unable to register self-hosted runner

Open danielMCF99 opened this issue 2 years ago • 10 comments

I am trying to use this github action but I keep getting an error when checking if the GitHub self-hosted runner is registered.

Can anyone outline some possible reasons for this?

danielMCF99 avatar Dec 19 '23 10:12 danielMCF99

Same situation here =..(

GoLoTrust avatar Dec 19 '23 22:12 GoLoTrust

still no progress :(

danielMCF99 avatar Dec 22 '23 15:12 danielMCF99

Hey @danielMCF99 , Thanks for pointing this out! After some testing I tried by creating our own AMI image where basically we use Ubuntu 22.04 and dependencies needed. Hope this can fix the problem for your use case as well!

GoLoTrust avatar Dec 22 '23 18:12 GoLoTrust

I ran into this because I did not do step 3.2 of the README: "Connect to the instance using SSH, install docker and git, then enable docker service."

Hope that helps!

dysfunctor avatar Jan 30 '24 20:01 dysfunctor

Folks, I ran into the same issue, and by default, the subnet I'm using sets Auto-assign public IPv4 address to No... It works when I set it to Yes

drewyangdev avatar Apr 03 '24 03:04 drewyangdev

Might be related to unsupported OS or arch, e.g. Github doesn't support Amazon Linux AMI for self-hosted runners, please refer here for more details.

AndriiPidiablonskyi avatar Apr 07 '24 05:04 AndriiPidiablonskyi

Folks, I ran into the same issue, and by default, the subnet I'm using sets Auto-assign public IPv4 address to No... It works when I set it to Yes

This is the solution

4cm3 avatar Jul 25 '24 19:07 4cm3

Might be related to unsupported OS or arch, e.g. Github doesn't support Amazon Linux AMI for self-hosted runners, please refer here for more details.

I'm using Amazon Linux for self hosted runners and they work as expected. Will update if I find any issue

4cm3 avatar Jul 25 '24 19:07 4cm3

Ran into the same issue

Folks, I ran into the same issue, and by default, the subnet I'm using sets Auto-assign public IPv4 address to No... It works when I set it to Yes

Worked after following this

Should probably be added to the README or have a TROUBLESHOOTING.md file

roshkhatri avatar Aug 14 '24 21:08 roshkhatri