java.lang.RuntimeException: java.io.IOException: Unexpected HTTP status code: HTTP/1.1 401 Unauthorized

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

Solutions on the web

via Atlassian JIRA by Martin Meinhold, 1 year ago
java.io.IOException: Unexpected HTTP status code: HTTP/1.1 401 Unauthorized
via Atlassian JIRA by Martin Meinhold, 1 year ago
java.io.IOException: Unexpected HTTP status code: HTTP/1.1 401 Unauthorized
via atlassian.com by Unknown author, 2 years ago
via Atlassian JIRA by Adrian Deccico [Atlassian], 1 year ago
java.io.IOException: Unexpected HTTP status code: 500 Internal Server Error
via Atlassian JIRA by Adrian Deccico [Atlassian], 1 year ago
java.io.IOException: Unexpected HTTP status code: 500 Internal Server Error
via atlassian.com by Unknown author, 1 year ago
java.io.IOException: Unexpected HTTP status code: 411 Length Required
java.io.IOException: Unexpected HTTP status code: HTTP/1.1 401 Unauthorized
at com.atlassian.bamboo.v2.build.agent.remote.sender.HttpMessageSender.send(HttpMessageSender.java:129)
at com.atlassian.bamboo.v2.build.agent.remote.RemoteArtifactManager.markSubscriptionAsConsumed(RemoteArtifactManager.java:28)
at com.atlassian.bamboo.build.artifact.AbstractArtifactManager.retrieve(AbstractArtifactManager.java:320)
at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.prepareArtifacts(PrepareBuildTask.java:156)
at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:100)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)
at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110)
at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.