nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

懵懂的女人 提交于 2019-11-29 12:47:25

I've posted answer here: Could not connect to Redis at 10.XX.XX.28:6379: Unknown error - while accessing from Spring Batch or windows machine.

The solutions works fine for me. It's just config changes nothing else.

If 'Allow access only via SSL' is enabled in Azure Redis Cache configuration(ie: if you are enabled ssl for port number 6380 and disabled the Non SSl port number 6379), then try to set spring.redis.ssl=true property in your project.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!