You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to disable protocol upgrades for Eureka client and server HTTP client, because with Spring Boot 3.4.0 ...
Apache HTTP Components have changed defaults in the HttpClient relating to HTTP/1.1 TLS upgrades. Most proxy servers handle upgrades without issue, however, you may encounter issues with Envoy or Istio.
There's a workaround suggested. However, providing a custom HttpComponentsClientHttpRequestFactoryBuilder bean does not affect Eureka's client and server HTTP clients. Afaik that's because they do not consider that bean, but create their own.
Describe the solution you'd like
As a first step, I would love a recommendation for how to customize Eureka server and client HTTP clients to disable protocol upgrades. Eventually, maybe in future versions, it would be great if there was a property one could set.
Describe alternatives you've considered
I have tried to provide my own EurekaClientHttpRequestFactorySupplier which is essentially a copied of the DefaultEurekaClientHttpRequestFactorySupplier with:
I learned that the RequestConfig allows me to change the desired behaviour. In the case of copying DefaultEurekaClientHttpRequestFactorySupplier it means updating buildRequestConfig:
Is your feature request related to a problem? Please describe.
I would like to disable protocol upgrades for Eureka client and server HTTP client, because with Spring Boot 3.4.0 ...
There's a workaround suggested. However, providing a custom
HttpComponentsClientHttpRequestFactoryBuilder
bean does not affect Eureka's client and server HTTP clients. Afaik that's because they do not consider that bean, but create their own.Describe the solution you'd like
As a first step, I would love a recommendation for how to customize Eureka server and client HTTP clients to disable protocol upgrades. Eventually, maybe in future versions, it would be great if there was a property one could set.
Describe alternatives you've considered
I have tried to provide my own
EurekaClientHttpRequestFactorySupplier
which is essentially a copied of theDefaultEurekaClientHttpRequestFactorySupplier
with:but calls to the Eureka server still try to upgrade the protocol
The text was updated successfully, but these errors were encountered: