{"action":"closed","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/55544","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/55544/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/55544/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/55544/events","html_url":"https://github.com/NixOS/nixpkgs/issues/55544","id":408605458,"node_id":"MDU6SXNzdWU0MDg2MDU0NTg=","number":55544,"title":"SSLHandshakeException with openjdk10","user":{"login":"moaxcp","id":7831184,"node_id":"MDQ6VXNlcjc4MzExODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7831184?v=4","gravatar_id":"","url":"https://api.github.com/users/moaxcp","html_url":"https://github.com/moaxcp","followers_url":"https://api.github.com/users/moaxcp/followers","following_url":"https://api.github.com/users/moaxcp/following{/other_user}","gists_url":"https://api.github.com/users/moaxcp/gists{/gist_id}","starred_url":"https://api.github.com/users/moaxcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moaxcp/subscriptions","organizations_url":"https://api.github.com/users/moaxcp/orgs","repos_url":"https://api.github.com/users/moaxcp/repos","events_url":"https://api.github.com/users/moaxcp/events{/privacy}","received_events_url":"https://api.github.com/users/moaxcp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-02-11T00:57:19Z","updated_at":"2019-02-12T13:16:10Z","closed_at":"2019-02-12T13:16:10Z","author_association":"CONTRIBUTOR","body":"## Issue description\r\n\r\nI'm using the gradle wrapper with jdk10 on nixos. When gradle downloads dependencies it started getting this exception a few days ago after an upgrade of nixos.\r\n\r\n```\r\nCaused by: org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://jcenter.bintray.com/org/greenrobot/eventbus/3.1.1/eventbus-3.1.1.pom'.\r\n\tat org.gradle.internal.resource.transport.http.HttpClientHelper.performRequest(HttpClientHelper.java:96)\r\n\tat org.gradle.internal.resource.transport.http.HttpClientHelper.performRawGet(HttpClientHelper.java:80)\r\n\tat org.gradle.internal.resource.transport.http.HttpClientHelper.performGet(HttpClientHelper.java:84)\r\n\tat org.gradle.internal.resource.transport.http.HttpResourceAccessor.openResource(HttpResourceAccessor.java:43)\r\n\tat org.gradle.internal.resource.transport.http.HttpResourceAccessor.openResource(HttpResourceAccessor.java:29)\r\n\tat org.gradle.internal.resource.transfer.DefaultExternalResourceConnector.openResource(DefaultExternalResourceConnector.java:56)\r\n\tat org.gradle.internal.resource.transfer.ProgressLoggingExternalResourceAccessor.openResource(ProgressLoggingExternalResourceAccessor.java:37)\r\n\tat org.gradle.internal.resource.transfer.AccessorBackedExternalResource.withContentIfPresent(AccessorBackedExternalResource.java:130)\r\n\tat org.gradle.internal.resource.BuildOperationFiringExternalResourceDecorator$11.call(BuildOperationFiringExternalResourceDecorator.java:237)\r\n\tat org.gradle.internal.resource.BuildOperationFiringExternalResourceDecorator$11.call(BuildOperationFiringExternalResourceDecorator.java:229)\r\n\tat org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:314)\r\n\tat org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:304)\r\n\tat org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)\r\n\tat org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:100)\r\n\tat org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)\r\n\tat org.gradle.internal.resource.BuildOperationFiringExternalResourceDecorator.withContentIfPresent(BuildOperationFiringExternalResourceDecorator.java:229)\r\n\tat org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.copyToCache(DefaultCacheAwareExternalResourceAccessor.java:199)\r\n\t... 90 more\r\nCaused by: 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\r\n\tat org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396)\r\n\tat org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355)\r\n\tat org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)\r\n\tat org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)\r\n\tat org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)\r\n\tat org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)\r\n\tat org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)\r\n\tat org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)\r\n\tat org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)\r\n\tat org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)\r\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)\r\n\tat org.gradle.internal.resource.transport.http.HttpClientHelper.performHttpRequest(HttpClientHelper.java:148)\r\n\tat org.gradle.internal.resource.transport.http.HttpClientHelper.performHttpRequest(HttpClientHelper.java:126)\r\n\tat org.gradle.internal.resource.transport.http.HttpClientHelper.executeGetOrHead(HttpClientHelper.java:103)\r\n\tat org.gradle.internal.resource.transport.http.HttpClientHelper.performRequest(HttpClientHelper.java:94)\r\n\t... 106 more\r\nCaused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\r\n\t... 121 more\r\nCaused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\r\n\t... 121 more\r\n```\r\n\r\nCould there have been any changes to the default truststore to cause this? I can browse to the pom file with no issues.\r\n\r\n### Steps to reproduce\r\n\r\n## Technical details\r\n\r\nPlease run `nix-shell -p nix-info --run \"nix-info -m\"` and paste the\r\nresults.\r\n\r\n```\r\n - system: `\"x86_64-linux\"`\r\n - host os: `Linux 4.14.98, NixOS, 18.09.2123.13050bedc49 (Jellyfish)`\r\n - multi-user?: `yes`\r\n - sandbox: `yes`\r\n - version: `nix-env (Nix) 2.1.3`\r\n - channels(root): `\"nixos-18.09.2123.13050bedc49\"`\r\n - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`\r\n\r\n```"}}
{"actor":{"display_login":"moaxcp"}}