I’m working under a proxy, and I’ve already set it in the cursor. The chat mode works fine, but codebase indexing is failing with a handshake failure. When I try cmd+k inputting code instructions and clicking submit, it says “connection failed”.
I found the root cause is that the API request to api3.cursor.sh
wasn’t using the proxy I set in the cursor settings.
Please help to fix, I became the cursor pro, but cannot use the cursor tab and indexing under proxy.
Below is the output log of cursor tab.
Error in streaming cpp [unavailable] getaddrinfo ENOTFOUND api3.cursor.sh
The cursor chat is working fine, and I also can open the api3.cursor.sh in my browser with the same proxy.
I can see their traffic go through proxy client, but cannot see any traffic related to “api3.cursor.sh”
currently, the cmd+k, codebase indexing and cursor tab cannot work, only cursor chat is working fine under the proxy.
below is the proxy setting in the cursor
This should work after turning off http/2
Thank you for reply!
It seems like things are working after disabling HTTP/2 in the version 0.40.3.
But I still can saw the error in the output: [error] ConnectError: [unavailable] getaddrinfo ENOTFOUND api3.cursor.sh
Thanks. This works now.
But why when using a socks5 proxy, still need to disable HTTP2? I think HTTP/2 should work well through a SOCKS5 proxy as SOCKS5 is on TCP layer.