akkadotnet / akka.net

Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
http://getakka.net
Other
4.7k stars 1.04k forks source link

Unhandled Helios Exceptions #2392

Closed michaelsg closed 7 years ago

michaelsg commented 7 years ago

I have a task exception handler (TaskScheduler.UnobservedTaskException) which is reporting a recurring exception in Helios. I'm pretty sure this is the cause of some of my recent frustrations with disappearing messages during moments of intense message sending.

Please consider adding a handler to catch and report these errors so that they can be diagnosed and fixed.

[]System.AggregateException
One or more errors occurred.
No stacktrace.
----------------------------------------
[Helios]System.Net.Sockets.SocketException
An invalid argument was supplied
   at Helios.Channels.Sockets.SocketChannelAsyncOperation.Validate()
   at Helios.Channels.Sockets.AbstractSocketChannel.AbstractSocketUnsafe.FinishWrite(SocketChannelAsyncOperation operation)
   at Helios.Channels.Sockets.AbstractSocketByteChannel.IncompleteWrite(Boolean scheduleAsync, SocketChannelAsyncOperation operation)
   at Helios.Channels.Sockets.TcpSocketChannel.DoWrite(ChannelOutboundBuffer input)
   at Helios.Channels.AbstractChannel.AbstractUnsafe.Flush0()
Aaronontheweb commented 7 years ago

@michaelsg thanks, we'll take a look at that.

marcpiechura commented 7 years ago

Closing, Helios is replaced by DotNetty and is no longer under active development.