Fetching pull requests for remote 'origin' failed, please check if the url https://github.com/*/**.git is valid.

**Important note.
This specific repository is private and recently ceased to be a user to become an organization**
@alexandremsouza1 Can you run the command Developer: Toggle Developer Tools and see if there is any additional error info in the console? Do you see the failed request in the network tab there?
@alexandremsouza1 Can you run the command
Developer: Toggle Developer Toolsand see if there is any additional error info in the console? Do you see the failed request in the network tab there?

The error about the buffer can be ignored, what's the warning above it?
This notification is shown when the fetch call 404's, can you double check that the you're able to access https://github.com/***/*** normally in the browser, and that the user you're currently logged into VSCode with has access ot this repo?
O erro sobre o buffer pode ser ignorado, qual 茅 o aviso acima?
Essa notifica莽茫o 茅 mostrada quando a chamada de busca 404 茅, voc锚 pode verificar
https://github.com/***/***novamente se consegue acessar normalmente no navegador e se o usu谩rio com o qual est谩 conectado no VSCode atualmente tem acesso a este repo?
Yes, I have access to the repository.
if I click on "sigin out and sigin in" it works.
The problem is having to do this every time.


Every time i click on the item i lose my credentials
It actually looks like I'm losing my token when the plugin to refresh

it's still happening


@alexandremsouza1 Can you also share if there is anything in the Output panel when "GitHub Pull Request" is selected? And is there anything in the console if you run the command "Developer: Toggle Developer Tools"?

Oof... I missed this note https://github.com/Microsoft/vscode-pull-request-github/wiki#2-is-github-enterprise-supported
I'm having issues with using this extension with GitHub Enterprise repos, which is expected per the above note about support for GHE is discontinued.
I'm also getting this error recently although via git CLI and browser I'm able to access the repositories just fine.

v0.21.0

Version: 1.51.0
Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c
Date: 2020-11-05T18:14:40.758Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 19.6.0
I even tried setting my personal access token to our GitHub Enterprise instance in settings according to this article.
"githubPullRequests.hosts": [
{
"host": "https://our-github-enterprise.com",
"token": "my-access-token",
"username": "my-user-name"
}
],
Possibly related to #795
@alexandremsouza1 Do you still see this issue with the latest version of VS Code?
I'm having the same issue. I have two accounts in my computer.
The way I set them up was using SSH with a config file:
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa
Host github-work
HostName github.com
User git
IdentityFile ~/.ssh/id_work_rsa
and when I need to clone a repository I do the following:
git clone git@github-work:****-org/****.git This is for my work account
git clone [email protected]:HugoLiconV/****git This is for my personal account
This works fine but when I tried to set up the extension to work for my work account I get the same error.
What I did was to add this configuration:
"githubPullRequests.hosts": [
{
"host": "https://github-work.com",
"token": "5abddc5f2f**********************" // The token I got it from `Personal access tokens`
}
]
Most helpful comment
I'm having the same issue. I have two accounts in my computer.
The way I set them up was using SSH with a config file:
and when I need to clone a repository I do the following:
git clone git@github-work:****-org/****.gitThis is for my work accountgit clone [email protected]:HugoLiconV/****gitThis is for my personal accountThis works fine but when I tried to set up the extension to work for my work account I get the same error.
What I did was to add this configuration: