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

Java 11 java.io.IOException: unexpected end of stream on okhttp3.Address #75

Open
marchenault opened this issue Oct 19, 2020 · 0 comments

Comments

@marchenault
Copy link

Servlet Container | Apache Tomcat/9.0.35
Java 11.0.7 (AdoptOpenJDK) 64bit

I'm experiencing the error: unexpected end of stream on okhttp3.Address@6b43b5d8 with synch and asynch requests.

From my understanding in the past with java 8 you would need Jetty's ALPN JAR but with 9 and above you would not.

I am following the instructions on https://github.com/CleverTap/apns-http2/blob/master/README.md.

I don't see any logged errors anywhere except in the response.

NotificationResponse{error=null, httpStatusCode=-1, responseBody='null', cause=java.io.IOException: unexpected end of stream on okhttp3.Address@6b43b5d8}

Is there anything i can do to get more detail on the connection failure?

Thank you.

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

1 participant