Phenomenon
Some back-end services register with consumer and report an error HTTP get http://xxx/actuator/health: 503 output: {"status": "out_of_service"
, but other services can be registered normally. Find a way to print thin error messages on the Internet
Print detailed error information
Configure in the error reporting module: application.YML
or bootstrap.YML
as follows:
management:
endpoint:
health:
show-details: always
endpoints:
web:
exposure:
include: '*'
Or add the following configuration in application.Properties
:
management.endpoint.health.show-details=always
management.endpoints.web.exposure.include=*
Finally, after printing the detailed error information, I found that it was the ES cluster. I thought it was the problem of the consumer configuration that led to the wrong direction during troubleshooting.
Read More:
- Microservice call exceptions: error feign.RetryableException: Read timed out executing POST http://xxx…….
- IDEA Error: ERROR 16720 —[ restartMain] o.a.coyote. http11.Http119Protocol: Failed to sta
- Maven project running servlet jump JSP error: HTTP status 500 – unable to compile class for JSP
- [Solved] Arthas failed to bind telnet or http port! Telnet port: 3658, http port: 8563;Error creating bean
- springcloud alibaba Integrating nacos reports errors: create config service error!properties=NacosConfigPropertie
- [Solved] ES Error: Elasticsearch health check failed
- ES Error: Elasticsearch health check failed [How to Solve]
- [Solved] SpringBoot Integrate ES Error: Elasticsearch health check failed
- [Solved] seata Error: io.seata.rm.datasource.exec.LockConflictException: get global lock fail, xid:xxx, lockKeys:xxx
- [Solved] JSON parse error: Cannot deserialize instance of `java.util.ArrayList<..> out of START_OBJECT token;
- [Solved] Project Startup Error: Redis health check failed:Unable to connect to localhost6379
- [Solved] Project Startup Error: Redis health check failed: Unable to connect to localhost6379
- [Solved] SpringBoot Error: org.springframework.http.converter.HttpMessageNotReadableException
- Dubbo failed to register and consumer null pointer exception
- SpringBoot :Error parsing HTTP request header [How to Solve]
- Asynchronous processing of HTTP request by Java_ Method 1: through callable
- Tomcat service startup error: cannot allocate memory [How to Solve]
- Asynchronous processing of HTTP request by Java_ Method 2: through deferredresult
- [Solved] org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot
- Rancher application service error: request entity too large