The introduction
Before, the project worked just fine because the default was DB0. Then the new requirement came, instead of default DB0, it chose DB for the parameter.
the modified code is as follows, but an error NOAUTH Authentication required.
The solution
The problem is usually a password error, or a problem with the firewall on the Redis machine not turning off the lights.
I checked the password firewall etc and there is no problem.
later through the debug finally found the problem, modify the code is as follows:
when selecting a number the db, it needs to connect redis, but now I will choose the library code on the configuration code before the number, lead to the newspaper password error problem.
conclusion
The problem is actually very simple, actually calm down and think carefully can know what is wrong.
Programming requires a quiet mind, otherwise it is really difficult to make progress, I hope to remind myself.
Read More:
- Jedis operation redis report noauth authentication required
- Solve the unexpected end of stream exception thrown by jedis
- Remote: http basic: access denied, fatal: authentication failed for error resolution: wrong password
- Authentication error occurred on remote connection, the required function is not supported
- Inexplicable exception 007: git error: authentication failed for
- Python about typeerror: required argument ‘mat’ (POS 2) not found error resolution
- Python module learning-Paramiko-Use python to throw an exception: Authentication failed.
- java.lang.IllegalArgumentException : urlcoder exception resolution
- io.UnsupportedOperation : not writable exception resolution
- Prometheus 500 Internal Privoxy Error exception resolution
- Item exception: failed to get the required ADT version number from the SDK
- Springboot project startup exception – required a single bean, but 2 were found
- CDH HDFS webui browser authentication (after Kerberos authentication is enabled)
- Jedis reports errors using tool classes
- The solution of a Java exception has occurred. And error exception in thread when eclipse runs
- Solved: elasticsearch error: exception [type = search]_ phase_ execution_ exception, reason=all shards failed]
- Window installation of MongoDB exception: connect failed exception
- How to Fix error performing isolated work; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarE
- Realize the simplest recursive call, simulate exception in thread “main” java.lang.stackoverflowerror exception
- Authentication token manipulation error appears in ubuntu18.04 password modification