apns-http2 icon indicating copy to clipboard operation
apns-http2 copied to clipboard

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

Open marchenault opened this issue 5 years ago • 0 comments

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.

marchenault avatar Oct 19 '20 16:10 marchenault