-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java agent Instrumentation breaks OKhttp3 #324
Comments
We're seeing a similar issue, but with a different method:
|
We have similar issue with new ver 7.0.0, logLevel is BODY retrofit.version: 2.9.0 |
I have tried to reproduce this issue on my MAC, but it seems to work fine there. Maybe it's OS related. The Raspberry Pi also runs a 32BIt OS. |
@moodgorning indeed, it is not reproducible on Macs. But I was able to reproduced in a 64bit VM running Linux. |
Works fine now, thanks much |
To anyone who had this problem, this has been fixed on release 7.0.1. |
Description
We are using Apollo GraphQL java client with okhttp3 as the HTTP module. installing the java agent and starting the app with it leads to the following error:
I have tried multiple versions of okhttp, down to 3.14.9 to no avail
Expected Behavior
no exception to be thrown and okhttp to work correctly
Troubleshooting or NR Diag results
Steps to Reproduce
I followed the java logback config guide. trouble starts as as soon as I start our app with the -javaagent:newrelic/newrelic.jar in the command line
Your Environment
running on OPenJDK on a raspberry PI3B+
project dependencies:
io.sentry
sentry
1.7.30
org.projectlombok
lombok
1.18.16
provided
Additional context
it seems to be related to the changes mentioned here around the Extension Functions
https://square.github.io/okhttp/upgrading_to_okhttp_4/
Searching around the web reveals that okhttp and new relic seem to be causing trouble frequently e.g.
square/okhttp#6277
The text was updated successfully, but these errors were encountered: