remote-ftp icon indicating copy to clipboard operation
remote-ftp copied to clipboard

ECONNRESET

Open k3larra opened this issue 10 years ago • 54 comments

Hi Sort of out of the blue I get this error?

econnreset

Have Been using Remote-FTP for a while and it has always worked, tested a few days ago but from today I get this. I can connect to the same site with command-line-ftp and FileZilla. (Great product tnx for that) regards /L

k3larra avatar Nov 21 '16 21:11 k3larra

Getting the same result on a clients Go Daddy web hosted account. Other hosts like Digital Ocean and Site Ground seem to be working fine for me still on Remote FTP. Filezilla connects to the Go Daddy account.

dylanholmes222 avatar Nov 21 '16 21:11 dylanholmes222

My problems are also related to GoDaddy so it seems reasonable to think that there are some change on their side that Remote-FTP doesn't handle.

k3larra avatar Nov 22 '16 07:11 k3larra

I've the same issue. I can't see my remote folders. I tested the connection with two different provider (Aruba and DNS Hosting) and the main problem isn't the connection, but the directory listing (Error 200).

Humanitech avatar Nov 22 '16 14:11 Humanitech

I've been receiving the same error for the past couple of days. I've had to switch back to Sublime Text 3 which isn't a big deal, but I prefer Atom. I'm a GoDaddy customer also, but it had been working just fine.

alanneese avatar Nov 22 '16 14:11 alanneese

Can confirm that trying to connect to GoDaddy gives ECONNRESET, connecting to Dreamhost or DigitalOcean give no trouble at all.

Atom: 1.12.5 Remote-FTP: 0.9.4 OS: Windows Anniversary Edition

DanMoCa avatar Nov 22 '16 23:11 DanMoCa

I'm having this issue using Bluehost. Also noticed that my internet got super sluggish just before the error popped up.

allendotson avatar Nov 23 '16 04:11 allendotson

Same issue for me. Evrything works with Filezila and nppFTP Notepad++ plugin but remote FTP doesn' want to list repository scrnprnt_201611230338pm

limonanagituser avatar Nov 23 '16 14:11 limonanagituser

Also having this issue with GoDaddy. I am able to connect w/ Filezilla but not through atom with Remote-FTP. Gives the ECONNRESET error.

wolfymaster avatar Nov 24 '16 05:11 wolfymaster

Same here on OVH

lip2502 avatar Nov 25 '16 14:11 lip2502

The update should be soon?

moskalukigor avatar Nov 28 '16 08:11 moskalukigor

Is there anything that stands out in the console of the dev tools?

jimmaaay avatar Nov 28 '16 15:11 jimmaaay

Hi all. I have the exact same issue. I can connect to my ftp fine with notepad++ and filezilla, but I get the same error every time I connect with Atom. My server is also with godaddy... I even deleted all the atom installation folders and reinstalled it, but same behavior. If it helps, when I get to the Cpanel, I can see the idle ftp connection that atom started. God help the brilliant minds that are hunting this bug !!! Best of luck!

johnmarlow007 avatar Dec 07 '16 00:12 johnmarlow007

Ok, So What I don't understand is that when looking at the console output everything seems to be fine. Except that no file is showing and I get this ECONNRESET.

If it is of any help here is the output of the console. Welcome to OVH ~~~\r\n220 This is a private system - No anonymous login C:\Users\Utilisateur\.atom\packages\Remote-FTP\lib\client.js:347 < 331 User a36265ds4 C:\Users\Utilisateur\.atom\packages\Remote-FTP\lib\client.js:347 < 230 OK. Current restricted directory is / C:\Users\Utilisateur\.atom\packages\Remote-FTP\lib\client.js:347 < 211-Extensions supported:\r\n EPRT\r\n IDLE\r\n MDTM\r\n SIZE\r\n MFMT\r\n REST STREAM\r\n MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;\r\n MLSD\r\n AUTH TLS\r\n PBSZ\r\n PROT\r\n UTF8\r\n TVFS\r\n ESTA\r\n PASV\r\n EPSV\r\n SPSV\r\n ESTP\r\n211 End. C:\Users\Utilisateur\.atom\packages\Remote-FTP\lib\client.js:347 < 200 TYPE is now 8-bit binary C:\Users\Utilisateur\.atom\packages\Remote-FTP\lib\client.js:347 < 227 Entering Passive Mode (213,186,33,215,187,67) C:\Users\Utilisateur\.atom\packages\Remote-FTP\lib\client.js:347 < 150 Accepted data connection

Any idea about what's causing the issue ?

Thanks for the help

lip2502 avatar Dec 11 '16 19:12 lip2502

I've figured it out!!

fix: go to .atom\packages\Remote-FTP\node_modules\ftp\lib\connection.js on line 106 change socket.setKeepAlive(true); -> socket.setKeepAlive(false);

You are welcome :)

@jimmaaay

kotevcode avatar Dec 13 '16 09:12 kotevcode

Thank you! I made the change and it seems to be working now.

alupkasix avatar Dec 13 '16 10:12 alupkasix

Awesome @shahafan! I would just add that we need to restart Atom. I've followed the steps and worked as expected! Thanks again :)

paul2903 avatar Dec 15 '16 21:12 paul2903

Waow @shahafan ! I have been trying to find a fix for ages, thank you soooooo much ! You made my day ;-)

lip2502 avatar Jan 21 '17 09:01 lip2502

Thanks !

altekha avatar Jan 21 '17 14:01 altekha

socket.setKeepAlive(false); <== maybe add option to set this in the .ftpconfig?

teeramusic avatar Jan 23 '17 05:01 teeramusic

Yes, please make this default or add to settings. The last update a couple days ago broke my FTP again by turning this back to TRUE.

What's weird is that this worked for a long time without having to make this change until about the time this thread started. Did it use to be set to false by default? If so, why not just set it back?

alupkasix avatar Jan 23 '17 06:01 alupkasix