github / github/vscode-github-actions

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

Đang mở
#143 14 bình luận 22 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
660
Fork
213
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.