# Api, Chat and Agent error connecting trough proxy

**URL:** <https://forum.cursor.com/t/api-chat-and-agent-error-connecting-trough-proxy/164416>\
**Category:** Bug Reports\
**Created:** [June 30, 2026, 9:28am UTC](https://forum.cursor.com/t/api-chat-and-agent-error-connecting-trough-proxy/164416 "2026-06-30T09:28:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hamed\_Hadian](https://avatars.discourse-cdn.com/v4/letter/h/bbce88/32.png) [@Hamed\_Hadian](https://forum.cursor.com/u/Hamed_Hadian)\
**Post date:** [June 30, 2026, 9:28am UTC](https://forum.cursor.com/t/api-chat-and-agent-error-connecting-trough-proxy/164416/1 "2026-06-30T09:28:21Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

i’ve problem in newer version 3.9.16 with connection trough proxy, seems the connection doesn’t goes trough anymore which result to error :  
Cursor Network Diagnostic Results

FAILED (5): SSL, API, Ping, Chat, Agent

DNS: Success  
Logs:  
[2026-06-30T09:21:53.070Z] Host: api2.cursor.sh  
[2026-06-30T09:21:53.070Z] Servers: 192.168.155.38,192.168.155.36  
[2026-06-30T09:21:53.070Z] Resolved to 100.51.80.46 in 1ms  
[2026-06-30T09:21:53.164Z] Resolved to 100.51.80.46 in 94ms  
[2026-06-30T09:21:53.167Z] Resolved to 100.51.80.46 in 1ms  
[2026-06-30T09:21:53.167Z] Resolved to 100.51.80.46 in 0ms  
[2026-06-30T09:21:53.187Z] Host: api2.cursor.sh  
[2026-06-30T09:21:53.187Z] Servers: system  
[2026-06-30T09:21:53.187Z] Resolved to 34.197.247.23, 100.51.80.46, 34.198.42.18, 32.197.70.219, 23.20.96.163, 54.92.228.128, 54.236.191.220, 34.236.52.0 in 6ms  
[2026-06-30T09:21:53.190Z] Resolved to 34.197.247.23, 100.51.80.46, 34.198.42.18, 32.197.70.219, 23.20.96.163, 54.92.228.128, 54.236.191.220, 34.236.52.0 in 0ms  
[2026-06-30T09:21:53.191Z] Resolved to 34.197.247.23, 100.51.80.46, 34.198.42.18, 32.197.70.219, 23.20.96.163, 54.92.228.128, 54.236.191.220, 34.236.52.0 in 0ms  
[2026-06-30T09:21:53.192Z] Resolved to 34.197.247.23, 100.51.80.46, 34.198.42.18, 32.197.70.219, 23.20.96.163, 54.92.228.128, 54.236.191.220, 34.236.52.0 in 0ms  
[2026-06-30T09:21:53.192Z] Result: true

SSL: Error: read ECONNRESET  
Logs:  
[2026-06-30T09:21:53.047Z] Start  
[2026-06-30T09:21:53.382Z] Error: read ECONNRESET in 335ms

API: Error: [aborted] read ECONNRESET  
Logs:  
[2026-06-30T09:21:53.049Z] Start  
[2026-06-30T09:21:53.502Z] Error: ConnectError: [aborted] read ECONNRESET

Ping: Error: [aborted] read ECONNRESET  
Logs:  
[2026-06-30T09:21:53.049Z] Sending ping 1  
[2026-06-30T09:21:53.502Z] Error: ConnectError: [aborted] read ECONNRESET

Chat: Error: [aborted] read ECONNRESET  
Logs:  
[2026-06-30T09:21:53.050Z] Starting streamSSE  
[2026-06-30T09:21:53.501Z] Error: ConnectError: [aborted] read ECONNRESET

Agent: Error: [aborted] read ECONNRESET  
Logs:  
[2026-06-30T09:21:53.050Z] Starting stream  
[2026-06-30T09:21:53.051Z] Pushing first message  
[2026-06-30T09:21:53.500Z] Error: ConnectError: [aborted] read ECONNRESET

### Steps to Reproduce

also i’ve tested on many clients and tried a few proxies with same result

### Expected Behavior

it expected to connect via proxy and network test results successful

### Operating System

Windows 10/11

### Version Information

Version: 3.9.16 (user setup)  
VS Code Extension API: 1.105.1  
Commit: 042b3c1a4c53f2c3808067f519fbfc67b72cad80  
Date: 2026-06-27T06:41:01.941Z  
Layout: editor  
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: Windows\_NT x64 10.0.26200

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [July 1, 2026, 10:39am UTC](https://forum.cursor.com/t/api-chat-and-agent-error-connecting-trough-proxy/164416/3 "2026-07-01T10:39:54Z")

</div>

3 posts were merged into an existing topic: [[Bug] always-local-singleton ignores http.proxy and server overrides cursor.general.disableHttp2](https://forum.cursor.com/t/bug-always-local-singleton-ignores-http-proxy-and-server-overrides-cursor-general-disablehttp2/164325)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [July 1, 2026, 10:39am UTC](https://forum.cursor.com/t/api-chat-and-agent-error-connecting-trough-proxy/164416/4 "2026-07-01T10:39:59Z")

</div>


