Skip to content

Initialization failed #8824

Open
Open

Description

@yuan-y-chang
  • Extension version: 0.154.0
  • VSCode Version: 1.127.0
  • OS: Windows 11
  • Repository Clone Configuration (single repository/fork of an upstream repository):
  • GitHub Product (GitHub.com/GitHub Enterprise version x.x.x):

Steps to Reproduce:

  1. In WSL repo, checkout to a PR branch.
  2. Show empty page on the GitHub Pull Request.
  3. Can not recovered via reload or reinstall plugin.
Image
2026-07-03 10:56:48.578 [error] [Authentication] Failed to get current user: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms), Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
2026-07-03 10:56:48.584 [info] [Review+0] No matching pull request metadata found locally for current branch xxx
2026-07-03 10:56:48.585 [warning] [Review+0] Failed to check GitHub for PR branch: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
2026-07-03 10:56:48.585 [info] [Review+0] No matching pull request metadata found on GitHub for current branch xxx
2026-07-03 10:56:48.599 [info] [FolderRepositoryManager+0] Using globalState assignableUsers for 1.

Activity

  1. changed the title [-]Initial failed[/-] [+]Initialization failed[/+] on Jul 3, 2026
  2. alexr00 commented on Jul 3, 2026

    @alexr00
    Member

    I'm not able to reproduce this. Can you share the output from GitHub Authentication?

  3. yuan-y-chang commented on Jul 6, 2026

    @yuan-y-chang
    Author

    I'm not able to reproduce this. Can you share the output from GitHub Authentication?

    Execute "GitHub Pull Requests: Sign in to GitHub" command, the program shows the log [Authentication] Creating hub for .com, but no additional action. (My vscode account is already logged in.)

    GitHub Pull Request log:

    2026-07-06 09:03:05.141 [info] [FolderRepositoryManager+0] Found GitHub remote for folder /xxx/
    2026-07-06 09:03:05.141 [warning] Unable to resolve remote: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:05.141 [info] [FolderRepositoryManager+0] Using in-memory cached assignable users.
    2026-07-06 09:03:05.155 [info] [Review+0] No matching pull request metadata found locally for current branch xxx
    2026-07-06 09:03:05.155 [warning] [Review+0] Failed to check GitHub for PR branch: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:05.155 [info] [Review+0] No matching pull request metadata found on GitHub for current branch xxx
    2026-07-06 09:03:06.195 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:06.195 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:06.195 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:11.291 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:11.291 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:11.291 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:17.310 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:17.311 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:17.311 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:22.424 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:22.424 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:22.424 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:28.073 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:28.073 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:03:28.073 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Connect Timeout Error (attempted address: api.github.com:443, timeout: 10000ms)
    2026-07-06 09:05:18.321 [info] [Authentication] Creating hub for .com
    

    GitHub Authentication log:

    2026-07-06 09:02:55.776 [info] Getting sessions for all scopes...
    2026-07-06 09:02:55.776 [info] Got 2 sessions for ...
    2026-07-06 09:02:55.777 [info] Getting sessions for all scopes...
    2026-07-06 09:02:55.777 [info] Got 2 sessions for ...
    2026-07-06 09:04:26.143 [info] Getting sessions for all scopes...
    2026-07-06 09:04:26.143 [info] Got 2 sessions for ...
    2026-07-06 09:04:26.144 [info] Getting sessions for all scopes...
    2026-07-06 09:04:26.144 [info] Got 2 sessions for ...
    2026-07-06 09:05:50.390 [info] Got 2 sessions for ...
    2026-07-06 09:06:25.254 [info] Getting sessions for all scopes...
    2026-07-06 09:06:25.254 [info] Got 2 sessions for ...
    2026-07-06 09:06:25.310 [info] Getting sessions for read:user,repo,user:email,workflow...
    2026-07-06 09:06:25.310 [info] Got 1 sessions for read:user,repo,user:email,workflow...
    2026-07-06 09:07:02.794 [info] Getting sessions for all scopes...
    2026-07-06 09:07:02.795 [info] Got 2 sessions for ...
    2026-07-06 09:07:02.795 [info] Getting sessions for all scopes...
    2026-07-06 09:07:02.795 [info] Got 2 sessions for ...
    
  4. alexr00 commented on Jul 7, 2026

    @alexr00
    Member

    Are you using a proxy?

  5. yuan-y-chang commented on Jul 8, 2026

    @yuan-y-chang
    Author

    Are you using a proxy?

    I'm not using a proxy. But I found the cue.

    My PC is connected to an embedded device through the physical Ethernet port with IP 192.168.*, and after unplugging the device, this extension works correctly. I have two other kinds of devices with IP addresses 169.254.* and 10.14.* are fine to use.

    My internet comes from the Wi-Fi device. Maybe this issue is about the Windows network metric? But other vscode functions are working expectantly. (like git and copilot)

    I also have another USB Ethernet port; the behavior is the same.

    If the login is successful, it is able to connect with 192.168.* devices.

  6. avanderleest-livefront commented on Jul 13, 2026

    @avanderleest-livefront

    Also experiencing this issue. A message shows up "Not Found - https://docs.github.com/rest/repos/repos#get-a-repository". But otherwise the extension is blank. If I roll back to 0.154.0 and other previous version I get a "Loading..." status displaying but nothing else.

  7. Thaina commented on Aug 4, 2026

    @Thaina

    0.162.0 still got this same problem, trying to signin failed

    2026-08-04 12:53:39.927 [info] [Authentication] Creating hub for .com
    2026-08-04 12:53:52.173 [info] [Authentication] Creating hub for .com
    2026-08-04 12:56:13.463 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Not Found - https://docs.github.com/rest/repos/repos#get-a-repository
    2026-08-04 12:56:13.463 [warning] [GitHubRepository+0] Fetching default branch failed: HttpError: Not Found - https://docs.github.com/rest/repos/repos#get-a-repository
    

    trying to open https://docs.github.com/rest/repos/repos#get-a-repository it then become
    https://docs.github.com/en/rest/repos/repos?apiVersion=2026-03-10#get-a-repository

    Seem like the cli not able to redirect itself?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions