# Connection failed. If the problem persists, please check your internet connection or VPN Premature close \[unknown\]

**URL:** <https://forum.cursor.com/t/connection-failed-if-the-problem-persists-please-check-your-internet-connection-or-vpn-premature-close-unknown/118079>\
**Category:** Bug Reports\
**Created:** [July 15, 2025, 9:18am UTC](https://forum.cursor.com/t/connection-failed-if-the-problem-persists-please-check-your-internet-connection-or-vpn-premature-close-unknown/118079 "2025-07-15T09:18:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Per\_Swede](https://avatars.discourse-cdn.com/v4/letter/p/bc8723/32.png) [@Per\_Swede](https://forum.cursor.com/u/Per_Swede)\
**Post date:** [July 15, 2025, 9:18am UTC](https://forum.cursor.com/t/connection-failed-if-the-problem-persists-please-check-your-internet-connection-or-vpn-premature-close-unknown/118079/1 "2025-07-15T09:18:15Z")

</div>

### Describe the Bug

Connection lost, see title I can’t get any connection to cursor it seems. it just times out over and over again.

### Steps to Reproduce

Just type anything into the terminal to the agent. I’ve been getting the same error message since about an hour after midnight last night (11hrs now) here in Stockholmregion.  
This happent once before. Cursors page says everything is up, but clearly it’s not. This might be a case that the DNS problems from last night are NOT fixed everywhere for some reason

### Expected Behavior

No timeout, get an answer back…

### Operating System

Windows 10/11

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (user setup)  
VSCode Version: 1.99.3  
Commit: a8e95743c5268be73767c46944a71f4465d05c90  
Date: 2025-07-10T17:09:01.383Z  
Electron: 34.5.1  
Chromium: 132.0.6834.210  
Node.js: 20.19.0  
V8: 13.2.152.41-electron.0  
OS: Windows\_NT x64 10.0.26100

### Additional Information

Restarted computer multiple times, tried with and without VPN. All other internet works fine.

### Does this stop you from using Cursor

Yes - Cursor is unusable

---

<div class="post-metadata">

**Author:** ![jokerfool](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jokerfool/32/34476_2.png) [@jokerfool](https://forum.cursor.com/u/jokerfool)\
**Post date:** [July 15, 2025, 10:05am UTC](https://forum.cursor.com/t/connection-failed-if-the-problem-persists-please-check-your-internet-connection-or-vpn-premature-close-unknown/118079/2 "2025-07-15T10:05:05Z")

</div>

Start a new chat.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [July 15, 2025, 10:29am UTC](https://forum.cursor.com/t/connection-failed-if-the-problem-persists-please-check-your-internet-connection-or-vpn-premature-close-unknown/118079/3 "2025-07-15T10:29:53Z")

</div>

Hey, which model are you using? Also, is this happening in a new chat?

---

<div class="post-metadata">

**Author:** ![AlexanderBelkevich](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/alexanderbelkevich/32/51030_2.png) [@AlexanderBelkevich](https://forum.cursor.com/u/AlexanderBelkevich)\
**Post date:** [July 15, 2025, 1:09pm UTC](https://forum.cursor.com/t/connection-failed-if-the-problem-persists-please-check-your-internet-connection-or-vpn-premature-close-unknown/118079/4 "2025-07-15T13:09:27Z")

</div>

The same problem. I create new chats, change VPN (without VPN doesn’t work in my country), restarted computer multiple times, disabled http2. But it doesn’t work

Connection failed. If the problem persists, please check your internet connection or VPN.

> **Request info**
>
> Request ID: a8b9e4d2-0fdb-4411-a6f6-e28beb475c22  
> ConnectError: [aborted] aborted  
> at C9a.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4757:223764)  
> at uir.S (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:17741)  
> at uir.Q (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:17519)  
> at uir.M (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:16607)  
> at uir.L (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:15708)  
> at Bwt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:14500)  
> at ve.B (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:48:2398)  
> at ve.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:48:2617)  
> at Git.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4744:10379)  
> at u.onmessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6968:12271)

Everything work with, example, gpt-4o, but with sonnet not working

---

<div class="post-metadata">

**Author:** ![Per\_Swede](https://avatars.discourse-cdn.com/v4/letter/p/bc8723/32.png) [@Per\_Swede](https://forum.cursor.com/u/Per_Swede)\
**Post date:** [July 16, 2025, 11:28am UTC](https://forum.cursor.com/t/connection-failed-if-the-problem-persists-please-check-your-internet-connection-or-vpn-premature-close-unknown/118079/5 "2025-07-16T11:28:12Z")

</div>

Creating a new chat worked. (changing from gemini to gpt didn’t). Quite frustrating though before you realize what’s going on.

---

<div class="post-metadata">

**Author:** ![LARAMediaGroup](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/laramediagroup/32/58850_2.png) [@LARAMediaGroup](https://forum.cursor.com/u/LARAMediaGroup)\
**Post date:** [July 22, 2025, 4:24pm UTC](https://forum.cursor.com/t/connection-failed-if-the-problem-persists-please-check-your-internet-connection-or-vpn-premature-close-unknown/118079/6 "2025-07-22T16:24:23Z")

</div>

Same here, we tried everything - (http2, vpn, restart program, update, pc reboot, new chat, new network…) nothing works!!!

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [August 13, 2025, 4:25pm UTC](https://forum.cursor.com/t/connection-failed-if-the-problem-persists-please-check-your-internet-connection-or-vpn-premature-close-unknown/118079/7 "2025-08-13T16:25:20Z")

</div>

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