Skip to content
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

Http2 calls against go server failing #1128

Open
a-k-g opened this issue Jun 11, 2019 · 2 comments
Open

Http2 calls against go server failing #1128

a-k-g opened this issue Jun 11, 2019 · 2 comments

Comments

@a-k-g
Copy link
Contributor

a-k-g commented Jun 11, 2019

What happened?

We use a conjure client to talk to a Go server. This call was working fine with Java 8. On upgrading to Java 11 on client side the call started failing with the following error:

INFO com.palantir.conjure.java.okhttp.RemotingOkHttpCall - Retrying call after failure
    okhttp3.internal.http2.StreamResetException: stream was reset: PROTOCOL_ERROR
        at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.java:156)
        at okhttp3.internal.http2.Http2Codec.readResponseHeaders(Http2Codec.java:137)
        at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:101)

It was suggested that this could be because of the server advertising Http2 compatibility and then conjure-java-runtime tries to use it when on Java11+. Disabling http2 on the server side fixed the issue.

What did you want to happen?

Http2 connections against Go servers should just work.

@carterkozak
Copy link
Contributor

Are gcm ciphers enabled in your configuration?

@a-k-g
Copy link
Contributor Author

a-k-g commented Jun 11, 2019

We don't explicitly enable them. We use the default, which suggests enableGcmCipherSuites will be set to false.

@stale stale bot added the stale label Sep 23, 2019
@iamdanfox iamdanfox removed the stale label Sep 23, 2019
@palantir palantir deleted a comment from stale bot Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants