当前位置: 首页 > news >正文

nacos 403错误

403错误

2023-08-12 18:04:55,418 [main] ERROR [com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder:106] [trace=,span=,parent=] - get data from Nacos error,dataId:gateway-server.yaml, 
com.alibaba.nacos.api.exception.NacosException: <html><body><h1>Whitelabel Error Page</h1><p>This application has no explicit mapping for /error, so you are seeing this as a fallback.</p><div id='created'>Sat Aug 12 18:04:55 CST 2023</div><div>There was an unexpected error (type=Forbidden, status=403).</div><div>user not found!</div></body></html>at com.alibaba.nacos.client.config.impl.ClientWorker.getServerConfig(ClientWorker.java:260)at com.alibaba.nacos.client.config.NacosConfigService.getConfigInner(NacosConfigService.java:173)at com.alibaba.nacos.client.config.NacosConfigService.getConfig(NacosConfigService.java:122)at com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder.loadNacosData(NacosPropertySourceBuilder.java:85)at com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder.build(NacosPropertySourceBuilder.java:75)at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadNacosDataIfPresent(NacosPropertySourceLocator.java:179)at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadApplicationConfiguration(NacosPropertySourceLocator.java:155)at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.locate(NacosPropertySourceLocator.java:88)at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:94)at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:621)at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:365)at org.springframework.boot.SpringApplication.run(SpringApplication.java:310)at org.springframework.boot.SpringApplication.run(SpringApplication.java:1213)at org.springframework.boot.SpringApplication.run(SpringApplication.java:1202)at com.qlyd.gateway.GatewayApplication.main(GatewayApplication.java:32)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:47)at org.springframework.boot.loader.Launcher.launch(Launcher.java:86)at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)

错误原因

密码包含特殊字符。
之前修改nacos密码是包含了特殊字符。

解决办法

修改 nacos 密码,将密码中的特殊字符去掉。

参考

https://my.oschina.net/sprouting/blog/5140848

http://www.lryc.cn/news/121124.html

相关文章:

  • Python遥感图像处理应用篇(三十四):GDAL+Scikit-image+GLCM计算遥感图像纹理特征
  • solr迁移到另一个solr中(docker单机)
  • 谁能讲清楚Spark之Spark系统架构
  • 力扣:59. 螺旋矩阵 II(Python3)
  • 【electron】electron项目创建的方式:
  • Vim学习(一)——基本命令与三种模式
  • unity新输入系统的简单使用(New InputSystem)
  • Redis——特性介绍与应用场景
  • 网络:路由
  • 利用三维内容编辑器制作VR交互课件,简单好用易上手
  • 中国首款量子计算机操作系统本源司南 PilotOS正式上线
  • 基层社会治理平台建设方案[113页PPT]
  • 认识vite
  • 华为运动健康,十年创新天地宽
  • 深度学习(37)—— 图神经网络GNN(2)
  • Unity游戏源码分享-乐节奏休闲游戏源码 guitar hero 支持mobile
  • VS Code配置Prettier格式化Apex
  • Spring-Cloud-Loadblancer详细分析_4
  • openocd调试esp32(通过FT232H)
  • Nokia5110使用方法及实例编写51单片机
  • 3个月快速入门LoRa物联网传感器开发
  • 【小梦C嘎嘎——启航篇】内存管理小知识~
  • ClickHouse查看执行计划(EXPLAIN语法)
  • 线程池
  • 配置:Terminal和oh-my-posh
  • 数据结构--BFS求最短路
  • FPGA应用学习笔记----定点除法的gold算法流水线设计
  • Nginx转发的原理和负载均衡
  • 怎么换ip地址 电脑切换ip地址方法
  • 软件设计基础