访问:http://localhost:8070/actuator/bus-refresh 问题

1、请求发送不出去

原因:

自己 config-server端 application.yml 配置的端口号是8888,访问server修改为配置的端口号

2、请求报错405

几个解决办法:

1、版本问题变为busrefresh

2、bus-refresh加单引号或双引号尝试

3、加配置尝试:

yaml 复制代码
management:
	endpoint:
	    bus-refresh:
	      enabled: true

(我都尝试了都没解决,无语,以后有时间再来看)

最后直接跨过这一步,给git远端仓库添加webhook自动推送更新配置算了。

相关推荐
Dragon Wu10 分钟前
Spring Security Oauth2.1 授权码模式实现前后端分离的方案
java·spring boot·后端·spring cloud·springboot·springcloud
三水不滴1 天前
计算机网络核心网络模型
经验分享·笔记·tcp/ip·计算机网络·http·https
SunflowerCoder1 天前
基于插件化 + Scriban 模板引擎的高效 HTTP 协议中心设计
http·c#
Remember_9931 天前
MySQL 索引详解:从原理到实战优化
java·数据库·mysql·spring·http·adb·面试
Zach_yuan1 天前
从零理解 HTTP:协议原理、URL 结构与简易服务器实现
linux·服务器·网络协议·http
JQLvopkk1 天前
C# 实现Http Json格式 Post 、Get 方法请求 winform服务器
http·c#·json
csdn2015_2 天前
Spring Boot `HttpServletRequest`
spring boot·http·servlet
七夜zippoe2 天前
分布式配置中心终极对决 Spring Cloud Config与Apollo架构深度解析
分布式·架构·springcloud·apollo·配置中心
Re.不晚2 天前
JAVA进阶之路——网络通信的层级密码:Socket切入,理解TCP与HTTP协议
java·tcp/ip·http
mqiqe3 天前
springboot tomcat 嵌入式 解决Slow HTTP DOS问题解决
spring boot·http·tomcat