{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/7094","repository_url":"https://api.github.com/repos/travis-ci/travis-ci","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/7094/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/7094/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/7094/events","html_url":"https://github.com/travis-ci/travis-ci/issues/7094","id":198219619,"number":7094,"title":"Uploading a report to Coveralls fails due to SunCertPathBuilderException","user":{"login":"kaitoy","id":1180756,"avatar_url":"https://avatars.githubusercontent.com/u/1180756?v=3","gravatar_id":"","url":"https://api.github.com/users/kaitoy","html_url":"https://github.com/kaitoy","followers_url":"https://api.github.com/users/kaitoy/followers","following_url":"https://api.github.com/users/kaitoy/following{/other_user}","gists_url":"https://api.github.com/users/kaitoy/gists{/gist_id}","starred_url":"https://api.github.com/users/kaitoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaitoy/subscriptions","organizations_url":"https://api.github.com/users/kaitoy/orgs","repos_url":"https://api.github.com/users/kaitoy/repos","events_url":"https://api.github.com/users/kaitoy/events{/privacy}","received_events_url":"https://api.github.com/users/kaitoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-31T05:49:05Z","updated_at":"2016-12-31T18:56:32Z","closed_at":null,"body":"My Java project [Pcap4J](https://github.com/kaitoy/pcap4j) is using Maven and [coveralls-maven-plugin](https://github.com/trautonen/coveralls-maven-plugin) to upload test coverage reports to Coveralls.\r\nThis had been working until 12/23 but today 12/30 it failed due to an error:\r\n\r\n```\r\n[ERROR] Failed to execute goal org.eluder.coveralls:coveralls-maven-plugin:3.1.0:report (default-cli) on project pcap4j: I/O operation failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]\r\n```\r\n\r\nThe entire build log is [here](https://travis-ci.org/kaitoy/pcap4j/jobs/187788022)\r\n\r\nAs far as I googled, this seems an SSL certificate chain problem.\r\nMy thought is that Coveralls had changed its server certificate very recently and the Travis build system couldn't validate the new certificate Coveralls API returned because some required root certificates or so aren't installed to the system.\r\n"},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/269877840","html_url":"https://github.com/travis-ci/travis-ci/issues/7094#issuecomment-269877840","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/7094","id":269877840,"user":{"login":"kaitoy","id":1180756,"avatar_url":"https://avatars.githubusercontent.com/u/1180756?v=3","gravatar_id":"","url":"https://api.github.com/users/kaitoy","html_url":"https://github.com/kaitoy","followers_url":"https://api.github.com/users/kaitoy/followers","following_url":"https://api.github.com/users/kaitoy/following{/other_user}","gists_url":"https://api.github.com/users/kaitoy/gists{/gist_id}","starred_url":"https://api.github.com/users/kaitoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaitoy/subscriptions","organizations_url":"https://api.github.com/users/kaitoy/orgs","repos_url":"https://api.github.com/users/kaitoy/repos","events_url":"https://api.github.com/users/kaitoy/events{/privacy}","received_events_url":"https://api.github.com/users/kaitoy/received_events","type":"User","site_admin":false},"created_at":"2016-12-31T18:56:32Z","updated_at":"2016-12-31T18:56:32Z","body":"I can connect to Coveralls API https://coveralls.io/api/v1/jobs using Oracle JRE 1.6.0_45 and OpenJDK 1.6.0_35.\r\nIt seemed Coveralls doesn't request client certificates, so host's certificates are not relevant. (I saw packets between my JRE and Coveralls using Wireshark.)\r\nThe error I reported seems to happen when Java's trust store ($JAVA_HOME/lib/security/cacerts by default) isn't properly configured.\r\nI suspect the trust store may not include the required root certificate."}}
{"actor":{"display_login":"kaitoy"}}