-
Notifications
You must be signed in to change notification settings - Fork 22
Possible issue with Network Proxy settings #40
Comments
@C1aud3 thanks for reporting this! Can you try connecting to the Codespace with [sudo] gh codespace ssh This should give us an idea if this is Also mind trying the Thanks! |
Hi @legomushroom ! The results are below. It looks like using
- choosing codespace: error getting codespaces: error making request: Get "https://api.github.com/user/codespaces?per_page=100": dial tcp 140.82.113.5:443: i/o timeout
choosing codespace: error getting codespaces: error making request: Get "https://api.github.com/user/codespaces?per_page=100": dial tcp 140.82.112.6:443: i/o timeout |
@C1aud3 thanks for testing this! Wondering if that is a credentials issue, mind trying this:
We will remove the |
Hi @legomushroom, unfortunately it didn't seem to solve the issue. Here's what I got:
Hopefully the upcoming removal of the |
@legomushroom I confirm I'm still having the issue with the latest version of the plugin and running the gh net start
Password:
choosing codespace: error getting codespaces: error making request: Get "https://api.github.com/user/codespaces?per_page=100": dial tcp 140.82.113.5:443: i/o timeout Plugin version: gh --version && gh extension list
gh version 2.14.7 (2022-08-25)
https://github.com/cli/cli/releases/tag/v2.14.7
gh net github/gh-net v0.12.2 |
@C1aud3 mind trying this custom gh extension install legomushroom/gh-net Thanks! |
I'll try to test this a little bit more extensively this week, but a quick test this morning allowed me to successfully list codespaces, select one and connect to it without any error messages. 🎉 |
@C1aud3 thanks for trying it out! Looks like the issue was in missing some of the environment variables. When we escalate to the |
Hi @legomushroom , thanks for the fix! Yes, my proxy setup uses env variables. As per my original posting:
|
Hi @legomushroom, |
The
sudo gh net start
command gives the following error:choosing codespace: error getting codespaces: error making request: Get "https://api.github.com/user/codespaces?per_page=100": dial tcp 140.82.113.5:443: i/o timeout
Reproduce steps
VPN
client (Cisco AnyConnect4.10.01075
).proxy
settings through theHTTP_PROXY
,HTTPS_PROXY
andNO_PROXY
environment variables.gh codespace list
to make sureproxy
settings are configured properly.sudo gh net start
. The command will fail with the error message provided above.Expected behavior
The
sudo gh net start
command should display the list of codespaces to choose from successfully.Desktop:
gh
version2.14.3
(2022-07-26)Additional context
The
sudo gh net start
command successfully displays the list of codespaces when NOT connected toVPN
.The text was updated successfully, but these errors were encountered: