We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sentry
11
6.20.0
Execute a GraphQL query using an OkHttp 4.10 client.
The GraphQL query should execute and not throw an exception.
Throw exception Unexpected char 0x0a at 8 in SENTRY-APOLLO-3-OPERATION-TYPE value: cXVlcnk=
Unexpected char 0x0a at 8 in SENTRY-APOLLO-3-OPERATION-TYPE value: cXVlcnk=
The header generated by Sentry is not accepted by OkHttp. This is the line throwing the exception: https://github.com/square/okhttp/blob/parent-4.10.0/okhttp/src/main/kotlin/okhttp3/Headers.kt#L450
Downgrading to 6.19.1 seems to fix the issue.
6.19.1
The text was updated successfully, but these errors were encountered:
This PR seems to be the issue : #2707
Instead of Base64.Default maybe use Base64.NO_WRAP?
Base64.Default
Base64.NO_WRAP
Sorry, something went wrong.
@SebPawp thanks for reporting and suggesting a fix. I've opened #2745 to switch to Base64.NO_WRAP.
adinauer
Successfully merging a pull request may close this issue.
Integration
sentry
Java Version
11
Version
6.20.0
Steps to Reproduce
Execute a GraphQL query using an OkHttp 4.10 client.
Expected Result
The GraphQL query should execute and not throw an exception.
Actual Result
Throw exception
Unexpected char 0x0a at 8 in SENTRY-APOLLO-3-OPERATION-TYPE value: cXVlcnk=
The header generated by Sentry is not accepted by OkHttp.
This is the line throwing the exception: https://github.com/square/okhttp/blob/parent-4.10.0/okhttp/src/main/kotlin/okhttp3/Headers.kt#L450
Downgrading to
6.19.1
seems to fix the issue.The text was updated successfully, but these errors were encountered: