应用注册不上
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
控制台:
java -Dserver.port=8080 -Dcsp.sentinel.dashboard.server=localhost:8080 -Dproject.name=sentinel-dashboard -jar sentinel-dashboard-1.8.8.jar
应用依赖,默认1.8.0以为有bug升级到1.8.8一样返回400
```xml
com.alibaba.cloud
spring-cloud-starter-alibaba-sentinel
2021.1
com.alibaba.cloud
spring-cloud-alibaba-sentinel-gateway
2021.1
com.alibaba.cspsentinel-annotation-aspectj1.8.8
com.alibaba.cspsentinel-api-gateway-adapter-common1.8.8
com.alibaba.cspsentinel-cluster-client-default1.8.8
com.alibaba.cspsentinel-cluster-common-default1.8.8
com.alibaba.cspsentinel-cluster-server-default1.8.8
com.alibaba.cspsentinel-core1.8.8
com.alibaba.cspsentinel-datasource-extension1.8.8
com.alibaba.cspsentinel-parameter-flow-control1.8.8
com.alibaba.cspsentinel-reactor-adapter1.8.8
com.alibaba.cspsentinel-spring-cloud-gateway-adapter1.8.8
com.alibaba.cspsentinel-spring-webflux-adapter1.8.8
com.alibaba.cspsentinel-spring-webmvc-adapter1.8.8
com.alibaba.cspsentinel-transport-common1.8.8
com.alibaba.cspsentinel-transport-simple-http1.8.8
```
应用日志:
```
2025-03-11 15:32:23.470 WARNING [SimpleHttpHeartbeatSender] Failed to send heartbeat to Endpoint{protocol=HTTP, host='192.168.30.39, port=8719}, http status code: 400
2025-03-11 15:32:33.466 WARNING [SimpleHttpHeartbeatSender] Failed to send heartbeat to Endpoint{protocol=HTTP, host='192.168.30.39, port=8719}, http status code: 400
2025-03-11 15:32:43.464 WARNING [SimpleHttpHeartbeatSender] Failed to send heartbeat to Endpoint{protocol=HTTP, host='192.168.30.39, port=8719}, http status code: 400
2025-03-11 15:32:53.462 WARNING [SimpleHttpHeartbeatSender] Failed to send heartbeat to Endpoint{protocol=HTTP, host='192.168.30.39, port=8719}, http status code: 400
```
控制台日志没看到任何报错
logging.level.root=debug修改控制台日志配置
只看到dashboard自己发自己的心跳
控制台:
java -Dserver.port=8080 -Dcsp.sentinel.dashboard.server=localhost:8080 -Dproject.name=sentinel-dashboard -jar sentinel-dashboard-1.8.8.jar
应用依赖,默认1.8.0以为有bug升级到1.8.8一样返回400
```xml
com.alibaba.cloud
spring-cloud-starter-alibaba-sentinel
2021.1
com.alibaba.cloud
spring-cloud-alibaba-sentinel-gateway
2021.1
com.alibaba.cspsentinel-annotation-aspectj1.8.8
com.alibaba.cspsentinel-api-gateway-adapter-common1.8.8
com.alibaba.cspsentinel-cluster-client-default1.8.8
com.alibaba.cspsentinel-cluster-common-default1.8.8
com.alibaba.cspsentinel-cluster-server-default1.8.8
com.alibaba.cspsentinel-core1.8.8
com.alibaba.cspsentinel-datasource-extension1.8.8
com.alibaba.cspsentinel-parameter-flow-control1.8.8
com.alibaba.cspsentinel-reactor-adapter1.8.8
com.alibaba.cspsentinel-spring-cloud-gateway-adapter1.8.8
com.alibaba.cspsentinel-spring-webflux-adapter1.8.8
com.alibaba.cspsentinel-spring-webmvc-adapter1.8.8
com.alibaba.cspsentinel-transport-common1.8.8
com.alibaba.cspsentinel-transport-simple-http1.8.8
```
应用日志:
```
2025-03-11 15:32:23.470 WARNING [SimpleHttpHeartbeatSender] Failed to send heartbeat to Endpoint{protocol=HTTP, host='192.168.30.39, port=8719}, http status code: 400
2025-03-11 15:32:33.466 WARNING [SimpleHttpHeartbeatSender] Failed to send heartbeat to Endpoint{protocol=HTTP, host='192.168.30.39, port=8719}, http status code: 400
2025-03-11 15:32:43.464 WARNING [SimpleHttpHeartbeatSender] Failed to send heartbeat to Endpoint{protocol=HTTP, host='192.168.30.39, port=8719}, http status code: 400
2025-03-11 15:32:53.462 WARNING [SimpleHttpHeartbeatSender] Failed to send heartbeat to Endpoint{protocol=HTTP, host='192.168.30.39, port=8719}, http status code: 400
```
控制台日志没看到任何报错
logging.level.root=debug修改控制台日志配置
只看到dashboard自己发自己的心跳,列表只能看到自己,无语了不知道为什么

Contributor guide
Research direction
Reproduce the reported setup with sentinel-dashboard-1.8.8, the Spring Cloud Alibaba Sentinel 2021.1 dependencies, and the SimpleHttpHeartbeatSender logs. Start at the heartbeat request to 192.168.30.39:8719 and the dashboard registration path; done means identifying why the request returns HTTP 400 and confirming that the application appears in the dashboard.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend, observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100