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

Sync not working #126

Closed
vytautas-pranskunas- opened this issue Oct 27, 2016 · 32 comments
Closed

Sync not working #126

vytautas-pranskunas- opened this issue Oct 27, 2016 · 32 comments

Comments

@vytautas-pranskunas-
Copy link

Visual Studio Code Version : 1.6.1
Code Sync Settings Version : 2.3.3
Operating System : Windows 7
Occurs On: [Upload / Download] - both

After provideing gist - vscode_sync and token i got an error when trying to sync settings.
Console says: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}

@shanalikhan
Copy link
Owner

Duplicate of #59

@vytautas-pranskunas-
Copy link
Author

Was trying many times - with no luck. Also tried to add gist and token straight to settings file

@shanalikhan
Copy link
Owner

can you share your settings file with gist id ( without token)

@vytautas-pranskunas-
Copy link
Author

{"Token":"","Gist":"vscode_sync","lastUpload":null,"firstTime":true,"autoDownload":false,"autoUpload":false,"allowUpload":true,"lastDownload":null,"Version":233,"showSummary":true,"publicGist":false,"forceDownload":false,"showLog":false,"openLinks":true}

@shanalikhan
Copy link
Owner

are you sure there were no spaces in GIST ID ? or TOKEN

@vytautas-pranskunas-
Copy link
Author

I am, I can provide you whole settings file and then regenerate token. But privatly

@shanalikhan
Copy link
Owner

shanalikhan commented Oct 27, 2016

yes please regerate the token insert in file, if there is still problem than send me the complete file. (dont delete the GIST ID , i will need to test that)
shanalikhan@hotmail.com

@vytautas-pranskunas-
Copy link
Author

vytautas-pranskunas- commented Oct 27, 2016

Just did it
p.s. problem stays

@shanalikhan shanalikhan reopened this Oct 28, 2016
@vytautas-pranskunas-
Copy link
Author

Any progress?

@shanalikhan
Copy link
Owner

i have reopened the issue, currently im busy in other things will look into it and let you know.

@vytautas-pranskunas-
Copy link
Author

Cool

@vytautas-pranskunas-
Copy link
Author

Any progress on this? I would like to sync vs code and get those changes at home.

@Spinarooni
Copy link
Contributor

@vytautas-pranskunas- In my case I had removed my http.proxy setting from my user settings file in VS Code because VS Code falls back to the http_proxy environment variables if there is no http.proxy defined. I added http.proxy back to my settings and it worked.

@Spinarooni
Copy link
Contributor

Spinarooni commented Nov 3, 2016

It seems there is no API in VS Code now for exposing the proxy fallback that it has natively. It seems they are looking at adding it as a Node Module in the future but I can't say when.

microsoft/vscode#12588

shanalikhan added a commit that referenced this issue Nov 3, 2016
Fallback to system defined proxy. Issue #126
@shanalikhan
Copy link
Owner

shanalikhan commented Nov 3, 2016

@vytautas-pranskunas- let me know if newer version 2.3.6 solve this issue ?

@Spinarooni Thanks!

@vytautas-pranskunas-
Copy link
Author

vytautas-pranskunas- commented Nov 4, 2016

It did not. Maybe it is related to 1.7.1 version update of vscode which came today

@shanalikhan
Copy link
Owner

@vytautas-pranskunas- you may try to fork the project and run the project apply your case and debug it.
the steps are here as i'm unable to produce your error.

Are you using proxy behind ? - you have set the http proxy in code and system proxy right?

@vytautas-pranskunas-
Copy link
Author

vytautas-pranskunas- commented Nov 4, 2016

Are you using proxy behind ? - No
you have set the http proxy in code and system proxy right - should I?

Does it work for you with new settings file i have sent?

p.s. Sadly but I don't think i could find time soon for debugging

@shanalikhan
Copy link
Owner

can you make your gist ( that you have emailed me ID) public so i can see and edit.

@vytautas-pranskunas-
Copy link
Author

I have just did

On Fri, Nov 4, 2016 at 10:06 AM, Shan Khan notifications@github.com wrote:

can you make your gist ( that you have emailed me ID) public so i can see
and edit.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#126 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADvMl-ie918TAYWd7GYgNuQYoEF0txOoks5q6ueBgaJpZM4KiUjB
.

Pagarbiai,

Vytautas Pranskunas

@shanalikhan
Copy link
Owner

check your email , you have not provided the GIST but token.
Send me GIST ID after making it public.

@vytautas-pranskunas-
Copy link
Author

try - cloudSettings. because other gist you could see in file it was
vscode_sync

On Sat, Nov 5, 2016 at 6:10 PM, Shan Khan notifications@github.com wrote:

check your email , you have not provided the GIST but token.
Send me GIST ID after making it public.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#126 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADvMl8NRrXbLUGQdOxSnjG0Io-MngKeAks5q7KqRgaJpZM4KiUjB
.

Pagarbiai,

Vytautas Pranskunas

@shanalikhan
Copy link
Owner

shanalikhan commented Nov 5, 2016

try - cloudSettings. because other gist you could see in file it was vscode_sync

cloudSettings is a part of GIST , reset settings, please try to make another GIST via extension and upload on it and send me the GIST ID by making it public.

@vytautas-pranskunas-
Copy link
Author

Cannot do this - same error.

On Sat, Nov 5, 2016 at 8:08 PM, Shan Khan notifications@github.com wrote:

try - cloudSettings. because other gist you could see in file it was
vscode_sync

cloudSettings is a part of GIST , please try to make another GIST via
extension and upload on it and send me the GIST ID by making it public.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#126 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADvMl8hXB1hWu-qnk8SBJ2QJbvrOgHofks5q7MYNgaJpZM4KiUjB
.

Pagarbiai,

Vytautas Pranskunas

@shanalikhan
Copy link
Owner

shanalikhan commented Nov 5, 2016

Have you checked the GIST option while creating a token in github ?
check here.
http://shanalikhan.github.io/img/github2.PNG
It will create own GIST ID you dont need to insert anything in GIST.

@shanalikhan
Copy link
Owner

Check the recently close issues by same exception #132
Caused by scope issues while creating token.

@vytautas-pranskunas-
Copy link
Author

The one i provided you is fine:
but here is new one:
gist: test_gist
token: faaaaad052b4dee0ff4c02c3889d8a2008ab281f

it is private and just created with checked gist option

On Sun, Nov 6, 2016 at 2:52 PM, Shan Khan notifications@github.com wrote:

Check the recently close issues by same exception #132
#132
Caused by scope issues while creating token.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#126 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADvMl0ENV1GAwosZWN6MmMgVCsq2b8H5ks5q7c1zgaJpZM4KiUjB
.

Pagarbiai,

Vytautas Pranskunas

@shanalikhan
Copy link
Owner

gist: test_gist

Why are you explicting adding GIST name. Only add token and hit upload,
It will give you the GIST ID

@vytautas-pranskunas-
Copy link
Author

ok when i addited settings with only providing token upload was successful
but how than i can use existing gist on my new machine?
When i am hitting download it asks for Gist - where i can get it from?

On Mon, Nov 7, 2016 at 1:00 PM, Shan Khan notifications@github.com wrote:

gist: test_gist

Why are you explicting adding GIST name. Only add token and hit upload,
It will give you the GIST ID


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#126 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADvMl20gmL3a0uoHJ--IaNb3n_Tedo0bks5q7wTGgaJpZM4KiUjB
.

Pagarbiai,

Vytautas Pranskunas

@shanalikhan
Copy link
Owner

when you upload, it generate summary that has token and GIST. you can copy from there and insert in to new PC.

@vytautas-pranskunas-
Copy link
Author

so if i lose it - i have to generate new token?

On Mon, Nov 7, 2016 at 1:34 PM, Shan Khan notifications@github.com wrote:

when you upload, it generate summary that has token and GIST. you can copy
from there and insert in to new PC.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#126 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADvMl9tZhQzrscoAwjb1hyZzV2NiOp_Mks5q7wzXgaJpZM4KiUjB
.

Pagarbiai,

Vytautas Pranskunas

@shanalikhan
Copy link
Owner

Yes, save both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants