-
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
password contain special word will throw unknown user #3992
Comments
报错日志的堆栈发一下呢 |
com.alibaba.nacos.api.exception.NacosException: Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback. Thu Oct 15 10:42:32 CST 2020 There was an unexpected error (type=Forbidden, status=403). unknown user! at com.alibaba.nacos.client.config.impl.ClientWorker.getServerConfig(ClientWorker.java:330) at com.alibaba.nacos.client.config.NacosConfigService.getConfigInner(NacosConfigService.java:149) at com.alibaba.nacos.client.config.NacosConfigService.getConfig(NacosConfigService.java:97) at com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder.loadNacosData(NacosPropertySourceBuilder.java:85) at com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder.build(NacosPropertySourceBuilder.java:74) at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadNacosPropertySource(NacosPropertySourceLocator.java:204) at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadNacosDataIfPresent(NacosPropertySourceLocator.java:191) at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadApplicationConfiguration(NacosPropertySourceLocator.java:142) at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.locate(NacosPropertySourceLocator.java:103) at org.springframework.cloud.bootstrap.config.PropertySourceLocator.locateCollection(PropertySourceLocator.java:52) at org.springframework.cloud.bootstrap.config.PropertySourceLocator.locateCollection(PropertySourceLocator.java:47) at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:98) at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:626) at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:370) at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1237) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) at org.gz.platform.PlatformApplication.main(PlatformApplication.java:23) |
看起来是你的请求中携带的用户信息错误。你能本地debug一下吗。看一下最开始初始化NacosConfigService时,这个类 |
我突然有一个想法改密码是不是我密码带有特殊字符导致的,果然codeuser@348这个密码不行,123456密码就没有问题,我又改codeuser@348这个,又不行。改回123456有可以了。呵呵 |
The reason is two community contributors modified password encode, I will revert one of this, it will fixed in 1.4.0 |
This reverts commit 29ba11e to fix alibaba#3992
This reverts commit 29ba11e to fix alibaba#3992
server版本 1.3.2
jar版本
com.alibaba.cloud
spring-cloud-alibaba-dependencies
2.2.3.RELEASE
我用原生的用户nacos密码nacos是可以正常使用的
我创建一个新的用户,我是可以登录页面操作查看和修改的,但是放代码配置里面启动就报错unknown user!
我看到以前是有这个问题,但是不是修改了吗?为什么又出现,我是下载最新的server1.3.2-release的
The text was updated successfully, but these errors were encountered: