Multiple codespaces issues

I created a simple GitHub repo to test with.

When I first create the codespaces (through the code menu):

It gets stuck on this and there’s no change (the account notification is to sign in to Settings Sync).

When I refresh the page:

My extensions have clearly been installed from my Settings Sync profile, but my actual settings/preferences haven’t synced. The Settings Sync output:

[2020-09-13 19:15:39.279] [userDataSync.log] [info] Using settings sync service https://vscode-sync-insiders.trafficmanager.net/
[2020-09-13 19:15:39.302] [userDataSync.log] [info] Auto Sync is enabled.
[2020-09-13 19:15:39.326] [userDataSync.log] [info] Auto Sync: Suspended until auth token is available.

After logging in through the account button, I get:

[2020-09-13 19:15:39.279] [userDataSync.log] [info] Using settings sync service https://vscode-sync-insiders.trafficmanager.net/
[2020-09-13 19:15:39.302] [userDataSync.log] [info] Auto Sync is enabled.
[2020-09-13 19:15:39.326] [userDataSync.log] [info] Auto Sync: Suspended until auth token is available.
[2020-09-13 19:19:28.057] [userDataSync.log] [info] Auto Sync: Started
[2020-09-13 19:19:28.109] [userDataSync.log] [info] Auto Sync: Triggered by Interval
[2020-09-13 19:19:28.795] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at I.read (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2925:794)
    at async e.readMachinesData (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2890:523)
    at async e.getMachines (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2889:149)
    at async y.doSync (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2902:813)
[2020-09-13 19:19:28.862] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at I.read (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2925:794)
    at async e.readMachinesData (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2890:523)
    at async e.getMachines (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2889:149)
    at async y.doSync (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2902:813)
[2020-09-13 19:20:44.004] [userDataSync.log] [info] Auto Sync: Triggered by Activity
[2020-09-13 19:20:44.186] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at I.read (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2925:794)
    at async e.readMachinesData (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2890:523)
    at async e.getMachines (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2889:149)
    at async y.doSync (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2902:813)
[2020-09-13 19:20:44.250] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at I.read (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2925:794)
    at async e.readMachinesData (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2890:523)
    at async e.getMachines (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2889:149)
    at async y.doSync (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2902:813)
[2020-09-13 19:25:45.033] [userDataSync.log] [info] Auto Sync: Triggered by Interval
[2020-09-13 19:25:45.380] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at I.read (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2925:794)
    at async e.readMachinesData (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2890:523)
    at async e.getMachines (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2889:149)
    at async y.doSync (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2902:813)
[2020-09-13 19:25:45.438] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at I.read (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2925:794)
    at async e.readMachinesData (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2890:523)
    at async e.getMachines (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2889:149)
    at async y.doSync (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2902:813)
[2020-09-13 19:30:46.038] [userDataSync.log] [info] Auto Sync: Triggered by Interval
[2020-09-13 19:30:46.315] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at I.read (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2925:794)
    at async e.readMachinesData (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2890:523)
    at async e.getMachines (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2889:149)
    at async y.doSync (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2902:813)
[2020-09-13 19:30:46.362] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at I.read (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2925:794)
    at async e.readMachinesData (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2890:523)
    at async e.getMachines (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2889:149)
    at async y.doSync (https://nihaals-codespaces-test-2q34.github.dev/workbench-page/web-standalone/insider-e4256dd/out/vs/workbench/workbench.web.api.js:2902:813)

I haven’t managed to find a workaround for this.

When I open the terminal and run poetry run python app.py (which should just work), I get Creating virtualenv codespaces-test-tPoBDl2N-py3.8 in /home/user/.cache/pypoetry/virtualenvs, suggesting the postAttachCommand didn’t run.

I have tried multiple Linux distros but can’t seem to get a setup that works properly and what makes it even more strange is that it works fine locally using the dev container/remote container.

Hey! Thanks for reaching out. Codespaces doesn’t currently support the “postAttachCommand” property, and so that’s why you saw this behavior. We’re actually adding this right now, but in the meantime, would it work to change this to a “postCreateCommand” instead? Looking at your sample repo, I think this should work well, as a near-term workaround at least.

Regarding not seeing your settings sync: Codespaces is currently using VS Code Insiders, and so it only syncs settings with the Insiders version of VS Code on the desktop. Are you using the stable build of VS Code?

Codespaces doesn’t currently support the “postAttachCommand”

Ah, I just looked at the docs and I see the warning. It looks like create is actually what I was looking for anyway, thanks!

Are you using the stable build of VS Code?

I’m using Insiders on my desktop too. When I try to click on the “synced data” (on Codespaces web), I get Server did not return the ref, so the issue doesn’t seem to be a lack of synced data. When syncing new data from my desktop, the new sync entry shows up fine in the codespace sync log, just I can’t view it or actually sync.

Do you know what might be causing the initial error?

Failed to connect to the remote extension host server (Error: VSLSSocketTimeout)

@nihaals thanks for reporting the issues!

We are on top of both issues Settings Sync and Connection timeout isues and will deploy appropriate fixes in the next few days.

@legomushroom I still have the exact same Settings Sync issue

I think there are few issues conflated here and some of them should be fixed already. When you see that you are not signed in to the setting sync, does it happen on any new Codespaces you create or some old Codespace stuck in this state?

Sorry I should have been way more clear. I get the same thing in my logs as before and when selecting things in the “Show Synced Data” list I get “Server did not return the ref”. The not being logged in and the timeout issues are fixed

Can you create a new codespace and once that bug repros, send the logs for the Window and Settings Sync from Output view of the vscode? That should give us some clues about why that can be happening.

(These logs are just from starting the codespace, not clicking anything. I used nihaals/codespaces-test)

Window:

[2020-11-10 23:23:38.808] [window] [info] Error while initializing Settings
[2020-11-10 23:23:38.850] [window] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at w.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6078:114
    at async Promise.all (index 0)
    at async w.initialize (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6077:845)
    at async te.initServices (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6935:427)
    at async te.open (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6932:62)
[2020-11-10 23:23:39.459] [window] [info] Error while initializing UI State
[2020-11-10 23:23:39.562] [window] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at w.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6078:114
    at async Promise.all (index 1)
    at async w.initialize (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6077:845)
    at async te.initServices (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6935:427)
    at async te.open (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6932:62)
[2020-11-10 23:23:39.723] [window] [info] Error while initializing Extensions
[2020-11-10 23:23:39.873] [window] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at w.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6078:114
    at async Promise.all (index 0)
    at async w.initialize (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6077:845)
[2020-11-10 23:23:39.981] [window] [info] Error while initializing Keyboard Shortcuts
[2020-11-10 23:23:40.072] [window] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at w.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6078:114
    at async Promise.all (index 1)
    at async w.initialize (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6077:845)
[2020-11-10 23:23:40.106] [window] [info] Error while initializing User Snippets
[2020-11-10 23:23:40.131] [window] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at w.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6078:114
    at async Promise.all (index 2)
    at async w.initialize (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:6077:845)

Settings Sync

[2020-11-10 23:23:39.722] [userDataSync.log] [info] Using settings sync service https://vscode-sync.trafficmanager.net/
[2020-11-10 23:23:39.872] [userDataSync.log] [info] Auto Sync is enabled.
[2020-11-10 23:23:39.980] [userDataSync.log] [info] Auto Sync: Suspended until auth token is available.
[2020-11-10 23:23:53.802] [userDataSync.log] [info] Auto Sync: Started
[2020-11-10 23:23:53.850] [userDataSync.log] [info] Auto Sync: Triggered by Interval
[2020-11-10 23:23:53.982] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at E.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async e.readMachinesData (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2947:62)
    at async e.getMachines (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2945:713)
    at async y.doSync (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2960:374)
[2020-11-10 23:23:54.008] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at E.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async e.readMachinesData (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2947:62)
    at async e.getMachines (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2945:713)
    at async y.doSync (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2960:374)
[2020-11-10 23:23:58.520] [userDataSync.log] [info] Auto Sync: Triggered by Activity
[2020-11-10 23:23:58.656] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at E.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async e.readMachinesData (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2947:62)
    at async e.getMachines (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2945:713)
    at async y.doSync (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2960:374)
[2020-11-10 23:23:58.702] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at E.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async e.readMachinesData (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2947:62)
    at async e.getMachines (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2945:713)
    at async y.doSync (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2960:374)
[2020-11-10 23:27:54.161] [userDataSync.log] [info] Auto Sync: Triggered by Activity
[2020-11-10 23:27:54.526] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at E.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async e.readMachinesData (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2947:62)
    at async e.getMachines (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2945:713)
    at async y.doSync (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2960:374)
[2020-11-10 23:27:54.571] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at E.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async e.readMachinesData (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2947:62)
    at async e.getMachines (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2945:713)
    at async y.doSync (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2960:374)
[2020-11-10 23:28:06.031] [userDataSync.log] [info] Auto Sync: Triggered by Activity
[2020-11-10 23:28:06.195] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at E.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async e.readMachinesData (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2947:62)
    at async e.getMachines (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2945:713)
    at async y.doSync (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2960:374)
[2020-11-10 23:28:06.252] [userDataSync.log] [error] NoRef (UserDataSyncError) syncResource:unknown operationId:unknown: Server did not return the ref
    at E.read (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2983:672)
    at async e.readMachinesData (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2947:62)
    at async e.getMachines (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2945:713)
    at async y.doSync (https://vscodeweb.azureedge.net/insider/fcac248b077b55bae4ba5bab613fd6e9156c2f0c/out/vs/workbench/workbench.web.api.js:2960:374)

Thanks for the logs.

It seems the server is not returning the info that is necessary, Can you please open Developer tools > Network tab and look for requests to vscode-sync and provide us the response and response headers.

Note Request headers will have auth token info, so please exclude that info if you are providing request headers.

It looks like a service worker actually does the request, all these logs are from the request to the remote. I’m guessing you just need request IDs but I’ve still included more information in case it helps. I created a brand new codespace for nihaals/codespaces-test, waited for it to finish loading then refreshed.

The first 2 requests are repeated once more each. I also captured /settings which was fetched when going to Settings Sync: Show Synced Data and clicking on one of them.


GET /v1/manifest HTTP/1.1
Host: vscode-sync.trafficmanager.net
Connection: keep-alive
X-Execution-Id: 1e12d1c4-4cb1-4ff4-b41b-33a7c7d04f1f
X-Machine-Id: 560ee338-2463-41b1-82db-67d5d6434ee8
X-Client-Version: 1.51.0-insider
X-Client-Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c
authorization: Bearer [...]
X-Machine-Session-Id: 6d5a6a77-be3a-4527-9a60-c28ae0a8c4e4
Content-Type: application/json
Accept: */*
X-Account-Type: github
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
X-User-Session-Id: 5ba33e14-1e00-4bc1-a580-713972235b0a
X-Client-Name: code-insiders-web
Origin: https://nihaals-codespaces-test-hcpj.github.dev
Sec-Fetch-Site: cross-site
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://nihaals-codespaces-test-hcpj.github.dev/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
If-None-Match: W/"171-O3NuJJavWL/h8SCJ59aAUVRqvSU"
HTTP/1.1 200 OK
Vary: Origin
request-context: appId=cid-v1:7314e4bb-c502-4f04-b61f-a0b4ebae90dd
X-Operation-Id: 02855346154e4af8aa0bc4ee60dcd159
Strict-Transport-Security: max-age=31536000
Access-Control-Expose-Headers: etag
Access-Control-Allow-Origin: https://nihaals-codespaces-test-hcpj.github.dev
Date: Thu, 12 Nov 2020 21:20:40 GMT
Content-Length: 369
Content-Type: application/json; charset=utf-8
X-Content-Type-Options: nosniff

GET /v1/resource/machines/latest HTTP/1.1
Host: vscode-sync.trafficmanager.net
Connection: keep-alive
X-Account-Type: github
X-Machine-Id: 560ee338-2463-41b1-82db-67d5d6434ee8
X-Client-Version: 1.51.0-insider
X-Client-Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c
authorization: Bearer [...]
X-Machine-Session-Id: 6d5a6a77-be3a-4527-9a60-c28ae0a8c4e4
Accept: */*
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
X-User-Session-Id: 5ba33e14-1e00-4bc1-a580-713972235b0a
X-Client-Name: code-insiders-web
Origin: https://nihaals-codespaces-test-hcpj.github.dev
Sec-Fetch-Site: cross-site
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://nihaals-codespaces-test-hcpj.github.dev/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
HTTP/1.1 200 OK
Content-Length: 332
Content-Type: application/octet-stream
Vary: Origin
request-context: appId=cid-v1:7314e4bb-c502-4f04-b61f-a0b4ebae90dd
X-Operation-Id: 69b40e9ab1ec465098fe8aa0d0c08b95
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
Access-Control-Expose-Headers: etag
Access-Control-Allow-Origin: https://nihaals-codespaces-test-hcpj.github.dev
Date: Thu, 12 Nov 2020 21:20:40 GMT

GET /v1/resource/settings HTTP/1.1
Host: vscode-sync.trafficmanager.net
Connection: keep-alive
X-Machine-Id: 560ee338-2463-41b1-82db-67d5d6434ee8
X-Client-Version: 1.51.0-insider
X-Client-Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c
authorization: Bearer [...]
X-Machine-Session-Id: 6d5a6a77-be3a-4527-9a60-c28ae0a8c4e4
Accept: */*
X-Account-Type: github
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
X-User-Session-Id: 5ba33e14-1e00-4bc1-a580-713972235b0a
X-Client-Name: code-insiders-web
Origin: https://nihaals-codespaces-test-hcpj.github.dev
Sec-Fetch-Site: cross-site
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://nihaals-codespaces-test-hcpj.github.dev/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
If-None-Match: W/"709-kRq7fiPbdhyYvRFC2kkolYKxlfM"
HTTP/1.1 200 OK
Vary: Origin
request-context: appId=cid-v1:7314e4bb-c502-4f04-b61f-a0b4ebae90dd
X-Operation-Id: f91a749bfe2d4bd19ac67d91c5e023ee
Strict-Transport-Security: max-age=31536000
Access-Control-Expose-Headers: etag
Access-Control-Allow-Origin: https://nihaals-codespaces-test-hcpj.github.dev
Date: Thu, 12 Nov 2020 21:23:18 GMT
Content-Length: 1801
Content-Type: application/json; charset=utf-8
X-Content-Type-Options: nosniff

@sandy081 Was this what you were looking for?