cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Can't search for extensions: "Error while fetching extensions. XHR failed"

Open seagreen opened this issue 1 year ago • 9 comments

The error in the dev console is:

GET https://cursor-cdn.com/queries/prod/11/91beb88178a63a21c36ba7aeab46e9c7daccdf822738fb84d86c866e1d4d8f87 net::ERR_CERT_COMMON_NAME_INVALID

My system:

Description:	Ubuntu 20.04.6 LTS
Release:	20.04
Codename:	focal

seagreen avatar Jan 08 '24 03:01 seagreen

Are you still seeing this issue?

Sanger2000 avatar Jan 15 '24 01:01 Sanger2000

Still seeing the issue (this is after upgrading Cursor to 0.22.1)

seagreen avatar Jan 16 '24 00:01 seagreen

Same issue here i'm on MacOS Sonoma. Everything works fine on vscode!

Abil-Shrestha avatar Jan 27 '24 00:01 Abil-Shrestha

same issue here: seeing this in the console

Access to XMLHttpRequest at 'https://marketplace.cursorapi.com/_apis/public/gallery/extensionquery' from origin 'vscode-file://vscode-app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
workbench.desktop.main.js:209     POST https://marketplace.cursorapi.com/_apis/public/gallery/extensionquery net::ERR_FAILED 502

rishabluthra avatar Jan 30 '24 06:01 rishabluthra

Seeing this issue on MacOS Ventura

codevbus avatar Jan 30 '24 16:01 codevbus

Seeing this as well. Apple M3 Max, Sonoma 14.2.1

RoyBkker avatar Jan 30 '24 16:01 RoyBkker

I think the issue was caused by cursor updating or refreshing a token while I was connected to a VPN. Fixed it by logging out and logging back in because I think a custom API is used for extensions

rishabluthra avatar Jan 31 '24 05:01 rishabluthra

I think the issue was caused by cursor updating or refreshing a token while I was connected to a VPN. Fixed it by logging out and logging back in because I think a custom API is used for extensions

FWIW I tried logging out and then restarting cursor, but it didn't help in my case.

seagreen avatar Jan 31 '24 13:01 seagreen

Found a lead! The problem to do with my ISP. Turning on a VPN fixes it.

I had originally gotten the error on Linux. Recently I tried Cursor on Mac and got the exact same error, that's when I decided to try a VPN.

seagreen avatar Apr 20 '24 14:04 seagreen

I believe this is related to IPv6. I am running macOS 14.6.1 and was experiencing this issue. I set my primary network interface IPv6 configuration to Link-Local Only and searching/viewing extensions immediately began working.

acehoss avatar Sep 09 '24 12:09 acehoss