I just figure out, If any special default network proxy or server for china mainland user?
I’m in china, and if I open my vpn to start “chat”, some times, it’s will connection failed.
but if I close vpn, it’s so response fluently, So maybe we should add some checks on whether our network is in China or elsewhere before deciding to use a cursor China proxy?
The main reason is that if I turn off the VPN, some of my sites including github become inaccessible, and I don’t want to repeatedly turn off the vpn because of cursor’s chat function
Maybe @tangjun can help with this?
Chinese man here.
Analysis
- Cursor cannot detect whether you are using a proxy. If it can detect it, this proxy is useless.
- If you use a VPN, you may experience connection failures, which depends on the VPN provider. Since Cursor’s servers are located abroad, by default, a VPN proxy will be used for connection. This will increase the number of transfers significantly, and the connection speed will decrease instead.
- If you use a VPN, then Cursor’s CDN may come into work, and in fact, the connection effect will be better.
So, there are two solutions. Choose one:
- Change to a VPN provider with better connection quality.
- Add the domain name
api2.cursor.sh
to the whitelist so that the connection of this domain name does not use a proxy.
Guide
here is my rules, I use Clash verge.
Create a subscription of merge type and enable it. Then use the following rules:
prepend-rules:
- 'DOMAIN,api2.cursor.sh,DIRECT'
have fun.
1 Like