Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Cursor IDE → Remote SSH
The Remote SSH Extension Host consistently crashes a few seconds after connecting to a remote Ubuntu host.
The crash always ends with the following exception:
TypeError: Converting circular structure to JSON
property ‘issuerCertificate’ closes the circle
After this exception, the Extension Host exits and the Remote SSH session becomes unusable.
The issue is reproducible on every connection attempt.
Steps to Reproduce
- Launch Cursor.
- Connect to a remote Ubuntu machine using Remote SSH.
- Wait for the remote extensions and Agent services to initialize.
- Within a few seconds, the Extension Host crashes.
Expected Behavior
The Extension Host should initialize successfully and remain running.
Operating System
Linux
Version Information
Version: 3.13.25
VS Code Extension API: 1.128.0
Commit: 31e8d61c448c7472e371505838a0fe34083dad50
Date: 2026-07-28T06:17:45.069Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.6.0
Local:
macOS 26 (Darwin arm64 25.6.0)
Remote:
Ubuntu 22.04
LXC container
Running inside OrbStack
For AI issues: which model did you use?
N/A
For AI issues: add Request ID with privacy disabled
N/A
Additional Information
Installed Remote Extensions
- eamodio.gitlens
- ms-python.python
- ms-python.debugpy
- ms-python.black-formatter
- anysphere.cursorpyright
- esbenp.prettier-vscode
- redhat.vscode-yaml
- redhat.vscode-xml
- ms-ceintl.vscode-language-pack-ru
No unusual third-party extensions are installed.
Investigation performed:
• SSH
- SSH connection is stable.
- The remote server remains accessible.
- No connection drops occur before the crash.
• AppArmor
- The remote host does not use AppArmor.
• GitLens
- GitLens initializes successfully.
- No errors appear in GitLens logs.
• MCP
I inspected the logs for:
- Context7
- Firebase
- Custom Odoo MCP
- GitLens MCP
The logs do not contain any exceptions matching the JSON serialization error.
The only warning observed is:
Transient error connecting to streamableHttp server: Canceled
which appears after the Extension Host has already started shutting down.
• Extension Host
The only fatal exception found in the logs is:
TypeError: Converting circular structure to JSON
property ‘issuerCertificate’ closes the circle
The stack trace originates from the Extension Host process.
I was able to rule out:
- unstable SSH connectivity;
- AppArmor configuration;
- Git repository issues.
I could not determine which component creates the object that causes the circular JSON serialization.
I have attached:
- remoteagent.log
- Extension Host logs
- MCP logs
If there are any additional debug flags, logging options, or diagnostic builds that would help identify the originating component, I’d be happy to test them and provide additional logs.
Does this stop you from using Cursor
Yes - Cursor is unusable