question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to load pull requests when using ssh.github.com for ssh over https

See original GitHub issue
  • Extension version: 0.31.1
  • VSCode Version: 1.61.2
  • OS: macos 11.3.1

Steps to Reproduce:

  1. follow steps to add ssh.github.com to ssh config from github docs https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port
  2. install extension
  3. extension stuck on “No remotes match current setting”

Output:

[Info] Registering git provider
[Info] Looking for git repository
[Info] Found 1 repositories during activation
[Info] Git repository found, initializing review manager and pr tree view.
[Info] Review> Validate state in progress
[Info] Review> Validating state...
[Info] Cannot updates repositories as git is uninitialized
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] Cannot updates repositories as git is uninitialized
[Info] Review> no matching pull request metadata found for current branch main
[Info] Review> no matching pull request metadata found on GitHub for current branch main
[Info] Git initialization state changed: state=initialized
[Info] Review> Queuing additional validate state
[Info] Review> Validating state...
[Info] GitHubServer> No response from host https://ssh.github.com/****/****: request to https://ssh.github.com/api/v3/rate_limit failed, reason: write EPROTO 140596883097400:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:242:

[Info] No remote with name 'origin' found.
[Info] No remote with name 'upstream' found.
[Info] No GitHub remotes found
[Info] Review> no matching pull request metadata found for current branch main
[Info] Review> no matching pull request metadata found on GitHub for current branch main

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ghillscommented, Dec 1, 2021

@alexr00 that worked - with that build it appears to be operating normally.

Thanks!

1reaction
alexr00commented, Dec 1, 2021

@ghills that is the code that I would expect to cause this, but we shouldn’t actually get that far as there’s a check for ssh.github.com that bails out before making the GitHubManager.getOptions call:

https://github.com/microsoft/vscode-pull-request-github/blob/f837b766033fd48ef28b16abcfc3f85303992f90/src/authentication/githubServer.ts#L8-L22

Can you try our new pre-release version of the extension? You’ll need to:

  • Use VS Code insiders, it installs side by side with stable so it won’t mess with anything.
  • From the Extensions view, open GitHub Pull Requests and Issues and you should see an option to switch to pre-release.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Using SSH over the HTTPS port - GitHub Docs
Enabling SSH connections over HTTPS. If you are able to SSH into git@ssh.github.com over port 443, you can override your SSH settings to...
Read more >
Remotes added via SSH do not work. · Issue #1656 - GitHub
The pull request tree does not load. After further testing, it looks like that error message only shows up if I add another...
Read more >
Unable to push/pull from GitHub Desktop after adding SSH ...
Open preferences and verify that you're signed in with an account that has permission to access this repository. Open "Preferences"—I am indeed ...
Read more >
Connecting to GitHub with SSH
You can connect to GitHub using the Secure Shell Protocol (SSH), which provides a secure channel over an unsecured network.
Read more >
Error: Permission denied (publickey) - GitHub Docs
Make sure you have a key that is being used · If you are using Git Bash, turn on ssh-agent: # start the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found