Redis connection problem
See original GitHub issueReporting a bug
- Version of play-redis 1.6.1
- Version of Play 2.6.x
- Describe the actual behavior, follow the same scenario
Our version of redis is
docker run -d --name redis-cache -p 6379:6379 redis:4-alpineWe have configured the play-redis like you said on the wiki. After this, we try to do acache.get()and the system is blocked for 1 min more or less, after this we receive this log: Command GET for key ‘classTag::access_token’ failed. stack_trace:redis.actors.InvalidRedisReply$: Could not decode the redis reply (Connection closed)\n\tat redis.actors.InvalidRedisReply$.<clinit>(RedisReplyDecoder.scala)\n\tat redis.actors.RedisReplyDecoder$$anonfun$postStop$1.apply(RedisReplyDecoder.scala:20)\n\tat redis.actors.RedisReplyDecoder$$anonfun$postStop$1.apply(RedisReplyDecoder.scala:19)\n\tat scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:73)\n\tat scala.collection.mutable.MutableList.foreach(MutableList.scala:30)\n\tat redis.actors.RedisReplyDecoder.postStop(RedisReplyDecoder.scala:19)\n\tat akka.actor.Actor$class.aroundPostStop(Actor.scala:527)\n\tat redis.actors.RedisReplyDecoder.aroundPostStop(RedisReplyDecoder.scala:11)\n\tat akka.actor.dungeon.FaultHandling$class.akka$actor$dungeon$FaultHandling$$finishTerminate(FaultHandling.scala:210)\n\tat akka.actor.dungeon.FaultHandling$class.terminate(FaultHandling.scala:172)\n\tat akka.actor.ActorCell.terminate(ActorCell.scala:370)\n\tat akka.actor.ActorCell.invokeAll$1(ActorCell.scala:468)\n\tat akka.actor.ActorCell.systemInvoke(ActorCell.scala:484)\n\tat akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282)\n\tat akka.dispatch.Mailbox.processMailbox(Mailbox.scala:260)\n\tat akka.dispatch.Mailbox.run(Mailbox.scala:224)\n\tat akka.dispatch.Mailbox.exec(Mailbox.scala:234)\n\tat akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\n\tat akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\n\tat akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\n\tat akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\n
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (9 by maintainers)
Top Results From Across the Web
Could not connect to redis connection refused - Fix it easily
The most common reason for the connection refused error is that the Redis-Server is not started. Redis server should be started to use...
Read more >Troubleshooting Redis
We have a long history of users experiencing crashes with Redis that actually turned out to be servers with broken RAM. Please test...
Read more >Redis connection to 127.0.0.1:6379 failed - Stack Overflow
I solve this problem in next way: sudo apt-get install redis-server. then run command to confirm that everything ok:
Read more >Troubleshoot connecting to an ElastiCache for Redis cluster
The most common issues are: The cluster isn't ready. The cluster is unhealthy. The network configuration is incorrect. The client configuration ...
Read more >Redis Connection Issues - Heroku Help
Your app is no longer connecting to Redis and you are seeing errors relating to the self signed certificate. Eg: <OpenSSL::SSL::SSLError: SSL_connect returned=1 ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I discovered that is problem with my local configuration of docker thanks for all help
Hi Karel,
I update my code with this error that you comment and I have the same error. Can you reproduce it with my new code? https://github.com/mmolinos/examplePlayRedisPlayConnector