-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection timeout #591
Comments
Are you using ftp or sftp? |
I'm using a ftp configuration |
Probably should include your ftp daemon info here |
@daaru00 Could you open dev tools / inspector and paste the contents of the console when you have a timeout? |
|
Same problem here, when the FTP times out, trying to open a file or save a file will do nothing, rather than reconnecting. You have to manually reconnect by going to Packages -> Remote-FTP -> Connect. |
< 421 Timeout (No operation for 1800 seconds) |
version 0.10.3, same problem. I set a 'keepalive' value to 5 minutes (300000ms), but received "No operation for 1800 seconds" |
@jacobro Just out of curiosity, how did you find out? |
First I searched a phrase 'proftpd timeout'. Then went here: http://www.proftpd.org/docs/directives/linked/config_ref_TimeoutIdle.html. Looks like connection timeout is not my issue, but, after disconnecting, automatic re-connect is a must, as mentioned here #349 and here #408. |
|
< 421 Timeout (No operation for 1800 seconds) |
Im a noob - but if the server cant have a keep alive connection or even maybe the router kill off any idle connection - cant remote ftp just run list_dir every 2 minutes or so? I believe it would be much complicated than what i just describe, but just an idea :) |
@fransstudio2 i hope it is possible as probably it solves this major problem |
@fransstudio2 @jacobro there's a specific command for this purpose: NOOP (NO OPeration), can be used like a ping |
NOOP seems to timeout after a while (see #591 (comment)). remote-ftp used to reconnect which doesn't work anymore. |
@daaru00 unfortunatelly noop cmd does not refresh connection session on my server which is running proFtpd on Debian 8 x64. Double checked that. |
I wonder, however, that making a list of folders can be a bit heavy, I thinking of a hundred folders to retrieve |
Check this commit: 3898805 (theoretically it has improved.) |
1.1.0 Still doesn't reconnect on save. This is still an issue, you still have to go to Packages -> Remote-FTP -> Connect. This resets where you are in the file tree. |
After recent update, I noticed that it reconnects while saving when a password is set in .ftpconfig. It worked even if RemoteFTP was telling that there is a 421 connection timeout. If a password was not set, reconnection was not working at all. After newest update, nothing changed. Even setting a password in config does not make any diff. IMHO it should store a password somehwere, it should do all the job in background. it should even reconnect when browsing a file tree. |
I've just scan through the code to try figure out why this might not be working. |
@TomS- Has solved 1.1.3 version? |
@icetee can confirm 1.1.3 has fixed this EDIT: |
@toms I think the internet aborted. |
with the latest update (0.9.4) the connection frequently goes to timeout and when I save a file the connection will not reconnect in automatic (previous version did it).
Same problem when I change project or open new one.
I'm using Atom 1.11.2 on Linux Mint 18
The text was updated successfully, but these errors were encountered: