apache / hertzbeat

Apache HertzBeat(incubating) is a real-time monitoring system with agentless, performance cluster, prometheus-compatible, custom monitoring and status page building capabilities.
https://hertzbeat.apache.org/
Apache License 2.0
5.5k stars 953 forks source link

[Task] <fix bugs by e2e test> #2485

Closed yuluo-yx closed 1 month ago

yuluo-yx commented 1 month ago

Description

There are some bugs in the project that we need to fix based on the error logs from the e2e test.

Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.LocalDateTime` not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling (through reference chain: org.apache.hertzbeat.common.entity.dto.Message["data"]->org.springframework.data.domain.PageImpl["content"]->java.util.Collections

2024-08-06 23:02:37.258 [http-nio-1157-exec-2] ERROR org.apache.hertzbeat.manager.support.GlobalExceptionHandler Line:252 - [monitor]-[unknown error happen]-Content-Type 'application/octet-stream' is not supported
org.springframework.web.HttpMediaTypeNotSupportedException: Content-Type 'application/octet-stream' is not supported

Task List

yuluo-yx commented 1 month ago

For task1: when i use browser request:

image

fix after:

image