Closed
Description
When requests from shared process are redirected to main, the main request service is throwing errors for some valid requests.
[2022-07-14 17:09:57.274] [main] [trace] RequestService#request (node) - error https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery {}
[error] ["Error: net::ERR_INVALID_ARGUMENT"," at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:101:7169)"," at SimpleURLLoaderWrapper.emit (node:events:390:28)"]
The same request is working when using browser XHR in shared process.
To reproduce:
- Start VS Code using fresh user data dir and extensions dir
- Enable this setting
developer.sharedProcess.redirectRequestsToMain
- this is an internal developer setting, so you have to set manually in the settings.json file - Turn on settings sync using your insiders settings sync service (Disable syncing settings)
🐛 Extensions Syncing fails because of above error
cc @bpasero