java.io.IOException: Server returned HTTP response code: 403 for URL: https://get.docker.com/builds/Linux/x86_64/docker-latest
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Samebug tips
401 means "Unauthorized", so there must be something with your credentials. You need to pass the authentication to let the server know its a valid user. Check whether the authentication details are provided.
Solutions on the web
via Jenkins JIRA by Allan BURDAJEWICZ, 1 year ago
via Jenkins JIRA by Allan BURDAJEWICZ, 1 year ago
via Google Groups by aburda...@cloudbees.com (JIRA), 1 year ago
via Stack Overflow by MosaicOrange
, 1 year agovia Stack Overflow by Mohammed Riyaz
, 5 months agovia Stack Overflow by user2659694
, 1 year agojava.io.IOException: Server returned HTTP response code: 403 for URL: https://get.docker.com/builds/Linux/x86_64/docker-latest
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2943)
at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629)
at java.net.URLConnection.getContentLengthLong(URLConnection.java:501)
at java.net.URLConnection.getContentLength(URLConnection.java:485)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:398)
at org.jvnet.robust_http_client.RetryableHttpStream.
(RetryableHttpStream.java:90) at org.jvnet.robust_http_client.RetryableHttpStream.
(RetryableHttpStream.java:74) at hudson.ProxyConfiguration.getInputStream(ProxyConfiguration.java:247)
at org.jenkinsci.plugins.docker.commons.tools.DockerToolInstaller.performInstallation(DockerToolInstaller.java:148)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
at org.jenkinsci.plugins.docker.commons.tools.DockerTool.forNode(DockerTool.java:107)
at org.jenkinsci.plugins.docker.commons.tools.DockerTool.getExecutable(DockerTool.java:80)
at com.cloudbees.jenkins.plugins.docker_build_env.Docker.
(Docker.java:53) at com.cloudbees.jenkins.plugins.docker_build_env.DockerBuildWrapper.decorateLauncher(DockerBuildWrapper.java:134)
at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:566)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:492)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)