{"action":"opened","issue":{"url":"https://api.github.com/repos/KarelCemus/play-redis/issues/150","repository_url":"https://api.github.com/repos/KarelCemus/play-redis","labels_url":"https://api.github.com/repos/KarelCemus/play-redis/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/KarelCemus/play-redis/issues/150/comments","events_url":"https://api.github.com/repos/KarelCemus/play-redis/issues/150/events","html_url":"https://github.com/KarelCemus/play-redis/issues/150","id":298823980,"number":150,"title":"Cluster mode does not work with play 2.6.","user":{"login":"pandian-egnaroinc","id":24474009,"avatar_url":"https://avatars1.githubusercontent.com/u/24474009?v=4","gravatar_id":"","url":"https://api.github.com/users/pandian-egnaroinc","html_url":"https://github.com/pandian-egnaroinc","followers_url":"https://api.github.com/users/pandian-egnaroinc/followers","following_url":"https://api.github.com/users/pandian-egnaroinc/following{/other_user}","gists_url":"https://api.github.com/users/pandian-egnaroinc/gists{/gist_id}","starred_url":"https://api.github.com/users/pandian-egnaroinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandian-egnaroinc/subscriptions","organizations_url":"https://api.github.com/users/pandian-egnaroinc/orgs","repos_url":"https://api.github.com/users/pandian-egnaroinc/repos","events_url":"https://api.github.com/users/pandian-egnaroinc/events{/privacy}","received_events_url":"https://api.github.com/users/pandian-egnaroinc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-21T02:46:15Z","updated_at":"2018-02-21T02:46:15Z","closed_at":null,"author_association":"NONE","body":"Are you filing an issue? Please follow these checklists and provide us all the possible information to speed up the process.\r\n\r\n### Reporting a bug?\r\nYes\r\n\r\n1. Version of play-redis\r\n2.0.2\r\n\r\n1. Version of Scala\r\nJava 1.8.\r\n\r\n1. Version of Play\r\n2.6\r\nakka-actor version 2.5.8.\r\n\r\n1. Describe the environment if applies (usually in cloud etc.)\r\nConsistent with even local redis cluster.\r\n\r\n1. Describe the expected behavior\r\nShould connect to cache endpoint.\r\n\r\n1. Describe the actual behavior, follow the same scenario\r\nRedisScala expects akka-actor version 2.4.2 which is incompatible with play 2.6.\r\n\r\n[warn] \t* com.typesafe.akka:akka-actor_2.12:2.5.8 is selected over {2.4.12, 2.4.20}\r\n[warn] \t    +- com.typesafe.akka:akka-slf4j_2.12:2.5.8 ()         (depends on 2.5.8)\r\n[warn] \t    +- com.typesafe.akka:akka-stream_2.12:2.5.8 ()        (depends on 2.5.8)\r\n[warn] \t    +- com.typesafe.play:play_2.12:2.6.11                 (depends on 2.5.8)\r\n[warn] \t    +- com.typesafe.akka:akka-parsing_2.12:10.0.11 ()     (depends on 2.4.20)\r\n[warn] \t    +- com.github.etaty:rediscala_2.12:1.8.0 ()           (depends on 2.4.12)\r\n\r\n\r\nThrows below exception:\r\n[info] p.a.cache.redis - Redis cluster cache actor started. It is connected to  localhost:30001\r\n[error] a.a.OneForOneStrategy - null\r\njava.lang.NullPointerException: null\r\n\tat redis.RedisCluster.$anonfun$onConnectStatus$1(RedisCluster.scala:46)\r\n\tat redis.RedisCluster.$anonfun$onConnectStatus$1$adapted(RedisCluster.scala:41)\r\n\tat redis.actors.RedisWorkerIO.onConnected(RedisWorkerIO.scala:70)\r\n\tat redis.actors.RedisWorkerIO$$anonfun$connecting$1.applyOrElse(RedisWorkerIO.scala:57)\r\n\tat scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)\r\n\tat akka.actor.Actor.aroundReceive(Actor.scala:517)\r\n\tat akka.actor.Actor.aroundReceive$(Actor.scala:515)\r\n\tat redis.actors.RedisWorkerIO.aroundReceive(RedisWorkerIO.scala:15)\r\n\tat akka.actor.ActorCell.receiveMessage(ActorCell.scala:527)\r\n\tat akka.actor.ActorCell.invoke(ActorCell.scala:496)\r\n\r\n1. Provide instructions to reproduce the issue\r\nInstall local redis cluster.\r\nConfigure as below:\r\nplay.cache.redis {\r\n\r\n  # source property; standalone is default\r\n  source: standalone\r\n\r\n  instances {\r\n    play {\r\n      # source property fallbacks to the value under play.cache.redis\r\n      host:       localhost\r\n      port:       6379\r\n    }\r\n    ITS {\r\n      source: cluster\r\n      cluster: [\r\n        { host: localhost, port: 30001 }\r\n      ]\r\n    }\r\n  }\r\n}\r\nStandalone instance connects fine but cluster instance throws exception.\r\n\r\n### Proposing a feature?\r\n\r\n1. Describe the new feature\r\n1. Propose the use if applies, i.e., the public API and how to integrate with the application\r\n"}}
{"actor":{"display_login":"pandian-egnaroinc"}}