Skip to content
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

Inactivity Results in Server Timeout / Failed Upload Upon Return #368

Open
projecthate opened this issue Apr 3, 2024 · 6 comments
Open

Comments

@projecthate
Copy link

I'm not sure I can provide a use case. It seems to be specific to my environment, and I wouldn't want to post credentials for others to test. Hosting support has been no help.

I am connected to one server most of the day, if I have 15+ minutes without any traffic to it, when I trigger an upload, it invariably fails, after almost 2 minutes of attempting.

So, the question is:

  1. Is there a way to hasten this attempt interval? I have server timeout set to 5s, but I guess that's just for initial connection attempt?
  2. Is there a way to force the plugin to close the connection on an interval?
@chcg
Copy link
Collaborator

chcg commented Apr 4, 2024

@projecthate Which versions do you use of NppFTP, N++, Windows and which kind of connection? There are some open issue on this e.g. #290 or #1

In the profile settings for a connection you can set a timeout value.

@projecthate
Copy link
Author

@chcg I just updated the plugin, without noting the former version number. Truthfully, I didn't realize N++ didn't auto-update plugins. Currently 0.29.13 - I'll post again with an update after seeing if it solved the issue.

N++ is v8.6.2

Windows 10

Passive/Binary connection. I believe I've tried the other 3 permutations and they either don't work for my server or the same issue persists.

Thanks for your assistance.

@projecthate
Copy link
Author

@chcg It's still happening after NppFTP update

@projecthate
Copy link
Author

Anyone who has an insight and inclined to share would be greatly appreciated

@chcg
Copy link
Collaborator

chcg commented May 3, 2024

Seems current NppFTP 0.29.13 could recover successfully from timeout in case of a plain FTP connection, but not for FTPS/FTPES. Unclear how SFTP behaves. It seems the spontaneous server response 421 for inactivity never reaches the client code or at least is not handled there. The response just appears at the start of the next FTP request.

@projecthate
Copy link
Author

@chcg my connection is plain FTP and is still experiencing the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants