java.util.concurrent.ExecutionException: ConnectionException{message=Already connected, status=0}

GitHub | smcallister | 2 years ago
  1. 0

    Occasionally receiving "IllegalStateException: Already connected" exception for SSL connections

    GitHub | 2 years ago | smcallister
    java.util.concurrent.ExecutionException: ConnectionException{message=Already connected, status=0}
  2. 0

    Occasionally receiving "IllegalStateException: Already connected" exception for SSL connections

    GitHub | 2 years ago | smcallister
    java.util.concurrent.ExecutionException: ConnectionException{message=Already connected, status=0}
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    HttpsURLConnection Already connected while trying to add cookies

    Stack Overflow | 3 years ago | Sherif Ashraf
    java.lang.IllegalStateException: Already connected

    9 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Already connected

      at sun.net.www.protocol.http.HttpURLConnection.setRequestProperty()
    2. Java RT
      HttpsURLConnectionImpl.setRequestProperty
      1. sun.net.www.protocol.http.HttpURLConnection.setRequestProperty(Unknown Source)
      2. sun.net.www.protocol.https.HttpsURLConnectionImpl.setRequestProperty(Unknown Source)
      2 frames
    3. jersey-core-client
      HttpUrlConnector$3.getOutputStream
      1. org.glassfish.jersey.client.HttpUrlConnector.writeOutBoundHeaders(HttpUrlConnector.java:309)
      2. org.glassfish.jersey.client.HttpUrlConnector.access$100(HttpUrlConnector.java:81)
      3. org.glassfish.jersey.client.HttpUrlConnector$3.getOutputStream(HttpUrlConnector.java:283)
      3 frames
    4. Jersey Core
      OutboundMessageContext.commitStream
      1. org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:198)
      2. org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:192)
      3. org.glassfish.jersey.message.internal.CommittingOutputStream.commit(CommittingOutputStream.java:260)
      4. org.glassfish.jersey.message.internal.OutboundMessageContext.commitStream(OutboundMessageContext.java:822)
      4 frames
    5. jersey-core-client
      ClientRuntime.invoke
      1. org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:451)
      2. org.glassfish.jersey.client.HttpUrlConnector._apply(HttpUrlConnector.java:287)
      3. org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:200)
      4. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:215)
      4 frames