FubarDevelopment / FtpServer

Portable FTP server written in .NET
http://fubardevelopment.github.io/FtpServer/
MIT License
472 stars 161 forks source link

UseImplicitTls throws error #136

Closed unknownguy closed 2 years ago

unknownguy commented 2 years ago

Hi.

Any idea what this might be?

NGettext: Translation not found for message id "FTP Server Ready".
FubarDev.FtpServer.FtpConnection: Debug: Stopped reading commands
FubarDev.FtpServer.FtpServer: Error: Failed to start the client connection: Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
   at FubarDev.FtpServer.CoreFtpServerBuilderExtensions.AuthTlsConfigurator.Configure(IFtpConnection connection, CancellationToken cancellationToken)
   at FubarDev.FtpServer.FtpServer.AddClientAsync(TcpClient client)

I think that the issue might be in: CoreFtpServerBuilderExtensions.cs where connection.Features.Get<IServiceProvidersFeature>() returns null.

Any help would be great. Thanks.