Code-settings-sync: Select your existing Gist is an empty page

Created on 31 Oct 2019  路  9Comments  路  Source: shanalikhan/code-settings-sync

馃悰 Describe the bug
A clear and concise description of what the bug is. You are always welcome to check the Troubleshooting section before filing the ticket.

I've 2 github accounts. I've logged in to my company provided github account on default web browser Safari. However, I've also logged in to my personal Github account on non-default Chrome browser.
So after my 'Login with Github' is successful on Chrome, I get a blank screen on VSCode saying _'Select your existing Gist'_.
When I go to Edit settings then I see an access token textfield filled with some value but the Gist ID textfield is empty
I can't download my settings or trigger Sync.
If on Edit Settings, I enter my Gist ID and then try the Download Settings then VSCode gives a notification: _'Your Gist ID is invalid'_.

馃尨 Visual Studio Code Version : 1.39.2
馃尨 Code Settings Sync Version : 3.4.3
馃尨 Standard or Insiders : Standard
馃尨 Portable or Installed : Installed
馃尨 OSS or Official Build : OSS
馃尨 Operating System : macOS v10.15.1
馃尨 Occurs On: Help Configuring
馃尨 Proxy Enabled: No
馃尨 Gist Id: 5ba4ea145506d59b5b7ad7ff0bbeca4c

馃摪 To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Sync --> Download Settings'
  2. Click on 'Login with Github'
  3. Copy link from popup and paste it in a non-default browser with your github linked with VSCode Sync - Gist
  4. See error screenshot - Can't select my existing Gist

馃挭 Expected behavior
I expect a list of existing Gist to be shown in VSCode after I login with my VSCode Sync Gist Github account.

馃摵 Console Error Log

Screenshot 2019-10-31 at 13 09 31
Screenshot 2019-10-31 at 13 10 35

馃摵 Additional context

Most helpful comment

Found a temporary fix that works for me. I just went into the user settings JSON file, and added this line (copied from my other computer, which I wanted to sync with):

    "sync.gist": "myGistID"

Once I saved those files, I then ran "Sync: Download Settings" in the command palette, and it started syncing.

All 9 comments

馃摵 Console Error Log

Can you show the image of console logs.

I see NO log on VS Code developer tools console output but I see following two errors on Chrome developer tools console output:

  1. Content Security Policies delivered via a <meta> element may not contain the frame-ancestors directive. callback:9
  2. Refused to load the image 'http://localhost:54321/favicon.ico' because it violates the following Content Security Policy directive: "img-src vscode-resource: https:". callback:1

Similar issues here.

After clicking login with github my chrom console contains:

[Embedded Page] Uncaught SyntaxError: missing ) after argument list
webviewElement.ts:303 
[Embedded Page] Uncaught ReferenceError: skip is not defined

same issue

Same issue.

Found a temporary fix that works for me. I just went into the user settings JSON file, and added this line (copied from my other computer, which I wanted to sync with):

    "sync.gist": "myGistID"

Once I saved those files, I then ran "Sync: Download Settings" in the command palette, and it started syncing.

I just encountered this problem, @sashafklein solution worked for me.

I encountered the same problem. I checked the sync.gist setting, found that gist id was incorrect. Correcting the gist id worked for me.

It was very odd. I copied and pasted the gist id, but it extra non-ascii characters were appended at the end.

Duplicate of #1005

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dawsbot picture dawsbot  路  5Comments

larrym picture larrym  路  4Comments

darkvertex picture darkvertex  路  4Comments

mklement0 picture mklement0  路  5Comments

robertpeteuil picture robertpeteuil  路  5Comments