Springboot Connection Redis Password verification failed

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.