Open isidornik opened 1 year ago
This happens when user has many profiles. I wonder how we can solve this without raising the limit on the server.
Too bad. What is the real challenge here? Does each profile contribute to the number of requests? Could we somehow overcome this?
If not possible, then a different approach would be to not sync profiles after some limit? For example the ones rarely used.
It would be a bad experience if settings sync just does not work for users with multiple profiles.
Each profile can consists of average 6 requests, so if you have more than 15 profiles, then there is a possibility that settings sync can make around 100 requests that causes it to block. Most of the time it is unrealistic to have more than 10 profiles. Since you are playing around and testing profiles, you ended up having a lot and the right thing to do is to clean up and do not want to sync them. May be to give a good user experience, we can ask users to clean up your profiles and turn on sync again, or, inform users that profiles are not synced as there are too many.
I like you suggestion - that we at least clearly state the issue. So the users can then clean up their profiles.
Hi, I am having the same problem with settings sync:
2023-02-10 16:32:21.448 [info] Using settings sync service https://vscode-sync.trafficmanager.net/ 2023-02-10 16:32:21.448 [info] Auto Sync is disabled. 2023-02-10 16:32:35.487 [info] Sync started. 2023-02-10 16:32:35.572 [info] Request failed https://vscode-sync.trafficmanager.net/v1/manifest
Is it network port-related or something else? I don't see "many profiles" in my github account. Any hints? Thanks!
I'm having the same problem as well, I do not have multiple profiles and it seems to fail on a network level (DNS fails for trafficmanager.net as well)
2023-02-13 13:26:03.763 [info] Sync started. 2023-02-13 13:26:03.937 [info] Request failed https://vscode-sync.trafficmanager.net/v1/manifest
dig trafficmanager.net
; <<>> DiG 9.10.6 <<>> trafficmanager.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18700
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;trafficmanager.net. IN A
;; AUTHORITY SECTION:
trafficmanager.net. 21 IN SOA tm1.dns-tm.com. hostmaster.trafficmanager.net. 118221445 900 300 2419200 30
;; Query time: 13 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Mon Feb 13 13:19:50 CET 2023
;; MSG SIZE rcvd: 108
@sandy081 I am having the same issue. Even though I have deleted all the profiles I have locally. Even if I choose to not sync profiles I get the same error. Is there something I can help with so we nail down this issue. This looks pretty serious to me.
Here are the full logs:
2023-02-22 11:16:22.068 [info] Sync started.
2023-02-22 11:16:22.069 [info] Too many requests https://vscode-sync-insiders.trafficmanager.net/v1/manifest https://vscode-sync-insiders.trafficmanager.net/v1/resource/settings/latest https://vscode-sync-insiders.trafficmanager.net/v1/resource/settings/latest https://vscode-sync-insiders.trafficmanager.net/v1/resource/keybindings/latest https://vscode-sync-insiders.trafficmanager.net/v1/resource/snippets/latest https://vscode-sync-insiders.trafficmanager.net/v1/resource/tasks/latest https://vscode-sync-insiders.trafficmanager.net/v1/resource/globalState/latest https://vscode-sync-insiders.trafficmanager.net/v1/resource/extensions/latest https://vscode-sync-insiders.trafficmanager.net/v1/resource/profiles/latest https://vscode-sync-insiders.trafficmanager.net/v1/resource/settings https://vscode-sync-insiders.trafficmanager.net/v1/resource/keybindings https://vscode-sync-insiders.trafficmanager.net/v1/resource/globalState https://vscode-sync-insiders.trafficmanager.net/v1/resource/extensions https://vscode-sync-insiders.trafficmanager.net/v1/collection/42072e88-a86a-400d-9563-1c50809f9407/resource/settings/c5c9e2a1-a34e-4609-b1e3-a791ff15eb5b https://vscode-sync-insiders.trafficmanager.net/v1/collection/42072e88-a86a-400d-9563-1c50809f9407/resource/settings https://vscode-sync-insiders.trafficmanager.net/v1/collection/42072e88-a86a-400d-9563-1c50809f9407/resource/keybindings/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/42072e88-a86a-400d-9563-1c50809f9407/resource/snippets/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/42072e88-a86a-400d-9563-1c50809f9407/resource/tasks/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/42072e88-a86a-400d-9563-1c50809f9407/resource/globalState/c2a79ead-ec1f-47d7-88f8-d6dc22bedc4a https://vscode-sync-insiders.trafficmanager.net/v1/collection/42072e88-a86a-400d-9563-1c50809f9407/resource/globalState https://vscode-sync-insiders.trafficmanager.net/v1/collection/42072e88-a86a-400d-9563-1c50809f9407/resource/extensions/b7b2e096-be9d-43a7-ac20-4f978d3785b7 https://vscode-sync-insiders.trafficmanager.net/v1/collection/536df322-16ab-4d0b-8984-589170238be2/resource/settings/42c3cb40-da65-4c8e-b8fb-d62406a6a16e https://vscode-sync-insiders.trafficmanager.net/v1/collection/536df322-16ab-4d0b-8984-589170238be2/resource/settings https://vscode-sync-insiders.trafficmanager.net/v1/collection/536df322-16ab-4d0b-8984-589170238be2/resource/keybindings/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/536df322-16ab-4d0b-8984-589170238be2/resource/snippets/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/536df322-16ab-4d0b-8984-589170238be2/resource/tasks/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/536df322-16ab-4d0b-8984-589170238be2/resource/globalState/c6f48d6b-2862-4ce8-9d13-9026c797eb87 https://vscode-sync-insiders.trafficmanager.net/v1/collection/536df322-16ab-4d0b-8984-589170238be2/resource/globalState https://vscode-sync-insiders.trafficmanager.net/v1/collection/536df322-16ab-4d0b-8984-589170238be2/resource/extensions/7eb8bc1f-7627-4b98-8f19-d4bdd6f53364 https://vscode-sync-insiders.trafficmanager.net/v1/collection/d8092aee-266e-4adc-8afe-f109ea436ef0/resource/settings/fefe1e98-dd9a-4514-aa4a-3d55c5caad20 https://vscode-sync-insiders.trafficmanager.net/v1/collection/d8092aee-266e-4adc-8afe-f109ea436ef0/resource/settings https://vscode-sync-insiders.trafficmanager.net/v1/collection/d8092aee-266e-4adc-8afe-f109ea436ef0/resource/keybindings/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/d8092aee-266e-4adc-8afe-f109ea436ef0/resource/snippets/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/d8092aee-266e-4adc-8afe-f109ea436ef0/resource/tasks/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/d8092aee-266e-4adc-8afe-f109ea436ef0/resource/globalState/2c137ce7-8b12-4d48-b10c-c4299cf15357 https://vscode-sync-insiders.trafficmanager.net/v1/collection/d8092aee-266e-4adc-8afe-f109ea436ef0/resource/globalState https://vscode-sync-insiders.trafficmanager.net/v1/collection/d8092aee-266e-4adc-8afe-f109ea436ef0/resource/extensions/c24d623c-90e7-4b48-96dd-0d037b90793d https://vscode-sync-insiders.trafficmanager.net/v1/collection/d8092aee-266e-4adc-8afe-f109ea436ef0/resource/extensions https://vscode-sync-insiders.trafficmanager.net/v1/collection/24a1f46d-680b-473b-9f62-e2c53b6a5f9e/resource/settings/6ed24e51-45d6-4438-beab-779ffb2e5d72 https://vscode-sync-insiders.trafficmanager.net/v1/collection/24a1f46d-680b-473b-9f62-e2c53b6a5f9e/resource/settings https://vscode-sync-insiders.trafficmanager.net/v1/collection/24a1f46d-680b-473b-9f62-e2c53b6a5f9e/resource/keybindings/531fb4b5-f1b0-438d-8880-d9c9e6874f4a https://vscode-sync-insiders.trafficmanager.net/v1/collection/24a1f46d-680b-473b-9f62-e2c53b6a5f9e/resource/keybindings https://vscode-sync-insiders.trafficmanager.net/v1/collection/24a1f46d-680b-473b-9f62-e2c53b6a5f9e/resource/snippets/fddd674b-103c-4d25-9d74-7548f2a53778 https://vscode-sync-insiders.trafficmanager.net/v1/collection/24a1f46d-680b-473b-9f62-e2c53b6a5f9e/resource/snippets https://vscode-sync-insiders.trafficmanager.net/v1/collection/24a1f46d-680b-473b-9f62-e2c53b6a5f9e/resource/tasks/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/24a1f46d-680b-473b-9f62-e2c53b6a5f9e/resource/globalState/05f8c4c6-32b9-40ce-a23b-e641dc77e508 https://vscode-sync-insiders.trafficmanager.net/v1/collection/24a1f46d-680b-473b-9f62-e2c53b6a5f9e/resource/globalState https://vscode-sync-insiders.trafficmanager.net/v1/collection/24a1f46d-680b-473b-9f62-e2c53b6a5f9e/resource/extensions/31b79815-ffbb-4c93-b489-7978a5f52af4 https://vscode-sync-insiders.trafficmanager.net/v1/collection/a29d4b4a-568b-49f4-8d07-23a0091eb532/resource/settings/7fb425d5-eed1-4c6a-a7fd-b7cecb46cc0a https://vscode-sync-insiders.trafficmanager.net/v1/collection/a29d4b4a-568b-49f4-8d07-23a0091eb532/resource/extensions/724e8556-b625-4d76-9875-28b52457699f https://vscode-sync-insiders.trafficmanager.net/v1/collection/a29d4b4a-568b-49f4-8d07-23a0091eb532/resource/settings https://vscode-sync-insiders.trafficmanager.net/v1/collection/a29d4b4a-568b-49f4-8d07-23a0091eb532/resource/keybindings/db16682d-e58e-4d10-9253-85fdd82931f5 https://vscode-sync-insiders.trafficmanager.net/v1/collection/a29d4b4a-568b-49f4-8d07-23a0091eb532/resource/keybindings https://vscode-sync-insiders.trafficmanager.net/v1/collection/a29d4b4a-568b-49f4-8d07-23a0091eb532/resource/snippets/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/a29d4b4a-568b-49f4-8d07-23a0091eb532/resource/tasks/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/a29d4b4a-568b-49f4-8d07-23a0091eb532/resource/globalState/1a306f7a-47fe-4b3b-941e-6043c472e954 https://vscode-sync-insiders.trafficmanager.net/v1/collection/a29d4b4a-568b-49f4-8d07-23a0091eb532/resource/globalState https://vscode-sync-insiders.trafficmanager.net/v1/collection/3b3d1881-aed2-4176-95c3-5fc6b5165d2c/resource/settings/eacf1633-64fe-4f2c-8304-16addaf78df8 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3b3d1881-aed2-4176-95c3-5fc6b5165d2c/resource/settings https://vscode-sync-insiders.trafficmanager.net/v1/collection/3b3d1881-aed2-4176-95c3-5fc6b5165d2c/resource/keybindings/a65dd6c7-907e-451b-bac1-a7ff2ecebdc4 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3b3d1881-aed2-4176-95c3-5fc6b5165d2c/resource/snippets/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3b3d1881-aed2-4176-95c3-5fc6b5165d2c/resource/tasks/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3b3d1881-aed2-4176-95c3-5fc6b5165d2c/resource/globalState/5fb14896-39f5-4d17-a7ed-169664ed0ce6 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3b3d1881-aed2-4176-95c3-5fc6b5165d2c/resource/globalState https://vscode-sync-insiders.trafficmanager.net/v1/collection/3b3d1881-aed2-4176-95c3-5fc6b5165d2c/resource/extensions/bcc1e504-bcd8-4350-a4d4-a2329d55f396 https://vscode-sync-insiders.trafficmanager.net/v1/collection/a4c71e15-f2c9-43ef-b1af-aaf890f8610e/resource/settings/d226929a-8e3e-428b-8c9e-1762feca4faf https://vscode-sync-insiders.trafficmanager.net/v1/collection/a4c71e15-f2c9-43ef-b1af-aaf890f8610e/resource/settings https://vscode-sync-insiders.trafficmanager.net/v1/collection/a4c71e15-f2c9-43ef-b1af-aaf890f8610e/resource/keybindings/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/a4c71e15-f2c9-43ef-b1af-aaf890f8610e/resource/snippets/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/a4c71e15-f2c9-43ef-b1af-aaf890f8610e/resource/tasks/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/a4c71e15-f2c9-43ef-b1af-aaf890f8610e/resource/globalState/237d8773-e8c3-4f2d-a9b6-b4b0b343e91a https://vscode-sync-insiders.trafficmanager.net/v1/collection/a4c71e15-f2c9-43ef-b1af-aaf890f8610e/resource/globalState https://vscode-sync-insiders.trafficmanager.net/v1/collection/a4c71e15-f2c9-43ef-b1af-aaf890f8610e/resource/extensions/e4cfa7ef-407e-4815-87f7-e7d397f5077b https://vscode-sync-insiders.trafficmanager.net/v1/collection/d5fba49b-7a68-4678-a7f6-455cec0a812c/resource/settings/7c9b80a7-784c-4955-83f3-ef305acec0a5 https://vscode-sync-insiders.trafficmanager.net/v1/collection/d5fba49b-7a68-4678-a7f6-455cec0a812c/resource/settings https://vscode-sync-insiders.trafficmanager.net/v1/collection/d5fba49b-7a68-4678-a7f6-455cec0a812c/resource/keybindings/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/d5fba49b-7a68-4678-a7f6-455cec0a812c/resource/snippets/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/d5fba49b-7a68-4678-a7f6-455cec0a812c/resource/tasks/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/d5fba49b-7a68-4678-a7f6-455cec0a812c/resource/globalState/61dbf683-9ef4-49a0-ae66-fd57682af840 https://vscode-sync-insiders.trafficmanager.net/v1/collection/d5fba49b-7a68-4678-a7f6-455cec0a812c/resource/globalState https://vscode-sync-insiders.trafficmanager.net/v1/collection/d5fba49b-7a68-4678-a7f6-455cec0a812c/resource/extensions/f83c2410-8d19-4e70-9356-16ed33f0a649 https://vscode-sync-insiders.trafficmanager.net/v1/collection/dd8b9a04-29ae-4b7a-872c-6d33004eda42/resource/settings/031251ee-4980-476b-97b1-f5c7643750ad https://vscode-sync-insiders.trafficmanager.net/v1/collection/dd8b9a04-29ae-4b7a-872c-6d33004eda42/resource/settings https://vscode-sync-insiders.trafficmanager.net/v1/collection/dd8b9a04-29ae-4b7a-872c-6d33004eda42/resource/keybindings/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/dd8b9a04-29ae-4b7a-872c-6d33004eda42/resource/snippets/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/dd8b9a04-29ae-4b7a-872c-6d33004eda42/resource/tasks/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/dd8b9a04-29ae-4b7a-872c-6d33004eda42/resource/globalState/26999588-f662-4438-b952-0063772410f3 https://vscode-sync-insiders.trafficmanager.net/v1/collection/dd8b9a04-29ae-4b7a-872c-6d33004eda42/resource/globalState https://vscode-sync-insiders.trafficmanager.net/v1/collection/dd8b9a04-29ae-4b7a-872c-6d33004eda42/resource/extensions/f13c68a9-280d-4914-b422-1492a01fe087 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3a22cd8e-9b11-4624-aa4a-78ba983551bc/resource/settings/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3a22cd8e-9b11-4624-aa4a-78ba983551bc/resource/keybindings/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3a22cd8e-9b11-4624-aa4a-78ba983551bc/resource/snippets/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3a22cd8e-9b11-4624-aa4a-78ba983551bc/resource/tasks/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3a22cd8e-9b11-4624-aa4a-78ba983551bc/resource/extensions/8e47873e-66bb-414f-83a9-40a8a8422904 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3a22cd8e-9b11-4624-aa4a-78ba983551bc/resource/globalState/2794bb3e-c4e2-4c88-8f55-4265fa19c4f3 https://vscode-sync-insiders.trafficmanager.net/v1/collection/3a22cd8e-9b11-4624-aa4a-78ba983551bc/resource/globalState https://vscode-sync-insiders.trafficmanager.net/v1/collection/edcc01f7-9d18-4a08-bb4c-977a1c6ac732/resource/settings/61d90204-3c0e-4035-b624-6f4043c7decd https://vscode-sync-insiders.trafficmanager.net/v1/collection/edcc01f7-9d18-4a08-bb4c-977a1c6ac732/resource/settings https://vscode-sync-insiders.trafficmanager.net/v1/collection/edcc01f7-9d18-4a08-bb4c-977a1c6ac732/resource/keybindings/0 https://vscode-sync-insiders.trafficmanager.net/v1/collection/edcc01f7-9d18-4a08-bb4c-977a1c6ac732/resource/snippets/0
2023-02-22 11:16:22.069 [info] Request failed https://vscode-sync-insiders.trafficmanager.net/v1/manifest
Now the issue has reversed. Server has most of the profiles that got synced before when you turned on sync before. And now those profiles want to be synced down.
And there seems to be a bug that disabling profiles to sync is not being respected. I will file a separate issue for that. Thanks for reporting this.
Edit
@isidorn
Even if I choose to not sync profiles I get the same error.
How did you disabled profiles syncing? Is it while turning on sync?
@sandy081 sounds bad, since I can not get out of this broken experience :)
Yes, I disabled syncing profile when turning on Settings Sync. I am in a state, where whatever I do there is no way for me to enable settings sync.
Hello. I have the same problem:
2023-03-02 12:27:01.419 [info] Using settings sync service https://vscode-sync.trafficmanager.net/
2023-03-02 12:27:01.419 [info] Auto Sync is disabled.
2023-03-02 12:27:47.684 [info] Sync started.
2023-03-02 12:27:47.694 [info] Request failed https://vscode-sync.trafficmanager.net/v1/manifest
2023-03-02 12:27:47.694 [error] RequestFailed (UserDataSyncError) syncResource:unknown operationId:unknown: Connection refused for the request 'https://vscode-sync.trafficmanager.net/v1/manifest'.
at y.w (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:90:146145)
at async y.manifest (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:90:144157)
at async s.createManualSyncTask (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:90:118701)
at async v.i (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:90:133492)
at async v.call (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:90:131946)
I have the same problem:
This is not the same problem - Connection refused for the request 'https://vscode-sync.trafficmanager.net/v1/manifest'.
. It seems you have network issues.
Isidor here, I am just using my personal account for some testing 👋
Turning on settings sync fails for me constantly. Settings sync logs showing errors on the server side.
fyi @isidorn @tyriar @lszomoru