spring cloud-config的client中/refresh的端点报错401
Posted Ranch
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了spring cloud-config的client中/refresh的端点报错401相关的知识,希望对你有一定的参考价值。
post访问/refresh端口报错如下
{ "timestamp": 1537865395040, "status": 401, "error": "Unauthorized", "message": "Full authentication is required to access this resource.", "path": "/refresh" }
配置文件application.yml添加配置
management: security: enabled: false
解决
以上是关于spring cloud-config的client中/refresh的端点报错401的主要内容,如果未能解决你的问题,请参考以下文章