This problem drives me crazy : no way to save through SFTP !

Version: 0.42.4 Validation: 1.93.1 Date: b1e87884330fc271d5eb589e368c35f14e76dec0 Electron: 2024-10-29T17:17:29.347Z ElectronBuildId: 30.4.0 Chromium: undefined Node.js: 124.0.6367.243 V8: 20.15.1 Operating System: 12.4.254.20-electron.0

I have been using Cursor in the paid version for a year to produce Laravel. Therefore, I have a bunch of development extensions, along with an SFTP extension that allows me to upload my changes directly to my remote FTP server when I make modifications.

Everything worked well until about 2 or 3 months ago, I can’t pinpoint exactly when it started.

Anyway, since that time, in a completely random way, saving via SFTP no longer works. I can go one or two days without being able to make any remote connection to my FTP server using SFTP.

This problem drives me crazy.

When it happens, I perform the following checks:

  • Connecting via a classic FTP client (like FileZilla) from my workstation, the connection and upload work fine.
  • Since I use a VPN, I make sure that neither my personal IPv4 nor my VPN IPv4 are blacklisted.
  • I obviously check that I am connected to the internet from Cursor (I query an AI).
  • I restart my computer, but the problem still persists.
  • tryed also reinstall, recreate profile from scratch

Then, at some point, for no apparent reason, it starts working again.

For instance, I could edit for 30 minutes without any issue, and suddenly it stops working.

On the FTP server side, I see these logs:

Wed Nov 13 15:29:53 2024 [pid 2377922] CONNECT: Client "45.80.*.*"
Wed Nov 13 15:29:53 2024 [pid 2377922] FTP response: Client "45.80.*.*", "220 FTP server ready"

On the Cursor side:

[11-13 15:30:44] [error] Error: Timeout while connecting to server
    at Timeout._onTimeout (c:\Users\user\.cursor\extensions\liximomo.sftp-1.12.10\dist\extension.js:70:110631)
    at listOnTimeout (node:internal/timers:573:17)
    at processTimers (node:internal/timers:514:7) download c:\Users\user\anonymized_path\resources\views\livewire\profile\update-password-form.blade.php

It’s just unbearable…

Well, it seems I am the only one around the world to have this problem…

More log, with debug mode :

11-18 11:25:20] [info] [file-save] c:\Users\rsi\preprod.domain\v1\resources\views\layouts\app.blade.php

[11-18 11:25:20] [trace] handle upload file for c:\Users\rsi\preprod.domain\v1\resources\views\layouts\app.blade.php

[11-18 11:25:22] [debug] < '220 FTP server ready\r\n'

[11-18 11:25:22] [debug] > AUTH TLS

[11-18 11:25:23] [debug] < '234 Proceed with negotiation.\r\n'

[11-18 11:25:25] [debug] > PBSZ 0

[11-18 11:25:26] [debug] < '200 PBSZ set to 0.\r\n'

[11-18 11:25:26] [debug] > PROT P

[11-18 11:25:29] [debug] < '200 PROT now Private.\r\n'

[11-18 11:25:29] [debug] > USER preprod.domain

[11-18 11:25:29] [debug] < '331 Please specify the password.\r\n'

[11-18 11:25:29] [debug] > PASS ******

[11-18 11:25:29] [debug] < '230 Login successful.\r\n'

[11-18 11:25:29] [debug] > FEAT

[11-18 11:25:31] [debug] < '211-Features:\r\n'

[11-18 11:25:31] [debug] < ' EPRT\r\n'

[11-18 11:25:31] [debug] < ' EPSV\r\n'

[11-18 11:25:31] [debug] < ' MDTM\r\n'

[11-18 11:25:31] [debug] < ' PASV\r\n'

[11-18 11:25:31] [debug] < ' PBSZ\r\n'

[11-18 11:25:31] [debug] < ' PROT\r\n'

[11-18 11:25:31] [debug] < ' REST STREAM\r\n'

[11-18 11:25:31] [debug] < ' SIZE\r\n'

[11-18 11:25:31] [debug] < ' TVFS\r\n'

[11-18 11:25:31] [debug] < '211 End\r\n'

[11-18 11:25:31] [debug] > TYPE I

[11-18 11:25:31] [error] Error: Timeout while connecting to server

at Timeout._onTimeout (c:\Users\rsi\.cursor\extensions\liximomo.sftp-1.12.10\dist\extension.js:70:110631)

at listOnTimeout (node:internal/timers:573:17)

at processTimers (node:internal/timers:514:7) download c:\Users\rsi\preprod.domain\v1\resources\views\layouts\app.blade.php

[11-18 11:25:31] [debug] < '200 Switching to Binary mode.\r\n'