{"action":"created","issue":{"url":"https://api.github.com/repos/akka/akka/issues/17977","labels_url":"https://api.github.com/repos/akka/akka/issues/17977/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka/issues/17977/comments","events_url":"https://api.github.com/repos/akka/akka/issues/17977/events","html_url":"https://github.com/akka/akka/issues/17977","id":94696306,"number":17977,"title":"DeadLetter when using Cluster client","user":{"login":"hepin1989","id":501740,"avatar_url":"https://avatars.githubusercontent.com/u/501740?v=3","gravatar_id":"","url":"https://api.github.com/users/hepin1989","html_url":"https://github.com/hepin1989","followers_url":"https://api.github.com/users/hepin1989/followers","following_url":"https://api.github.com/users/hepin1989/following{/other_user}","gists_url":"https://api.github.com/users/hepin1989/gists{/gist_id}","starred_url":"https://api.github.com/users/hepin1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hepin1989/subscriptions","organizations_url":"https://api.github.com/users/hepin1989/orgs","repos_url":"https://api.github.com/users/hepin1989/repos","events_url":"https://api.github.com/users/hepin1989/events{/privacy}","received_events_url":"https://api.github.com/users/hepin1989/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akka/akka/labels/1%20-%20triaged","name":"1 - triaged","color":"5319e7"},{"url":"https://api.github.com/repos/akka/akka/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/akka/akka/labels/t:cluster-tools","name":"t:cluster-tools","color":"CCCCCC"}],"state":"open","locked":false,"assignee":{"login":"patriknw","id":336161,"avatar_url":"https://avatars.githubusercontent.com/u/336161?v=3","gravatar_id":"","url":"https://api.github.com/users/patriknw","html_url":"https://github.com/patriknw","followers_url":"https://api.github.com/users/patriknw/followers","following_url":"https://api.github.com/users/patriknw/following{/other_user}","gists_url":"https://api.github.com/users/patriknw/gists{/gist_id}","starred_url":"https://api.github.com/users/patriknw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriknw/subscriptions","organizations_url":"https://api.github.com/users/patriknw/orgs","repos_url":"https://api.github.com/users/patriknw/repos","events_url":"https://api.github.com/users/patriknw/events{/privacy}","received_events_url":"https://api.github.com/users/patriknw/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/akka/akka/milestones/57","html_url":"https://github.com/akka/akka/milestones/2.4.0-RC2","labels_url":"https://api.github.com/repos/akka/akka/milestones/57/labels","id":1269235,"number":57,"title":"2.4.0-RC2","description":null,"creator":{"login":"ktoso","id":120979,"avatar_url":"https://avatars.githubusercontent.com/u/120979?v=3","gravatar_id":"","url":"https://api.github.com/users/ktoso","html_url":"https://github.com/ktoso","followers_url":"https://api.github.com/users/ktoso/followers","following_url":"https://api.github.com/users/ktoso/following{/other_user}","gists_url":"https://api.github.com/users/ktoso/gists{/gist_id}","starred_url":"https://api.github.com/users/ktoso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktoso/subscriptions","organizations_url":"https://api.github.com/users/ktoso/orgs","repos_url":"https://api.github.com/users/ktoso/repos","events_url":"https://api.github.com/users/ktoso/events{/privacy}","received_events_url":"https://api.github.com/users/ktoso/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":3,"state":"open","created_at":"2015-08-24T11:59:27Z","updated_at":"2015-08-26T12:47:43Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-07-13T11:10:22Z","updated_at":"2015-08-26T19:18:25Z","closed_at":null,"body":"server side play,client side akka,version:akka2.4 -m2\r\nusing the ClusterClientReceptionist,it didnot work\r\n\r\nserver side :\r\n```\r\nprivate val receptionist = ClusterClientReceptionist(context.system)\r\n receptionist.registerService(self)\r\n//the self's address is akka://application/user/listeners/default\r\n```\r\nconf:\r\n```\r\n  akka.cluster.client.receptionist.name = \"payservice\"\r\n```\r\nthe client side :\r\n```\r\n      receiptClient ? Send(s\"/user/listeners/$name\", UUID.randomUUID().toString, localAffinity = true)\r\n//name is \"default\"\r\n```\r\nand the conf:\r\n```\r\n    initial-contacts = [\"akka.tcp://application@127.0.0.1:2552/system/payservice\"]\r\n\r\n```\r\nI don't know why this error came out,but I could make it works by creating the``` ClusterReceptionist ```by hand.\r\n\r\n```\r\n[INFO] [07/13/2015 18:51:27.712] [application-akka.actor.default-dispatcher-2] [akka://application/system/payservice] Message [akka.cluster.client.ClusterReceptionist$Internal$GetContacts$] from Actor[akka.tcp://gear-runtime@127.0.0.1:2553/user/$a#-179211648] to Actor[akka://application/system/payservice] was not delivered. [6] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/akka/akka/issues/comments/135144462","html_url":"https://github.com/akka/akka/issues/17977#issuecomment-135144462","issue_url":"https://api.github.com/repos/akka/akka/issues/17977","id":135144462,"user":{"login":"hepin1989","id":501740,"avatar_url":"https://avatars.githubusercontent.com/u/501740?v=3","gravatar_id":"","url":"https://api.github.com/users/hepin1989","html_url":"https://github.com/hepin1989","followers_url":"https://api.github.com/users/hepin1989/followers","following_url":"https://api.github.com/users/hepin1989/following{/other_user}","gists_url":"https://api.github.com/users/hepin1989/gists{/gist_id}","starred_url":"https://api.github.com/users/hepin1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hepin1989/subscriptions","organizations_url":"https://api.github.com/users/hepin1989/orgs","repos_url":"https://api.github.com/users/hepin1989/repos","events_url":"https://api.github.com/users/hepin1989/events{/privacy}","received_events_url":"https://api.github.com/users/hepin1989/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T19:18:25Z","updated_at":"2015-08-26T19:18:25Z","body":"I found the problem.it should be\r\n```\r\nengine.akka{\r\nremote{\r\n      io-netty.tcp{\r\n                  port = 2553\r\n                  hostname = \"127.0.0.1\"\r\n      }\r\n}\r\n}\r\n\r\n```\r\nSorry for that.\r\n"}}