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

FTPS using libcurl 8.9.1 fails with CURLE_OPERATION_TIMEDOUT #14800

Closed
Valery-OT opened this issue Sep 5, 2024 · 11 comments
Closed

FTPS using libcurl 8.9.1 fails with CURLE_OPERATION_TIMEDOUT #14800

Valery-OT opened this issue Sep 5, 2024 · 11 comments

Comments

@Valery-OT
Copy link

I did this

FTPS file transfer C++ implementation using libcurl working with libcurl versions up to 8.7.1 failed with versions 8.9.0 and 8.9.1 with the following error: CURLE_OPERATION_TIMEDOUT from curl_easy_perform. Although file was successfully transferred. FTP log has the following last 2 records:
INFO_TEXT:
SSL shutdown timeout

INFO_TEXT:
closing connection #0

Simple replacement libcurl.dll to v. 8.7.1 make it work in same environment. The same behaviour of libcurl.so(a) 8.9.1 is observed on Linux, UNIX AIX, Solaris SPARC and Solaris Intel.

I expected the following

Expected successful file transfer without error like it was with curl 8.7.1 and earlier versions

curl/libcurl version

curl 8.9.1

operating system

Windows 2019

@bagder
Copy link
Member

bagder commented Sep 6, 2024

First you say:

The same behaviour of libcurl.so(a) 8.9.1 is observed on Linux, UNIX AIX, Solaris SPARC and Solaris Intel.

And then you say:

Windows 2019

Does it mean it also reproduces on Windows or ...?

Further: which TLS library (and version) are you using with your builds?

@bagder bagder changed the title FTPS transfer C++ implementation using libcurl 8.9.1 failed with CURLE_OPERATION_TIMEDOUT ("SSL shutdown timeout" in the log) FTPS using libcurl 8.9.1 fails with CURLE_OPERATION_TIMEDOUT Sep 6, 2024
@Valery-OT
Copy link
Author

Valery-OT commented Sep 6, 2024 via email

@bagder
Copy link
Member

bagder commented Sep 8, 2024

We don’t use separate TLS library

I'm asking for which TLS library and which version you use.

Further: we need more details about the problem. Preferably a recipe so that we can reproduce.

Does it always happen to you against any server?

@Valery-OT
Copy link
Author

Valery-OT commented Sep 10, 2024 via email

@dfandrich
Copy link
Contributor

dfandrich commented Sep 10, 2024 via email

@rmja
Copy link

rmja commented Sep 10, 2024

I believe this is the same issue as #14843 for which there currently is a fix in #14848.

@Valery-OT
Copy link
Author

Valery-OT commented Sep 10, 2024 via email

@Valery-OT
Copy link
Author

Valery-OT commented Sep 10, 2024 via email

@bagder
Copy link
Member

bagder commented Sep 10, 2024

Do you know, approximately, when official release having this fix will be available?

It will not be in the 8.10.0 release that ships tomorrow, simply because it was not done in time. It will most likely be merged and ship in the first release after that.

@Valery-OT
Copy link
Author

Valery-OT commented Sep 11, 2024 via email

@bagder
Copy link
Member

bagder commented Oct 4, 2024

Fixed

@bagder bagder closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants