Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-3405

Exceptions thrown on an EC2 agent

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Fix
    • None
    • Elastic Bamboo
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Possibly just more strange logging. This started happening after an agent failed to come up, and then when I started a new EC2 agent, it started successfully (and is running happily as far as I can tell).

      On the server:

      2009-01-07 15:45:27,246 DEBUG [ActiveMQ Session Task] [RemoteAgentManagerImpl] Updating remote agent 'ip-10-250-159-159.ec2.internal' with time Tue Jan 06 23:45:27 EST 2009. Delta: 57600203ms
      sending <config reverse="46593:127.0.0.1:8081"/>
      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 com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:622)
      	at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
      	at java.io.OutputStream.write(OutputStream.java:58)
      	at com.sun.sungrid.service.tunnel.ServerSocketThread.reverse(ServerSocketThread.java:203)
      	at com.sun.sungrid.service.tunnel.ServerSocketThread.run(ServerSocketThread.java:259)
      Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:221)
      	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:145)
      	at sun.security.validator.Validator.validate(Validator.java:203)
      	at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172)
      	at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
      	at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841)
      	... 10 more
      Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:236)
      	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:194)
      	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:216)
      	... 15 more
      sending <config reverse="46593:127.0.0.1:8081"/>
      

      On the agent:

      new Listener accepted
      Waiting on new listener
      javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
      	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
      	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1657)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:932)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:744)
      	at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
      	at java.io.InputStream.read(InputStream.java:85)
      	at com.sun.sungrid.service.tunnel.Listener.run(Listener.java:323)
      new Listener accepted
      Waiting on new listener
      javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
      	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
      	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1657)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:932)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:744)
      	at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
      	at java.io.InputStream.read(InputStream.java:85)
      	at com.sun.sungrid.service.tunnel.Listener.run(Listener.java:323)
      new Listener accepted
      Waiting on new listener
      javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
      	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
      	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1657)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:932)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:744)
      	at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
      	at java.io.InputStream.read(InputStream.java:85)
      	at com.sun.sungrid.service.tunnel.Listener.run(Listener.java:323)
      

      This occurs continuously (basically just fills up the logs)

              Unassigned Unassigned
              mark@atlassian.com MarkC
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: