Skip to content

After upgrading to 2.0.4, hystrix.stream does not work in Servlet environment #13964

@alexsderkach

Description

@alexsderkach

I am using management.endpoints.web.base-path: ''.
After update from 2.0.3 to 2.0.4, I see a new class DispatcherServletPath.java which converts '' to /.
Then, ServletEndpointRegistrar.java comes into action with
String path = this.basePath + "/" + endpoint.getRootPath();

As a result, I see in logs:
o.s.b.a.e.w.ServletEndpointRegistrar : Registered '//hystrix.stream' to hystrix.stream-actuator-endpoint
And http://localhost:8081/hystrix.stream now returns 404.

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions