Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-8626

Ensure that the connection is released when SSLHandshakeException is encountered

    Details

    • Symptom Severity:
      Major
    • UIS:
      3
    • Support reference count:
      10

      Description

      Users are facing problems with Confluence freezing up when the trackbacks failed in different circumstances such as SSL cert validation. This probably causes a lot of connections being held up. Perhaps we should catch this better.

       findPingUrls Error getting content of URL 'https://xxx': javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: 
      sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: 
      sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518)
      	at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174)
      	at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168)
      	at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:848)
      	at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
      	at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
      	at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818)
      ...
      	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
      	at com.atlassian.trackback.TrackbackUtils.getUrlContent(TrackbackUtils.java:149)
      	at com.atlassian.trackback.DefaultTrackbackFinder.findPingUrls(DefaultTrackbackFinder.java:51
      

        Attachments

          Activity

            People

            • Votes:
              27 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

              • Created:
                Updated:
                Last commented:
                2 years, 11 weeks, 4 days ago