Skip to content

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

Description

@marchenault

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions