# Please fix Could not establish connection to "PC": Failed to download VS Code Server (Server returned 404) in version 0.42.2

**URL:** <https://forum.cursor.com/t/please-fix-could-not-establish-connection-to-pc-failed-to-download-vs-code-server-server-returned-404-in-version-0-42-2/22884>\
**Category:** Bug Reports\
**Created:** [October 15, 2024, 4:15am UTC](https://forum.cursor.com/t/please-fix-could-not-establish-connection-to-pc-failed-to-download-vs-code-server-server-returned-404-in-version-0-42-2/22884 "2024-10-15T04:15:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![xydzf520](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/xydzf520/32/8528_2.png) [@xydzf520](https://forum.cursor.com/u/xydzf520)\
**Post date:** [October 15, 2024, 4:15am UTC](https://forum.cursor.com/t/please-fix-could-not-establish-connection-to-pc-failed-to-download-vs-code-server-server-returned-404-in-version-0-42-2/22884/1 "2024-10-15T04:15:22Z")

</div>

I use Windows to connect to Windows at home, using openssh.

It will prompt me “Could not establish connection to “PC”: Failed to download VS Code Server (Server returned 404).”

One of the URLs is invalid:

Cursor version:

Version: 0.42.2  
VSCode Version: 1.93.1  
Commit: c499aee5f16e67815c7dc795ff338dc8ab3e07f0  
Date: 2024-10-12T05:39:54.471Z  
Electron: 30.4.0  
Chromium: 124.0.6367.243  
Node.js: 20.15.1  
V8: 12.4.254.20-electron.0  
OS: Windows\_NT x64 10.0.26100

Here is the error log:

> PS C:\Users\xydzf\> “${uuid}: running”  
> 91ae0a5a15a9: running  
> PS C:\Users\xydzf\> "91ae0a5a15a9: pauseLog  
> [09:16:15.844] \> 91ae0a5a15a9: resumeLog  
> PS C:\Users\xydzf\> main  
> [09:16:15.870] \>  
> [09:16:15.989] \> Looking for existing CLI in C:\Users\xydzf.cursor-server  
> Downloading cli x64  
> 91ae0a5a15a9%%1%%  
> [09:16:16.000] \>  
> [09:16:16.966] \> Download failed. - BlobNotFoundThe specified blob does not exist.  
> RequestId:543d844c-201e-002b-7d9f-1ee368000000  
> Time:2024-10-15T01:16:17.1895427Z  
> Trigger local server download  
> 91ae0a5a15a9:trigger\_server\_download  
> artifact==cli-win32-x64==  
> destFolder==C:\Users\xydzf.cursor-server==  
> destFolder2==/vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.zip==  
> 91ae0a5a15a9:trigger\_server\_download\_end  
> Waiting for client to transfer server archive…  
> Waiting for C:\Users\xydzf.cursor-server\vscode-cli-c499aee5f16e67815c7dc795ff3  
> 338dc8ab3e07f0.zip.done and vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.z  
> zip to exist  
> [09:16:16.967] Got request to download on client for {“artifact”:“cli-win32-x64”,“destPath”:“C:\Users\xydzf\.cursor-server/vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.zip”}  
> [09:16:16.968] server download URL: [https://cursor.blob.core.windows.net/remote-releases/c499aee5f16e67815c7dc795ff338dc8ab3e07f0/cli-win32-x64.tar.gz](https://cursor.blob.core.windows.net/remote-releases/c499aee5f16e67815c7dc795ff338dc8ab3e07f0/cli-win32-x64.tar.gz)  
> [09:16:16.968] Downloading VS Code server locally…  
> [09:16:16.976] \>  
> [09:16:17.958] Resolver error: Error: Failed to download VS Code Server (Server returned 404)  
> at m.Create (c:\Users\xydzf.cursor\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:501230)  
> at c:\Users\xydzf.cursor\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:552565  
> at async t.downloadAndCopyToHost (c:\Users\xydzf.cursor\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:552065)  
> at async c:\Users\xydzf.cursor\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:622773  
> at async t.tryInstall (c:\Users\xydzf.cursor\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:623019)  
> at async c:\Users\xydzf.cursor\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:582826  
> at async t.withShowDetailsEvent (c:\Users\xydzf.cursor\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:586092)  
> at async k (c:\Users\xydzf.cursor\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:579713)  
> at async t.resolve (c:\Users\xydzf.cursor\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:583503)  
> at async c:\Users\xydzf.cursor\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:851164  
> [09:16:17.964] ------

[09:16:18.280] \> 91ae0a5a15a9: resumeLog

> PS C:\Users\xydzf\> main  
> Looking for existing CLI in C:\Users\xydzf.cursor-server  
> Downloading cli x64  
> 91ae0a5a15a9%%1%%  
> Download failed. - BlobNotFoundThe specified blob does not exist.  
> RequestId:543d844c-201e-002b-7d9f-1ee368000000  
> Time:2024-10-15T01:16:17.1895427Z  
> Trigger local server download  
> 91ae0a5a15a9:trigger\_server\_download  
> artifact==cli-win32-x64==  
> destFolder==C:\Users\xydzf.cursor-server==  
> destFolder2==/vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.zip==  
> 91ae0a5a15a9:trigger\_server\_download\_end  
> Waiting for client to transfer server archive…  
> Waiting for C:\Users\xydzf.cursor-server\vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.zip.done and vscode-cli-c499aee5f16e67815c7dc795ff338dc8ab3e07f0.zip to exist

---

<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:** [October 15, 2024, 8:21am UTC](https://forum.cursor.com/t/please-fix-could-not-establish-connection-to-pc-failed-to-download-vs-code-server-server-returned-404-in-version-0-42-2/22884/2 "2024-10-15T08:21:31Z")

</div>

Hi @xydzf520

SSH on Windows isn’t supported at the moment, but the Cursor team has promised to add support.

---

<div class="post-metadata">

**Author:** ![MartinHnik](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/martinhnik/32/21042_2.png) [@MartinHnik](https://forum.cursor.com/u/MartinHnik)\
**Post date:** [January 20, 2025, 10:17pm UTC](https://forum.cursor.com/t/please-fix-could-not-establish-connection-to-pc-failed-to-download-vs-code-server-server-returned-404-in-version-0-42-2/22884/3 "2025-01-20T22:17:08Z")

</div>

Please add the Win support!

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [January 21, 2025, 9:23pm UTC](https://forum.cursor.com/t/please-fix-could-not-establish-connection-to-pc-failed-to-download-vs-code-server-server-returned-404-in-version-0-42-2/22884/4 "2025-01-21T21:23:33Z")

</div>

Hey, Windows support should be available in 0.45, our next update!

---

<div class="post-metadata">

**Author:** ![Archean](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/archean/32/22721_2.png) [@Archean](https://forum.cursor.com/u/Archean)\
**Post date:** [January 28, 2025, 2:02am UTC](https://forum.cursor.com/t/please-fix-could-not-establish-connection-to-pc-failed-to-download-vs-code-server-server-returned-404-in-version-0-42-2/22884/5 "2025-01-28T02:02:58Z")

</div>

In fact, 0.45 did not solve this problem either, so I registered an account to answer with my solution:

TL;DR:  
Use SSH to log into your Windows host, start PowerShell, and then execute this ps1 script(Please read the script to ensure safety before executing.):

```auto
iex ((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/iarchean/c35fa8128b435e0ff7595370dd5b234b/raw/cursor.ps1'))

```

This script is a revised version of the script (encoded in base64) that is automatically executed when the cursor connects remotely to a Windows host. In the default script, there was an error in the download address of the server CLI (it should actually end with .zip, but the script had it as .tar.gz). I simply changed this suffix to solve the problem.

I hope the developers can see my post and quickly fix this long-standing issue.

---

<div class="post-metadata">

**Author:** ![getmdiaz](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/getmdiaz/32/5297_2.png) [@getmdiaz](https://forum.cursor.com/u/getmdiaz)\
**Post date:** [February 3, 2025, 10:24am UTC](https://forum.cursor.com/t/please-fix-could-not-establish-connection-to-pc-failed-to-download-vs-code-server-server-returned-404-in-version-0-42-2/22884/6 "2025-02-03T10:24:56Z")

</div>

@Archean  
it worked before the weekend, but now it doesn’t seems to be working any longer, might be something with my setup, but when it did work it was wonderful 🙂 But now the setup is back to WSL, but this makes the git plugin and terminal work kinda slow, so instead i have a terminal application i connect to over ssh to the windows machine, and cursor connects to the wsl setup, that seems to be working but i really would enjoy that cursor could connect directly to the windows machine over ssh.

---

<div class="post-metadata">

**Author:** ![vinhloc30796](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/vinhloc30796/32/23938_2.png) [@vinhloc30796](https://forum.cursor.com/u/vinhloc30796)\
**Post date:** [February 3, 2025, 10:33am UTC](https://forum.cursor.com/t/please-fix-could-not-establish-connection-to-pc-failed-to-download-vs-code-server-server-returned-404-in-version-0-42-2/22884/7 "2025-02-03T10:33:01Z")

</div>

Same error, in the newest version 0.45.9, Cursor is trying to download VS Code commit:cce0110ca40ceb61e76ecea08d24210123895320 which doesn’t even exist – this causes slowness & stalls.

I’m temporarily reverting to 0.44.11 in the meantime.

---

<div class="post-metadata">

**Author:** ![getmdiaz](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/getmdiaz/32/5297_2.png) [@getmdiaz](https://forum.cursor.com/u/getmdiaz)\
**Post date:** [February 5, 2025, 10:23am UTC](https://forum.cursor.com/t/please-fix-could-not-establish-connection-to-pc-failed-to-download-vs-code-server-server-returned-404-in-version-0-42-2/22884/8 "2025-02-05T10:23:26Z")

</div>

[Add Support for SSH Access to Windows Machines - #6 by getmdiaz](https://forum.cursor.com/t/add-support-for-ssh-access-to-windows-machines/42668/6) here is what helped me 🙂 hopefully you can get it working 2.
