vscode-pull-request-github icon indicating copy to clipboard operation
vscode-pull-request-github copied to clipboard

"Pull Requests" and "Issues" have been showing "loading..." for hours

Open sabo28 opened this issue 5 years ago • 26 comments

  • VS Code Version: 1.54.2
  • OS Version: 10.0.19042 Build 19042

Steps to Reproduce:

  1. Install GitHub Pull Requests and Issues in VSCode
  2. Authorize with Github
  3. Go to the Github Section with the tab on the left side
  4. Pull Requests and Issues have been showing "loading..." for hours

Does this issue occur when all extensions are disabled?: No

sabo28 avatar Mar 14 '21 18:03 sabo28

Hello,

I facing same behavior as was described above, the extension is still loading.

I can recommend to type the command below into Terminal of VScode

git remote --v

Then you will see the list of active remotes, for example:

C:\Users\User\ProjectName\build>git remote --v 
MyRemote https://github.com/SomeOrg/SomeRepo.git (fetch)
MyRemote https://github.com/SomeOrg/SomeRepo..git (push)
origin  https://github.com/SomeOrg/SomeRepo. (fetch)
origin  https://github.com/SomeOrg/SomeRepo. (push)

If your repository is not on the list you have to add it via

git remote add NAME_OF_REMOTE https://github.com/<account>/<repo>

for example git remote add origin https://github.com/SomeOrg/SomeRepo

/*************************************************************************************/

If the remote is not there

image

then you need to add it manually via Add item button

BR, Jan

JohnK1987 avatar Sep 07 '22 19:09 JohnK1987

Hello,

I facing same behavior as was described above, the extension is still loading.

I can recommend to type the command below into Terminal of VScode

git remote --v

Then you will see the list of active remotes, for example:

C:\Users\User\ProjectName\build>git remote --v 
MyRemote https://github.com/SomeOrg/SomeRepo.git (fetch)
MyRemote https://github.com/SomeOrg/SomeRepo..git (push)
origin  https://github.com/SomeOrg/SomeRepo. (fetch)
origin  https://github.com/SomeOrg/SomeRepo. (push)

If your repository is not on the list you have to add it via

git remote add NAME_OF_REMOTE https://github.com/<account>/<repo>

for example git remote add origin https://github.com/SomeOrg/SomeRepo

/*************************************************************************************/

If the remote is not there

image

then you need to add it manually via Add item button

BR, Jan

Thanks for sharing. I did what you mentioned but my remotes were already there, remote is origin, and still getting the same errors.

Also not sure if this makes a difference but I have to be on VPN, which I have been connected to access my remotes. Is it possible that can be causing an issue?

fseminario avatar Sep 09 '22 21:09 fseminario

@fseminario I have no Idea sorry.

JohnK1987 avatar Sep 10 '22 07:09 JohnK1987

git remote -v

You should see the name on the left hand side. If it is not named origin/upstream the extension will not work. Looking at the extension settings, you can see that is what it is looking for:

image

To fix the issue, you have to add origin

git remote add origin https://github.com/<account>/<repo>

Just like @wlgrd, @milunova 's solution helped me, don't know why it's marked outdated.

shizukann avatar Sep 15 '22 18:09 shizukann

I reinstalled the extension, and it fixed the issue for me.

hiresh-verma avatar Jul 26 '23 04:07 hiresh-verma

if all else failed: i got the same issue with "git failed to load" so i moved to my master branch and did

git fetch upstream git checkout master git branch -u upstream/master

pretty sure i have done it before, but once i did it again it worked

Twomoon-Github avatar Feb 11 '24 17:02 Twomoon-Github