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

tcp-reuse-addr = off-for-windows prevents actorsystem from starting #3293

Closed nvivo closed 5 years ago

nvivo commented 6 years ago

Remote.conf states off-for-windows as one of the possible values for tcp-reuse-addr, but 1.3.3 fails to start when used:

 System.NotSupportedException: Unknown boolean format: off-for-windows
   at Akka.Configuration.Hocon.HoconValue.GetBoolean()
   at Akka.Remote.Transport.DotNetty.DotNettyTransportSettings.Create(Config config)
   at Akka.Remote.Transport.DotNetty.DotNettyTransport..ctor(ActorSystem system, Config config)
Horusiath commented 6 years ago

@nvivo error message suggests that configuration value for off-for-windows is not a valid HOCON boolean.

maxcherednik commented 6 years ago

2477

nvivo commented 6 years ago

@Horusiath Yes, I saw that. I'm currently setting this up manually during my hocon generation. The point is that from the documentation, this shouldn't be parsed as boolean. I'm guessing this worked with helios, but but was lost during the transition to dotnetty.