spring boot admin抛出"status":401,"error":"Unauthorized"异常
2024-10-02 01:45:52
打开spring boot admin的监控平台发现其监控的服务明细打开均抛出异常:
Error: {"timestamp":1502749349892,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/metrics"}
Error: {"timestamp":1502749409302,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/env"}
Error:
{
"timestamp": 1502749421564,
"status": 401,
"error": "Unauthorized",
"message": "Full authentication is required to access this resource.",
"path": "/jolokia/"
}
Error: {"timestamp":1502749435545,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/dump"}
Error: {"timestamp":1502749445132,"status":401,"error":"Unauthorized","message":"Full authentication is required to access this resource.","path":"/trace"}
这些功能涉及敏感信息,被监控端需要安全认证才能访问对应的监控点,添加配置可规避此异常:
management.security.enabled=false
最新文章
- ABP集合贴
- JavaScript的学习3
- web magic 小结
- gfortran编译Fortran数组问题
- 2015/9/9 js继续学习
- IOS6屏幕旋转详解(自动旋转、手动旋转、兼容IOS6之前系统)
- php 图片添加文字水印 以及 图片合成(微信快码传播)
- Web应用程序状态管理(上)
- 关于css中overflow的一些理解
- 20141011C#面向对象基础
- Asp.net实现URL重写
- Jmeter-测试计划元件
- LVM挂载失败mount: you must specify the filesystem type
- SQL Server中字段类型对应的C#中的数据类型
- Oracle中查询和删除相同记录的3种方法
- Python 8 - Socket编程进阶
- AR涂涂乐
- PostgreSQL之Sequence序列(转)
- (转载)Spring定时任务的几种实现
- ios UITableView背景图片设置