github / github/vscode-github-actions

Unable to resolve action, repository or version not found (`ETIMEDOUT`)

Open
#143 14 comments 22 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
660
Forks
213
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Hovering over an action name fails to load any info about it from the GitHub API, and after a while I might get an error notification.

**To Reproduce**
See description above & screenshot below

**Expected behavior**
No error

**Screenshots**

![image](https://github.com/github/vscode-github-actions/assets/61982285/a8184468-1ee5-4635-b642-c13361cce1c6)

**Extension Version**
`v0.25.6`

OS: Linux & Windows

**Additional context**
From the logs for GitHub Actions Language Server:

```
[Error - 10:48:06 AM] Failed to fetch action metadata for actions/checkout/v3: 'request to https://api.github.com/repos/actions/checkout/contents/action.yml?ref=v3 failed, reason: connect ETIMEDOUT :443'
```

and
```
Failure to retrieve username: Ms [HttpError]: request to https://api.github.com/user failed, reason: connect ETIMEDOUT :443
at ~/.vscode/extensions/github.vscode-github-actions-0.25.4/dist/server-node.js:2:2785024
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ~/.vscode/extensions/github.vscode-github-actions-0.25.4/dist/server-node.js:2:2856983
at async wa.get (~/.vscode/extensions/github.vscode-github-actions-0.25.4/dist/server-node.js:2:2866891)
at async ~/.vscode/extensions/github.vscode-github-actions-0.25.4/dist/server-node.js:2:2856918
at async la (~/.vscode/extensions/github.vscode-github-actions-0.25.4/dist/server-node.js:2:2856885)
at async ~/.vscode/extensions/github.vscode-github-actions-0.25.4/dist/server-node.js:2:2860689
at async Object.getContext (~/.vscode/extensions/github.vscode-github-actions-0.25.4/dist/server-node.js:2:2860645)
at async oi (~/.vscode/extensions/github.vscode-github-actions-0.25.4/dist/server-node.js:2:2733949)
at async gn (~/.vscode/extensions/github.vscode-github-actions-0.25.4/dist/server-node.js:2:2759192) {
status: 500,
request: {
method: 'GET',
url: 'https://api.github.com/user',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'VS Code GitHub Actions (0.25.4) octokit-rest.js/19.0.7 octokit-core.js/4.1.0 Node.js/16.14.2 (linux; x64)',
authorization: 'token [REDACTED]'
},
request: { hook: [Function: bound bound e] }
}
```

_Originally opened as a discussion at https://github.com/github/vscode-github-actions/discussions/127_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.