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

Self hosted runner on Ubuntu 20.04.6 LTS - Docker container unable to connect to network #2930

Open
rcmb opened this issue Oct 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rcmb
Copy link

rcmb commented Oct 16, 2023

Describe the bug
Self hosted runner on Ubuntu 20.04.6 LTS - Docker container unable to connect to network

Fetching the repository
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +d9ace0437f91ead4b20b006a165730497c409e53:refs/remotes/origin/master
Error: fatal: unable to access 'https://github.com/abc/assignment-1-rcmb/': Could not resolve host: github.com
The process '/usr/bin/git' failed with exit code 128
Waiting 12 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +d9ace0437f91ead4b20b006a165730497c409e53:refs/remotes/origin/master
Error: fatal: unable to access 'https://github.com/abc/assignment-1-rcmb/': Could not resolve host: github.com
The process '/usr/bin/git' failed with exit code 128
Waiting 16 seconds before trying again
/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +d9ace0437f91ead4b20b006a165730497c409e53:refs/remotes/origin/master
Error: fatal: unable to access 'https://github.com/abc/assignment-1-rcmb/': Could not resolve host: github.com
Error: The process '/usr/bin/git' failed with exit code 128

To Reproduce
Steps to reproduce the behavior:
1.Use the standard steps to install and configure a GitHub local runner

Expected behavior
Expect runner to be able to clone the repository

Runner Version and Platform

Version of your runner?

actions-runner-linux-x64-2.309.0
Ubuntu 20.04.6 LTS

What's not working?

Please include error messages and screenshots.

Job Log Output

If applicable, include the relevant part of the job / step log output here. All sensitive information should already be masked out, but please double-check before pasting here.

Runner and Worker's Diagnostic Logs

Docker image /etc/resolv.conf
nameserver 127.0.0.11
options ndots:0

@rcmb rcmb added the bug Something isn't working label Oct 16, 2023
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

1 participant