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

Error when stopping the server #126

Open
mcschuetz opened this issue Jan 27, 2022 · 1 comment
Open

Error when stopping the server #126

mcschuetz opened this issue Jan 27, 2022 · 1 comment

Comments

@mcschuetz
Copy link

I get the following error:

Failed to stop the client connection: The CancellationTokenSource has been disposed.
System.ObjectDisposedException: The CancellationTokenSource has been disposed.
   at System.Threading.CancellationTokenSource.ThrowObjectDisposedException()
   at FubarDev.FtpServer.FtpConnection.ConnectionClosingNetworkStreamReader.OnCloseAsync(Exception exception, CancellationToken cancellationToken)
   at FubarDev.FtpServer.Networking.PausableFtpService.StopAsync(CancellationToken cancellationToken)
   at FubarDev.FtpServer.FtpConnection.StopAsync()

The crazy thing is that this error occurs in the middle of the night with no access to the server. I can not understand why this occurs.

The target state should actually be that it always runs without pause/stop.

Thanks for help!

@fubar-coder
Copy link
Contributor

Hmm, the "middle of the night". Sounds like an internet disconnect from the ISP while a client still has an active connection. Connection loss is something that I need to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants