Cursor pro connnection error in China with VPN

  • If I set the http proxy in the setting.json file of vscode to connect to the company’s external network proxy, the chat will get “Coneection failed”.

  • If the proxy is not set, indexing handshake will fail.

[info] Handshake start

2025-05-06 21:12:00.260 [info] Creating Indexing Repo client: https://repo42.cursor.sh

2025-05-06 21:12:00.261 [info] Creating repo client with backend url: https://repo42.cursor.sh

2025-05-06 21:12:05.262 [info] Creating Indexing Repo client: https://repo42.cursor.sh

2025-05-06 21:12:05.263 [info] Creating repo client with backend url: https://repo42.cursor.sh

2025-05-06 21:12:16.264 [warning] Retrying handshake with timeout 32000. Error: [canceled] This operation was aborted

This is contradictory, how should I solve it?

PS: I have disabled HTTP/2