vscode-github-actions icon indicating copy to clipboard operation
vscode-github-actions copied to clipboard

Unable to connecto to the Github API, please check your internet connection. [Mac]

Open chanced opened this issue 1 year ago • 10 comments

Describe the bug The extension is unable to connect to github

Unable to connecto to the Github API, please check your internet connection.

Github copilot is able to connect without issue. I'm fairly certain Github Pull Requests also works fine.

To Reproduce Steps to reproduce the behavior:

  1. Install extension (on Mac?)
  2. Try and use extension

Expected behavior The extension should be able to access Github API

Screenshots Screenshot 2024-07-01 at 11 36 50 AM Screenshot 2024-07-01 at 11 35 58 AM

Extension Version v0.26.3

Additional context

  • I've added "git.enabled": true to my config
  • I am not using a proxy or a VPN
  • Running on macOS

chanced avatar Jul 01 '24 15:07 chanced

I am also getting this, but on Windows 11 in WSL2.

gesslar avatar Jul 13 '24 23:07 gesslar

Same problem here on macos. Just popped up in the past like week or so. Noticed that all my workflows were showing an error on resolving the actions packages. Geting that same error op mentioned

CoreyJ87 avatar Jul 15 '24 21:07 CoreyJ87

I should mention that I have 2FA enabled.

chanced avatar Jul 16 '24 00:07 chanced

I mean, I do too, but clicking that button should open a browser, I think, where you can authorise the extension, no?

Instead, nothing. 😂

gesslar avatar Jul 16 '24 00:07 gesslar

I am also having this issue. Clicking the refresh button doesn't do anything.

klgh avatar Jul 16 '24 13:07 klgh

Still broken. Hasnt worked in months now.

CoreyJ87 avatar Sep 02 '24 23:09 CoreyJ87

Same for me too :(

mafifi avatar Sep 12 '24 10:09 mafifi

Me too, but there is no solution in the official documentation. I confirmed that my network connection with github is strong enough, but there is still no way to enable this action plugin. This has caused me to be on github and vscode for the past week. Switching back and forth in the middle affects the use. After I click the "Refresh" button, there is no reaction, and I won't even open the browser to seek a connection.

linnene avatar Oct 05 '24 08:10 linnene

Me too :( Clicking the refresh button doesn't do anything.

I resolve this issue by steps below :

  1. Sign out from github by right click account menu in vscode (left bottom in sidebar)
  2. Reauthenticate github by clicking button in github actions extension

LeMoussel avatar Oct 07 '24 09:10 LeMoussel

For me it's a different reason. This extension has no proxy server support. It should automatically detect http_proxy and HTTP_PROXY and their secure counter parts. Using Windows 11 btw not MAC.

Makoehle avatar Dec 03 '24 17:12 Makoehle