Closed ifyun closed 1 year ago
The error is triggered on line 47 of org.springframework.cloud.gateway.filter.headers.observation.ObservedResponseHttpHeadersFilter:
GatewayContext context = (GatewayContext) childObservation.getContext();
Set spring.cloud.gateway.observability.enabled
to false
, solved this error.
@imcloudfloating I see the see same issue with Spring Boot 3.0.4....but if we want to keep observability then we cannot disable this property. Can you reopen this issue?
I upgraded SPRING boot 3.0.4 and it appeared!
@vnobo If you don't need observability, just disable it, or maybe a certain observability component should be used.
See #2877
I use spring-cloud-gateway with some custom filters, everything is ok with spring-boot v3.0.2, now I upgrade to spring-boot v3.0.3, and get the following error when executing a request:
this is my dependencies:
Spring Cloud version: 2022.0.1