Because the test environment does not have a password to connect to Redis, the service is normal! Send to the production log in the system, in the processing function when the old error, check the error is connected redist failure, view Redis service is normal, Redis password right over and over again is true AH ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Damn Then began to compare the test and production of the XML file, found on the addition of a redis password, the original configuration file as follows---
Redis
Database:1
Pool
Max-idle:8
min-idle:0
Max-active:8
Max-wait:-1
Sentinel
Master:mymaster
Nodes:xxxx
Password:tai123
Look carefully there is no problem, so the time to brush the past, suddenly a flash of light, is not password and Pool,sentinel is the same, try to find a lucky psychological package released service, operating system, check the log, did not see the error information Redis, incredibly successful!!!!!!!!!
The modified configuration file---
Sentinel
Master:mymaster
Nodes:xxxx
Password:tai123
I was really dug a god pit!!!! 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0003.gif "alt=" J_0003.gif "/> hope the Great God guidance, has been learning the way.
This article is from the "13242624" blog, please be sure to keep this source http://13252624.blog.51cto.com/13242624/1969045
Springboot Connection Redis Password verification failed