๐ Describe the bug
Getting this message: Internet Not Connected or Unable to Connect to GitHub. Exception Logged in Console
๐ด Visual Studio Code Version : 1.32.3 (user setup)
๐ด Code Settings Sync Version : 3.2.6 and 3.2.7
๐ด Standard or Insiders : N/A
๐ด OSS or Portable : N/A
๐ด Operating System : Windows 10 x64
๐ด Occurs On: Any
๐ด Proxy Enabled: No
๐ด Gist Id: a5f80e27e471936379a4925f173b78b1
๐ฐ To Reproduce
Steps to reproduce the behavior:
๐ช Expected behavior
Settings should upload.
๐บ Additional context
This was working previously, but not sure exactly when it stopped working.
The following steps should help:
gist scope selectedF1 โ Sync: Advanced Options โ Sync: Edit Extension Local Settingstoken parameter with new tokenException Logged in Console
Whats the exception logged in console ?
Whats the exception logged in console ?
How do I find that? I tried:
None of these logs show any exceptions.
Created new personal access token and gist.
Disabled extension auto-update and installed 3.2.5. Sync working again.
If I upgrade to 3.2.6 or 3.2.7, I get the error message again.
3.2.6 and newer give the error, and I can't find the actual exception message anywhere in logs.
How do I find that?
help Menu > Toogle Developer Tools - Console.
Actually Settings Sync disabling all the SSL certificates in 3.2.5 and its fixed now. Before saying anything, lets see whats logged in console
Ah, that's it - a certificate error:
console.ts:134 [Extension Host] HttpError: request to https://api.github.com/gists/gistid failed, reason: self signed certificate in certificate chain
at module.exports.e.exports.then.then.catch.t (C:\Users\username.vscode\extensions\shan.code-settings-sync-3.2.7\out\extension.js:7:1963)
at process._tickCallback (internal/process/next_tick.js:68:7)
Our organization requires a self-signed certificate in the chain for web filtering.
This certificate is present in the OS store. I only get this error in VSCode with this specific extension.
Please advise.
Check this if it helps
https://github.com/shanalikhan/code-settings-sync/issues/776#issuecomment-466420221
I agree that an extension should not disable certificate errors for all of VS code.
The VS Code page states that if the certificate is trusted by the OS, then Chromium should trust it also.
The certificate is trusted by my machine's OS (Windows 10).
Going to Github works fine in Chrome browser without any certificate errors or problems.
Tried launching code with --ignore-certificate-errors on the command line but this had no effect. (This option is not documented at the documentation page anyway.)
Please advise.
Interesting. I uninstalled and reinstalled the VS Code win-ca extension and this seems to have fixed it on one machine.
I will try this on the other machines and report back and possibly close this issue.
Yes this is the fix - the other machines that exhibited this issue were missing this extension. This is resolved.
Glad to know u fixed it. ๐
Get Outlook for iOShttps://aka.ms/o0ukef
From: Bill Stewart notifications@github.com
Sent: Monday, March 25, 2019 10:40:05 PM
To: shanalikhan/code-settings-sync
Cc: Shan Khan; Comment
Subject: Re: [shanalikhan/code-settings-sync] Internet Not Connected or Unable to Connect to GitHub. Exception Logged in Console (#802)
Closed #802https://github.com/shanalikhan/code-settings-sync/issues/802.
โ
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/shanalikhan/code-settings-sync/issues/802#event-2227357190, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIXjnB82i5nt2l6QehR_i5_VOO3zuYO_ks5vaQn1gaJpZM4cCeYW.
Most helpful comment
Interesting. I uninstalled and reinstalled the VS Code
win-caextension and this seems to have fixed it on one machine.I will try this on the other machines and report back and possibly close this issue.