Cursor goes on and off with VPN

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I am using Cursor on a remote server that requires a VPN connection. I noticed that Cursor Tab tends to go on and off in this setting, and it is getting worse in recent weeks.

Steps to Reproduce

You need to connect to a server through VPN.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.64
VSCode Version: 1.99.3
Commit: 25412918da7e74b2686b25d62da1f01cfcd27680
Date: 2025-11-06T04:35:14.424Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

1 Like

Hey @tianzeliu, could you clarify whether the Tab Completion setting itself is being switched off/on (as in the image below), or if the completion just stops working?

If it’s the completion that stops working, try these steps:

  1. Run Network Diagnostics: Cursor Settings → Network → Run Diagnostics and share the results. Is it all green?
  2. Disable HTTP/2: Cursor Settings → Network → HTTP/2, disable it, and then restart Cursor. Does that help?
  3. Test with extensions disabled: run cursor --disable-extensions from a terminal and see if the issue persists.

Also, could you let me know:

  • Does this happen in a fresh project?
  • Any errors shown in the DevTools console (`Help → Toggle Developer Tools`)?

Let me know what you find; we can figure out the next steps from there.

Thanks @arun
@tianzeliu Please share more info as arun mentioned to help figure this out. Thanks!


This is the result of the network diagnostics when the HTTP compatibility is set to 1.0. It looks like both Chat and Agent have network issues.

Hi again @tianzeliu, if you set HTTP 1.1 in the compatibility setting, what do you see?

  • HTTP/1.1 usually works better than HTTP/2 when a VPN is involved.
  • HTTP/1.0 generally isn’t needed for this issue.

Could you switch the setting to HTTP 1.1, restart Cursor, and let me know whether tab completion stays on?

I have been running Cursor over Wireguard VPN’s for many many month with excellent reseults. Try Wireguard on a Netgate device with a CAT6 cable


It still doesn’t work even after I changed the compatibility mode to HTTP 1.0. Is that because my VPN is particularly bad?

There seems to be a misunderstanding - could you try switching the HTTP compatibility to HTTP 1.1 (instead of 1.0), then restart Cursor and test both with the VPN on and off? While you’re at it, check whether Agent and tab‑completion all work as expected. Let me know what you see.

Setting the compatibility to HTTP 1.1 doesn’t work when I am connected through VPN, but it works without it.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.