Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Request textDocument/hover failed

Đang mở
#500 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
28/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
github-actions, typescript, vscode

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện textDocument/hover trong phiên bản extension v0.27.2 và xem lại các log của VS Code xung quanh request /user cùng stack trace của dist/server-node.js. Hoàn tất khi việc di chuột qua một GitHub Action không còn hiển thị error toaster và request được ghi log không thất bại với connect EACCES.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Describe the bug
When hovering over any of my GitHub Action definitions, I constantly see an error toaster with the error message Request textDocument/hover failed.

To Reproduce
Steps to reproduce the behavior:

  1. Open any GitHub Action from https://github.com/organizationOfMyCompany
  2. Hover over the GitHub Action in the editor pane.
  3. The error toaster appears.

Expected behavior
No error toaster appears.

Screenshots / Logs
Here are the VS Code logs:

GET /user - 500 with id UNKNOWN in 11ms
Failure to retrieve username:  Xi [HttpError]: connect EACCES <<some IP address>>:443
    at Zi (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2481429)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2572921
    ... 5 lines matching cause stack trace ...
    at async yn (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2437365)
    at async c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2586783 {
  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.27.2) octokit-rest.js/21.1.1 octokit-core.js/6.1.5 Node.js/22',
      authorization: 'token [REDACTED]'
    },
    request: { hook: [Function: bound bound ji] }
  },
  response: undefined,
  cause: TypeError: fetch failed
      at node:internal/deps/undici/undici:13510:13
      at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
      at async Zi (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2481060)
      at async c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2572921
      at async Us.get (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2583112)
      at async c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2572856
      at async As (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2572823)
      at async c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2576671
      at async Object.getContext (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2576627)
      at async yn (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2437365) {
    [cause]: Error: connect EACCES <<some IP address>>:443
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1636:16) {
      errno: -4092,
      code: 'EACCES',
      syscall: 'connect',
      address: '<<some IP address>>',
      port: 443
    }
  }
}
[Error - 1:01:01 PM] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: connect EACCES <<some IP address>>:443
  Code: -32603 
GET /user - 500 with id UNKNOWN in 4ms
Failure to retrieve username:  Xi [HttpError]: connect EACCES <<some IP address>>:443
    at Zi (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2481429)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2572921
    ... 5 lines matching cause stack trace ...
    at async yn (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2437365)
    at async c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2586783 {
  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.27.2) octokit-rest.js/21.1.1 octokit-core.js/6.1.5 Node.js/22',
      authorization: 'token [REDACTED]'
    },
    request: { hook: [Function: bound bound ji] }
  },
  response: undefined,
  cause: TypeError: fetch failed
      at node:internal/deps/undici/undici:13510:13
      at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
      at async Zi (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2481060)
      at async c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2572921
      at async Us.get (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2583112)
      at async c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2572856
      at async As (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2572823)
      at async c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2576671
      at async Object.getContext (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2576627)
      at async yn (c:\Users\myUser\.vscode\extensions\github.vscode-github-actions-0.27.2\dist\server-node.js:1:2437365) {
    [cause]: Error: connect EACCES <<some IP address>>:443
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1636:16) {
      errno: -4092,
      code: 'EACCES',
      syscall: 'connect',
      address: '<<some IP address>>',
      port: 443
    }
  }
}
[Error - 1:01:02 PM] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: connect EACCES <<some IP address>>:443
  Code: -32603 

Extension Version
v0.27.2

Additional context
/

Ngôn ngữ chính
TypeScript
Star
661
Fork
214
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/vscode-github-actions

Tất cả issue của github/vscode-github-actions

Issue tương tự

Thêm issue về TypeScript

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.