-
-
Notifications
You must be signed in to change notification settings - Fork 809
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
Authorizing using http-01 validation (FTP) - upload Failed #2178
Comments
Do you have a log from the FTP servers side? |
I tried to use latest version of FluentFTP but still the same issue. File is created but empty.
I dont have access to ftp logs. I will have to setup some ftp server on localhost. |
You can try adding this code to capture log output from the client side, that might provide some insights: client.OnLogEvent += (level, message) =>
{
switch (level)
{
case FtpTraceLevel.Verbose:
_log.Verbose("FTP: {message}", message);
break;
case FtpTraceLevel.Info:
_log.Information("FTP: {message}", message);
break;
case FtpTraceLevel.Warn:
_log.Warning("FTP: {message}", message);
break;
case FtpTraceLevel.Error:
_log.Error("FTP: {message}", message);
break;
}
};` |
Additional logs are captured in v2.1.23 and FluentFTP was updated to the latest release. |
Thank you. It looks like old server version issue. I also got |
FYI: using the GnuTLS library instead of Microsoft's native TLS solved my problem. |
win-acme/src/main.lib/Clients/FtpClient.cs
Line 48 in 5186bf6
2022-07-24 13:55:37.736 +02:00 [INF] [xxx.com] Authorizing using http-01 validation (FTP)
2022-07-24 13:55:37.959 +02:00 [INF] Established connection with ftp server at 19.105.158.190:21, encrypted: true
2022-07-24 13:55:38.126 +02:00 [WRN] Upload ftp://19.105.158.190:21/www/.well-known/acme-challenge/2pRO5RqE3-aO3ig3XqUhwNtHDu-2FLfylhG7rxKF1u0 status "Failed"
File is created but is empty.
The text was updated successfully, but these errors were encountered: