Indexing: Handshake Failed
Indexing my (Python) code shows "Handshake Failed"
Windows 11 Business Version: 0.40.1 VSCode Version: 1.91.1 Commit: 58b91712431381a1b75817cd3437cee35dddcb30 Date: 2024-08-24T02:52:24.035Z Electron: 29.4.0 ElectronBuildId: undefined Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.22631
Mine just started doing this too.
I see old posts of this happening. Figured I'd try to find a more recent post to see if I'm the only one.
I'm on a Mac accessing an Ubuntu server on my network via SSH. I tried Deleting my index to see if maybe it got too full from a previous project. Just basic stuff to double check. Haven't had any problems up until now. Restarted my server. Restarted Cursor. Same message.
Check back here later.
I was in the middle of something too. Guess no cursor tonight.
Also what happened to the blue progress bar? The little " ... " is too ambiguous. I like being able too see the progress personally. Unless it's just not loading for me.
Seems to be working on my other server.
I did change some network settings DNS stuff on the problem rig. But it was working fine even after changing those settings. Not sure if that may have done something though.
Gonna try reverting that and check back.
While messing with Pi-hole I guess I disabled this.
Seems to be working now.
I'll leave this here just in case it helps someone. Goodluck
-Sol
Hi,
It worked perfectly fine till yesterday. (30-08-2024)
Today (31-08-2024) I updated the cursor version to the latest and got the following issue,
No autocomplete is working now, completely feels like AI less normal vs code :(
How to roll back the Cursor to the previous version or what are the other ways?
Thanks,
Mine just started doing this too.
I see old posts of this happening. Figured I'd try to find a more recent post to see if I'm the only one.
I'm on a Mac accessing an Ubuntu server on my network via SSH. I tried Deleting my index to see if maybe it got too full from a previous project. Just basic stuff to double check. Haven't had any problems up until now. Restarted my server. Restarted Cursor. Same message.
Check back here later.
I was in the middle of something too. Guess no cursor tonight.
Also what happened to the blue progress bar? The little " ... " is too ambiguous. I like being able too see the progress personally. Unless it's just not loading for me.
Seems to be working on my other server. I did change some network settings DNS stuff on the problem rig. But it was working fine even after changing those settings. Not sure if that may have done something though. Gonna try reverting that and check back.
While messing with Pi-hole I guess I disabled this.
Seems to be working now.
I'll leave this here just in case it helps someone. Goodluck
-Sol
It works fine for me with a smartphone 5g network hotspot. but when I switch it to WIFI network nothing is working. Do you know how you fixed the DNS issue ?
Mine just started doing this too. I see old posts of this happening. Figured I'd try to find a more recent post to see if I'm the only one.
I'm on a Mac accessing an Ubuntu server on my network via SSH. I tried Deleting my index to see if maybe it got too full from a previous project. Just basic stuff to double check. Haven't had any problems up until now. Restarted my server. Restarted Cursor. Same message. Check back here later. I was in the middle of something too. Guess no cursor tonight. Also what happened to the blue progress bar? The little " ... " is too ambiguous. I like being able too see the progress personally. Unless it's just not loading for me. Seems to be working on my other server. I did change some network settings DNS stuff on the problem rig. But it was working fine even after changing those settings. Not sure if that may have done something though. Gonna try reverting that and check back.
While messing with Pi-hole I guess I disabled this.
Seems to be working now.
I'll leave this here just in case it helps someone. Goodluck -Sol
It works fine for me with a smartphone 5g network hotspot. but when I switch it to WIFI network nothing is working. Do you know how you fixed the DNS issue ?
My issue was happening because I switched the DNS on my Ubuntu server. I was trying to have PIhole Resolve addresses on my network. I was trying to setup name spaces for PI-hole. Which I need to switch/redirect in my router but didn't do it. Not sure if you changed any thing with the resolve.conf. Not even sure which OS you're running. Linux? Windows? Mac?
I still had internet connection. But I guess Cursor has to be able to resolve to be able to create the index? Thus the handshake? Atleast that was what my issue was.
I'm just guessing. I mean it makes sense since they have to be able to reach their API. But it probably requires the proper DNS resolve as well.
It could be something in the router? Did you change any settings with it? I'm just not sure what your setup is or what you were doing before it started giving you problems. Was it just the update?
It's possible that the update may have changed how it interacts with the DNS. If you had any pre-existing network configurations it's possible that something with your network setup may have became an issue after the update. This is assuming your using Linux though. Maybe something else you have setup got in the way because of the update. Where as it might not have been a problem before but the update possibly changed the protocol.
I'm just guessing as I don't have a lot of information to go off. If it doesn't work on the wifi then it may be something along those lines.
Here are some suggestions to troubleshoot:
1: DNS Configuration:
Check your DNS settings on the device you're using Cursor on. If you're using a custom DNS (like Pi-hole), ensure it's configured correctly. Try temporarily setting your DNS to a public DNS server (e.g., 8.8.8.8 for Google) to see if it resolves the issue.
2:Network Settings:
Compare the settings between your 5G hotspot (which works) and your WiFi network. Check if your router has any firewall or content filtering settings that might be blocking Cursor's connections.
3:Cursor-specific checks:
Ensure Cursor has the necessary network permissions on your device. Try clearing Cursor's cache or reinstalling the application.
4:General troubleshooting:
Restart your router and the device you're using Cursor on. Check if other applications that require internet access are working correctly on the WiFi network.
If you've made any recent changes to your network setup or if this started after a Cursor update, consider reverting those changes to see if it resolves the issue. Can you provide more information about your operating system and any recent changes you've made to your network or device settings? This would help in providing more specific advice.
-Sol
Mine just started doing this too. I see old posts of this happening. Figured I'd try to find a more recent post to see if I'm the only one.
I'm on a Mac accessing an Ubuntu server on my network via SSH. I tried Deleting my index to see if maybe it got too full from a previous project. Just basic stuff to double check. Haven't had any problems up until now. Restarted my server. Restarted Cursor. Same message. Check back here later. I was in the middle of something too. Guess no cursor tonight. Also what happened to the blue progress bar? The little " ... " is too ambiguous. I like being able too see the progress personally. Unless it's just not loading for me. Seems to be working on my other server. I did change some network settings DNS stuff on the problem rig. But it was working fine even after changing those settings. Not sure if that may have done something though. Gonna try reverting that and check back.
While messing with Pi-hole I guess I disabled this.
Seems to be working now.
I'll leave this here just in case it helps someone. Goodluck -Sol
It works fine for me with a smartphone 5g network hotspot. but when I switch it to WIFI network nothing is working. Do you know how you fixed the DNS issue ?
My issue was happening because I switched the DNS on my Ubuntu server. I was trying to have PIhole Resolve addresses on my network. I was trying to setup name spaces for PI-hole. Which I need to switch/redirect in my router but didn't do it. Not sure if you changed any thing with the resolve.conf. Not even sure which OS you're running. Linux? Windows? Mac?
I still had internet connection. But I guess Cursor has to be able to resolve to be able to create the index? Thus the handshake? Atleast that was what my issue was.
I'm just guessing. I mean it makes sense since they have to be able to reach their API. But it probably requires the proper DNS resolve as well.
It could be something in the router? Did you change any settings with it? I'm just not sure what your setup is or what you were doing before it started giving you problems. Was it just the update?
It's possible that the update may have changed how it interacts with the DNS. If you had any pre-existing network configurations it's possible that something with your network setup may have became an issue after the update. This is assuming your using Linux though. Maybe something else you have setup got in the way because of the update. Where as it might not have been a problem before but the update possibly changed the protocol.
I'm just guessing as I don't have a lot of information to go off. If it doesn't work on the wifi then it may be something along those lines.
Here are some suggestions to troubleshoot:
1: DNS Configuration:
Check your DNS settings on the device you're using Cursor on. If you're using a custom DNS (like Pi-hole), ensure it's configured correctly. Try temporarily setting your DNS to a public DNS server (e.g., 8.8.8.8 for Google) to see if it resolves the issue.
2:Network Settings:
Compare the settings between your 5G hotspot (which works) and your WiFi network. Check if your router has any firewall or content filtering settings that might be blocking Cursor's connections.
3:Cursor-specific checks:
Ensure Cursor has the necessary network permissions on your device. Try clearing Cursor's cache or reinstalling the application.
4:General troubleshooting:
Restart your router and the device you're using Cursor on. Check if other applications that require internet access are working correctly on the WiFi network.
If you've made any recent changes to your network setup or if this started after a Cursor update, consider reverting those changes to see if it resolves the issue. Can you provide more information about your operating system and any recent changes you've made to your network or device settings? This would help in providing more specific advice.
-Sol
Thank you for your valuable insights and observation. I will look into it for my windows 11 machine :)
Same behavior with 0.40.3. The only difference is that rather than failing immediately, now it seems to chug along for a minute or two with Setting up indexing... (ostensibly showing progress) before I get the handshake error.
Hello Everyone,
Here is a working solution , please try it and let me know. it is working for me :)
https://www.linkedin.com/posts/vinay-chaudhari-ai_cursor-prototyping-productdevelopment-activity-7236388125227290624-8jSm?utm_source=share&utm_medium=member_android
Hey, anyone still facing this, please can you comment your OS and Cursor info in #2035, thanks!
I'm a Chinese student. When I connect to my school's server via SSH to run programs, it prompts "handshake failed". However, when I open the local project with cursor, indexing works normally. I think it's a server issue, but I don't have the permission to modify the server's DNS. Do you have any suggestions or ideas to solve this problem?I use Windows 10. Thank you! :)



