-
Notifications
You must be signed in to change notification settings - Fork 117
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
Timeout on STOR with tls enabled #96
Comments
I've also had some issue with using TLS. I think there's something missing from the command socket and the data socket when it's created using TLS. |
I think I have a pretty similar issue here. I have tls enabled, and I'm using passive FTP connection. I can't upload files to the server. I can traverse directories, download files etc, but I can't upload them. I'm running it inside a docker-container with mounted volumes and folders. I double checked permissions etc, and tested it with root user aswell. Sometimes it's working, but sometimes I get the following errors:
Im using filezilla (3.15.0.2) on linux I hope someone can get this fixed. I really like this module! |
This should be fixed in the latest release! |
Hmmm. It looks like I'm still getting the same error?
|
@Marcel2508 Can you post your server config? |
@trs Any progress on this? I really need TLS for my implementation and 2.19.5 still has this issue. |
@zomas Sorry for the slow replies. No new progress on this front as of yet. |
Im also seeing this issue. |
Fixed by v3.0.2 with the help of @Johnnyrook777 |
I'm seeing this issue on STOR and RETR with the latest code and passive mode. Strangely enough LIST is working fine. If I copy the logic from the registered commands of LIST into RETR, without TLS on I get a text file with the directory listing as expected and with TLS I see the timeout. List has PASV before it, makes a new listening connection, has TLS succeed, and sends the directory list across. STOR and RETR have waitForConnection time out in passive.js. With TLS off, no issue. I've tried various node versions: 8,x, 12.x, 15.x with the same result. Wireshark show the client making a connection successfully but TLS negotiation doesn't happen, and eventually waitForConnection times out. |
My app is only using RETR and not STOR. The issue looks like a race condition or a sequencing issue with these commands. I have fixed it for RETR and made a PR: #233 |
Isn't anybody fixing this issue? We would heavily need this bug fixed. |
I'm having issues when trying to upload some files to ftp server when TLS is enabled:
Note: If TLS disabled that works perfectly.
My code:
The text was updated successfully, but these errors were encountered: