You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@FanDjango what is your thought on absorbing errors like this and instead throwing a special exception with the exact advise you give out on the forums?
SSL connection failed; session reuse required -> FtpSslSessionReuseException which then has the message "You need to 1) upgrade your FTP server to the latest or 2) disable SSL session reuse in your FTP server or 3) use FluentFTP.GnuTLS which supports SSL session reuse"
It should reduce the workload of constantly answering the same damn thing when it comes up as a bug ticket.
I sometimes prefer one or two lines of "ERROR" messages prior to a normal exception.
Also: Not every failure to authenticate the 2nd, 3rd, 4th, etc. connection (i.e. the data connection) is due to session resume problems, although we currently seem to be getting only these errors.
Quite a few cases exist where the SSL Authentication itself does not fail, but shortly after, there is a "4xx" message saying that it was not possible to open a data connection.
"Operation not permitted" is one such message, another actually refers to "session resume". There is a whole catalog of such messages, depending on the server type.
Activity
[-]SSL connection failed; session reuse required[/-][+]New FtpSslSessionReuseException[/+]FanDjango commentedon Mar 1, 2023
excellent idea.
I sometimes prefer one or two lines of "ERROR" messages prior to a normal exception.
Also: Not every failure to authenticate the 2nd, 3rd, 4th, etc. connection (i.e. the data connection) is due to session resume problems, although we currently seem to be getting only these errors.
But by all means…
FanDjango commentedon Mar 1, 2023
FanDjango commentedon Mar 6, 2023
Some more thoughts on this:
Quite a few cases exist where the SSL Authentication itself does not fail, but shortly after, there is a "4xx" message saying that it was not possible to open a data connection.
"Operation not permitted" is one such message, another actually refers to "session resume". There is a whole catalog of such messages, depending on the server type.
4nd3r5 commentedon Mar 17, 2023
Is there a tracked issue in .net regarding this, we can subscribe to?
FanDjango commentedon Mar 17, 2023
@4nd3r5 You might want to read through this issue
#948 (comment)
FanDjango commentedon Mar 21, 2023
I have moved this to the Wiki: https://github.com/robinrodricks/FluentFTP/wiki/Future-Plans