Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8315418

sun/security/krb5/auto/HttpsCB.java fails with java.net.BindException: Address already in use: connect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21
    • core-libs


      This is an issue in nio via Socket.connect -- there's quirk with connect from an "unbound socket"

      >>> Constrained deleg from GSSCaller{UNKNOWN}
      java.net.BindException: Address already in use: connect
      at java.base/sun.nio.ch.Net.connect0(Native Method)
      at java.base/sun.nio.ch.Net.connect(Net.java:580)
      at java.base/sun.nio.ch.Net.connect(Net.java:569)
      at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:576)
      at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
      at java.base/java.net.Socket.connect(Socket.java:666)
      at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304)
      at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:181)
      at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:183)
      at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:532)
      at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:637)
      at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
      at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:378)
      at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193)
      at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1286)
      at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1127)
      at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179)
      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1657)
      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1581)
      at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
      at HttpsCB.visit(HttpsCB.java:204)
      at HttpsCB.main(HttpsCB.java:194)

            msheppar Mark Sheppard
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: