runner icon indicating copy to clipboard operation
runner copied to clipboard

Github Runner failing to register and stuck in a loop

Open mmshahid opened this issue 1 year ago • 0 comments

Describe the bug I have trying to deploy GH Runner to render via DockerFile. The deploy stays stuck for over 15 mins and the runner registration appears to be stuck in a loop and eventually fails the deploy. I see a runner created under the account and it shows up Offline.

To Reproduce Steps to reproduce the behavior:

  1. follow steps to download the runner for linux

  2. deploy docker image to Render => settings being used with the runner: CMD ["./config.sh", "--unattended", "--replace", "--runasservice", "--name", "srv-org-gh-runner", "--url", "https://github.com/ORG", "--token", "xxxx", "./run.sh"]

  3. See error

Expected behavior Runner should appear online on the GH account

Runner Version and Platform

v2.314.1, linux

OS of the machine running the runner? OSX/Windows/Linux/... ubuntu:22.04 docker image

What's not working?

Please include error messages and screenshots.

Job Log Output

this appears in the log 8 times over a 15 min deploy window

| ____ _ _ _ _ _ _ _ _ | | / () || | | | | |_ / \ | |() ___ _ __ ___ | | | | | | __| || | | | | ' \ / _ \ / | | |/ _ | ' / | | | | || | | || _ | || | |) | / ___ \ (| || | () | | | _ \ | | _||_|| ||_,|./ /_/ __|_||_/|| ||_/ | | | | Self-hosted runner registration | | |

Authentication √ Connected to GitHub Runner Registration A runner exists with the same name √ Successfully replaced the runner √ Runner connection is good Runner settings √ Settings Saved.

Runner and Worker's Diagnostic Logs

mmshahid avatar Mar 27 '24 01:03 mmshahid