mirror of
https://github.com/actions/runner.git
synced 2025-12-10 20:36:49 +00:00
* Trim non-significant trailing whitespace, add final newlines to md,yml files * Add .editorconfig with basic whitespace conventions
27 lines
961 B
Markdown
27 lines
961 B
Markdown
# Internet Connection Check
|
|
|
|
## What is this check for?
|
|
|
|
Make sure the runner has access to https://api.github.com
|
|
|
|
The runner needs to access https://api.github.com to download any actions from the marketplace.
|
|
|
|
Even the runner is configured to GitHub Enterprise Server, the runner can still download actions from GitHub.com with [GitHub Connect](https://docs.github.com/en/enterprise-server@2.22/admin/github-actions/enabling-automatic-access-to-githubcom-actions-using-github-connect)
|
|
|
|
|
|
## What is checked?
|
|
|
|
- DNS lookup for api.github.com using dotnet
|
|
- Ping api.github.com using dotnet
|
|
- Make HTTP GET to https://api.github.com using dotnet, check response headers contains `X-GitHub-Request-Id`
|
|
|
|
## How to fix the issue?
|
|
|
|
### 1. Check the common network issue
|
|
|
|
> Please check the [network doc](./network.md)
|
|
|
|
## Still not working?
|
|
|
|
Contact GitHub customer service or log an issue at https://github.com/actions/runner if you think it's a runner issue.
|