Closed hryharenkaandrei closed 3 weeks ago
Based on the code in ResponseHandler.handleResponse()
, decodeError()
is thrown before decode()
is called (which invokes the interceptor). So the interceptor is unused at the moment.
You directly configured the Feign builder and did not include your interceptor, so it's not on your chain. When overriding the Feign.Builder you have to provide the entire builder. Check the Spring Cloud OpenFeign documentation.
Greetings. Can you please help me figure out next problem? I use next dependency :
I have multiply feign clients. These clients work by https . So I created bean Feign.Builder something like this pseudocode:
Next moment is interceptor. I have interceptor
finally feign client is
My problem is interceptor does not work and interceptor was not called. It seems like configuration is not applied when I use client with SSL. Also, I tested it without SSL -when I DONT USE Feign.Builder feignBuilder() it works correctly and Interceptor was triggered.
I use spring boot 3.1.4
How can I force an interceptor to work with SSL?