Description
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.96.4 (user setup)
- OS Version: Windows_NT x64 10.0.22631
Steps to Reproduce:
- when i use my mobile's wifi,the extension store show the "XHR error",but when i restart my computer,it show me "fail to fetch ". I can use the extension store in my mobile's wifi a weeks ago ,but when i get home it can't use,how to fix?
- by the way ,i can use the extension store in my home's wifi,it can't use in my mobile's wifi
- here are the error code
Failed to load resource: net::ERR_FAILED
workbench.desktop.main.js:sourcemap:35 ERR [network] #2: https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery - error POST Failed to fetch
workbench.html:1 Access to fetch at 'https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
marketplace.visualstudio.com/_apis/public/gallery/extensionquery:1
Failed to load resource: net::ERR_FAILED
workbench.desktop.main.js:sourcemap:35 ERR [network] #3: https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery - error POST Failed to fetch
workbench.desktop.main.js:sourcemap:35 INFO [perf] Render performance baseline is 12ms
workbench.html:1 Access to fetch at 'https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
marketplace.visualstudio.com/_apis/public/gallery/extensionquery:1
Failed to load resource: net::ERR_FAILED
workbench.desktop.main.js:sourcemap:35 ERR [network] #4: https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery - error POST Failed to fetch
workbench.desktop.main.js:sourcemap:35 WARN Settings pattern "issueReporter." doesn't match any settings
workbench.desktop.main.js:sourcemap:35 WARN Settings pattern "application." doesn't match any settings
workbench.html:1 Access to fetch at 'https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
marketplace.visualstudio.com/_apis/public/gallery/extensionquery:1
Failed to load resource: net::ERR_FAILED
workbench.desktop.main.js:sourcemap:35 ERR [network] #24: https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery - error POST Failed to fetch
workbench.desktop.main.js:sourcemap:35 ERR Failed: Failed to fetch
at x3e.H (vscode-file://vscode-app/d:/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1334:42653)
at async x3e.F (vscode-file://vscode-app/d:/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1334:39602)
at async o (vscode-file://vscode-app/d:/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1334:38567)
at async x3e.query (vscode-file://vscode-app/d:/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1334:38853)
at async pet.queryGallery (vscode-file://vscode-app/d:/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2430:14638)
at async Promise.all (index 0)
at async GLs.Mc (vscode-file://vscode-app/d:/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2222:21996)
at async GLs.wc (vscode-file://vscode-app/d:/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2222:13932)
at async vscode-file://vscode-app/d:/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2222:12294
workbench.html:1 Access to fetch at 'https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
marketplace.visualstudio.com/_apis/public/gallery/extensionquery:1