FubarDevelopment/FtpServer

UseImplicitTls throws error

Closed this issue · 0 comments

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.