{"action":"opened","issue":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/636","labels_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/636/labels{/name}","comments_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/636/comments","events_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/636/events","html_url":"https://github.com/akkadotnet/akka.net/issues/636","id":57880168,"number":636,"title":"Remoting does not work on Mono","user":{"login":"loosechainsaw","id":666682,"avatar_url":"https://avatars.githubusercontent.com/u/666682?v=3","gravatar_id":"","url":"https://api.github.com/users/loosechainsaw","html_url":"https://github.com/loosechainsaw","followers_url":"https://api.github.com/users/loosechainsaw/followers","following_url":"https://api.github.com/users/loosechainsaw/following{/other_user}","gists_url":"https://api.github.com/users/loosechainsaw/gists{/gist_id}","starred_url":"https://api.github.com/users/loosechainsaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loosechainsaw/subscriptions","organizations_url":"https://api.github.com/users/loosechainsaw/orgs","repos_url":"https://api.github.com/users/loosechainsaw/repos","events_url":"https://api.github.com/users/loosechainsaw/events{/privacy}","received_events_url":"https://api.github.com/users/loosechainsaw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-17T03:44:45Z","updated_at":"2015-02-17T03:44:45Z","closed_at":null,"body":"When starting up an actor system that uses remoting on mono it hangs.\r\n\r\nSimple code sample.\r\n\r\nusing System;\r\nusing System.Threading;\r\nusing Akka;\r\nusing Akka.Actor;\r\n\r\nnamespace AkkaRemoting\r\n{\r\n\r\n    public class RequestMessage\r\n    {\r\n\r\n    }\r\n\r\n    public class BackendActor : ReceiveActor\r\n    {\r\n\r\n        public static Random random = new Random(41);\r\n\r\n        public BackendActor()\r\n        {\r\n            Receive<RequestMessage>(x =>\r\n            {\r\n                var sender = Sender;\r\n               Console.WriteLine(\"The value is: \" + random.Next());\r\n            });\r\n\r\n        }\r\n    }\r\n\r\n    public class FrontendActor : ReceiveActor\r\n    {\r\n        public FrontendActor()\r\n        {\r\n\r\n            Receive<RequestMessage>(x =>\r\n            {\r\n                var sender = Sender;\r\n\r\n                var selection = Context.System.ActorSelection(\"akka.tcp://System1@localhost:8888/user/backend\");\r\n                selection.Tell(new RequestMessage());\r\n            });\r\n        }\r\n    }\r\n\r\n    class Program\r\n    {\r\n        static void Main(string[] args)\r\n        {\r\n            var system1configuration = FluentConfig.Begin().StartRemotingOn(\"localhost\", 8888);\r\n            var system2configuration = FluentConfig.Begin().StartRemotingOn(\"localhost\", 8889);\r\n\r\n            var system1 = ActorSystem.Create(\"System1\", system1configuration.Build());\r\n            var system2 = ActorSystem.Create(\"System2\", system2configuration.Build());\r\n\r\n\r\n            var backend = system1.ActorOf(Props.Create<BackendActor>(),\"backend\");\r\n            var frontend = system2.ActorOf(Props.Create<FrontendActor>(),\"frontend\");\r\n\r\n            Thread.Sleep(1000);\r\n\r\n            var result = frontend.Ask<string>(new RequestMessage());\r\n            result.ContinueWith(x => Console.WriteLine(x.Result));\r\n\r\n            Console.WriteLine(\"Press any key to exit....\");\r\n            Console.ReadKey();\r\n            system1.Shutdown();\r\n            system2.Shutdown();\r\n        }\r\n    }\r\n}"}}