java.lang.RuntimeException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6641

  • via Atlassian JIRA by Martin Meinhold, 11 months 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 JIRA by Martin Meinhold, 10 months ago
    java.io.IOException: Unexpected HTTP status code: 401 Unauthorized
  • Stack trace

    • java.lang.RuntimeException: 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:135) 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) Caused by: 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) ... 12 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.