-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nacos http error, code=403,msg=Invalid signature #12934
Comments
Well, u can check whether the |
What's more, make sure your jdk version support |
Thank you for your reply. Below are my test results Here are my JDK version and HMAC-SHA protocol tests
JDK Version
JDK HMAC-SHA test
teest file
Nacos nacos.core.auth.plugin.nacos.token.secret.key (Same cluster configuration)
The nacos server itself has multiple JDK versions, and I have loaded the corresponding version in the log by importing the version through the
|
If jdk support HmacSHA256 well. The wrong message only means your token generate with other Please check whether do these:
|
Problem description: In the case where all configurations are normal, the client connection to Nacos prompts a user authentication error of 403. The username and password configurations are normal, and there is no user permission issue. After restarting the client multiple times, it occasionally connects. Currently, the troubleshooting approach is a bit confusing. Please provide some troubleshooting ideas
bootstrap.yml
The configuration used is nacos administrator privileges, and occasional connection issues may occur. The port policy is set to 8848
Server log
################## alipay-jraft.log ###############
############# config-client-request.log #####################
################# config-dump.log #######################
######################### config-fatal.log ###########################
################ config-memory.log ############
############# config-pull-check.log ###############
############### config-server.log##############
################ core-auth.log ###############
##################### nacos.log #####################
nacos-cluster.log
################# naming-distro.log ###############
##################### naming-push.log##################
The text was updated successfully, but these errors were encountered: