Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Authenticator doesn't respect proxy settings #181642

Closed
nickolasb opened this issue May 5, 2023 · 5 comments
Closed

GitHub Authenticator doesn't respect proxy settings #181642

nickolasb opened this issue May 5, 2023 · 5 comments
Assignees
Labels
info-needed Issue requires more information from poster proxy Issues regarding network proxies

Comments

@nickolasb
Copy link

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

  • VS Code Version: 1.78.0
  • OS Version: Windows 11 Enterprise 22H2 22621.1555

I'm trying to use the "sync settings" feature but I'm behind a corporate proxy.
Presumably there is a configuration for that:
"http.proxyStrictSSL": false

However I still got this error:
FetchError: request to https://vscode.dev/codeExchangeProxyEndpoints/github/login/oauth/access_token failed, reason: self signed certificate in certificate chain

Steps to Reproduce:

  1. Turn On Settings Sync...
  2. Sign in & Turn on
  3. Sign in with GitHub
  4. After login and returning to VSCode the logs show the error above.

Please, what am I missing here? Are there other configs that affect it?

@ksathyanm
Copy link

My case is same as OP except I am using Microsoft.

@chrmarti
Copy link
Contributor

chrmarti commented May 9, 2023

Could you install the Network Proxy Test extension (https://marketplace.visualstudio.com/items?itemName=chrmarti.network-proxy-test) and check the output of F1 > Network Proxy Test: Test Connection in VS Code?

If you cannot install the extension through the Extensions viewlet in VS Code, you can use the Download Extension link on the above linked page and then install the downloaded VSIX with F1 > Extensions: Install VSIX....

@chrmarti chrmarti added info-needed Issue requires more information from poster proxy Issues regarding network proxies labels May 9, 2023
@nickolasb
Copy link
Author

nickolasb commented May 9, 2023

Sending GET request to https://example.com...
vscode-proxy-agent: DIRECT
Received error: self signed certificate in certificate chain (SELF_SIGNED_CERT_IN_CHAIN)
Retrying while ignoring certificate issues to collect information on the certificate chain.
1.log

Sending GET request to https://example.com (allowing unauthorized)...
vscode-proxy-agent: DIRECT
Received response:

@chrmarti
Copy link
Contributor

chrmarti commented May 9, 2023

This is very likely #181404. Use F1 > Network Proxy Test: Show OS Certificates to check the certificate for "caadmin.netskope.com (netSkope Inc)" is present.

@VSCodeTriageBot
Copy link
Collaborator

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@VSCodeTriageBot VSCodeTriageBot closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jul 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster proxy Issues regarding network proxies
Projects
None yet
Development

No branches or pull requests

4 participants