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
Feign (from Spring Cloud Finchley.SR1) appears to be altering the codepath a generated request takes and causes our auto-injection of DT headers to fail.
Description:
The application uses Spring Boot (version 2.1.10.RELEASE) and Feign (from Spring Cloud Finchley.SR1).
When using a rest client, generated by Feign, New Relic agent is adding headers too late: it comes to sun.net.www.protocol.http.HttpURLConnection#addRequestProperty and fails to add any headers with IllegalStateException("Already connected").
With Spring's RestTemplate the headers are added correctly.
Feign (from Spring Cloud Finchley.SR1) appears to be altering the codepath a generated request takes and causes our auto-injection of DT headers to fail.
Description:
Test app showing this issue included here:
https://newrelic.zendesk.com/agent/tickets/442571
https://newrelic.aha.io/ideas/ideas/JAVA-I-1001
The text was updated successfully, but these errors were encountered: