java.io.IOException: Failed to obtain list of repositories: HTTP response code: 401. HTTP response message: Unauthorized

JFrog JIRA | Michał Staruch | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    After creating local user on Artifactory side, and verifying it's working on Manage Artifactory Servers panel on Bamboo side ({{(/) Connection successful!}} test result) I am unable to get the same credentials working on the Artifactory Maven 3 task level. Credentials I use have permissions to deploy the artifacts to the all available repositories. Stack trace from catalina.out on Bamboo side: {noformat}2015-03-27 09:58:23,404 ERROR [http-bio-8443-exec-34] [ServerConfigManager] Error while retrieving resolving repository list from: https://mvn.local/artifactory java.io.IOException: Failed to obtain list of repositories: HTTP response code: 401. HTTP response message: Unauthorized at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:647) at org.jfrog.build.client.ArtifactoryBuildInfoClient.getRepositoriesList(ArtifactoryBuildInfoClient.java:192) at org.jfrog.build.client.ArtifactoryBuildInfoClient.getVirtualRepositoryKeys(ArtifactoryBuildInfoClient.java:175) at org.jfrog.bamboo.admin.ServerConfigManager.getResolvingRepos(ServerConfigManager.java:232) at org.jfrog.bamboo.admin.ArtifactoryConfigServlet.doGet(ArtifactoryConfigServlet.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ...{noformat}

    JFrog JIRA | 2 years ago | Micha?? Staruch
    java.io.IOException: Failed to obtain list of repositories: HTTP response code: 401. HTTP response message: Unauthorized
  2. 0

    After creating local user on Artifactory side, and verifying it's working on Manage Artifactory Servers panel on Bamboo side ({{(/) Connection successful!}} test result) I am unable to get the same credentials working on the Artifactory Maven 3 task level. Credentials I use have permissions to deploy the artifacts to the all available repositories. Stack trace from catalina.out on Bamboo side: {noformat}2015-03-27 09:58:23,404 ERROR [http-bio-8443-exec-34] [ServerConfigManager] Error while retrieving resolving repository list from: https://mvn.local/artifactory java.io.IOException: Failed to obtain list of repositories: HTTP response code: 401. HTTP response message: Unauthorized at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:647) at org.jfrog.build.client.ArtifactoryBuildInfoClient.getRepositoriesList(ArtifactoryBuildInfoClient.java:192) at org.jfrog.build.client.ArtifactoryBuildInfoClient.getVirtualRepositoryKeys(ArtifactoryBuildInfoClient.java:175) at org.jfrog.bamboo.admin.ServerConfigManager.getResolvingRepos(ServerConfigManager.java:232) at org.jfrog.bamboo.admin.ArtifactoryConfigServlet.doGet(ArtifactoryConfigServlet.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ...{noformat}

    JFrog JIRA | 2 years ago | Michał Staruch
    java.io.IOException: Failed to obtain list of repositories: HTTP response code: 401. HTTP response message: Unauthorized
  3. 0

    JSPException when applying theme

    mail-archive.com | 2 years ago
    java.io.IOException: JSPException while including path '/roller-ui/errors/denied.jsp'. ServletException while including page. at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91) at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82) at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:457) at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140) at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117) at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171) at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75) at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80) at org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp._jspx_meth_tiles_insertAttribute_3(org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp:253) at org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp._jspService(org.apache.jsp.WEB_002dINF.jsps.tiles.tiles_002derrorpage_jsp:109) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Neo4j] IOException is thrown when RestAPI.executeBatch() is called. - Grokbase

    grokbase.com | 1 year ago
    java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 30001/30000 ms at org.neo4j.server.rest.repr.OutputFormat$1.write(OutputFormat.java:174) ~[neo4j-desktop-2.0.0.jar:2.0.0] at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71) [neo4j-desktop-2.0.0.jar:2.0.0] at com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:57) [neo4j-desktop-2.0.0.jar:2.0.0] at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306) [neo4j-desktop-2.0.0.jar:2.0.0] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1437) [neo4j-desktop-2.0.0.jar:2.0.0] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) [neo4j-desktop-2.0.0.jar:2.0.0] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) [neo4j-desktop-2.0.0.jar:2.0.0] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) [neo4j-desktop-2.0.0.jar:2.0.0] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) [neo4j-desktop-2.0.0.jar:2.0.0] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699) [neo4j-desktop-2.0.0.jar:2.0.0]
  6. 0

    Re: Tez job killed immediately

    tez-user | 4 years ago | Manu Zhang
    java.io.IOException: java.net.URISyntaxException: Expected authority > at index 7: http:// at > org.apache.hadoop.yarn.server.webproxy.WebAppProxyServlet.doGet(WebAppProxyServlet.java:337)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Failed to obtain list of repositories: HTTP response code: 401. HTTP response message: Unauthorized

      at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException()
    2. org.jfrog.build
      ArtifactoryBuildInfoClient.getVirtualRepositoryKeys
      1. org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:647)
      2. org.jfrog.build.client.ArtifactoryBuildInfoClient.getRepositoriesList(ArtifactoryBuildInfoClient.java:192)
      3. org.jfrog.build.client.ArtifactoryBuildInfoClient.getVirtualRepositoryKeys(ArtifactoryBuildInfoClient.java:175)
      3 frames
    3. org.jfrog.bamboo
      ArtifactoryConfigServlet.doGet
      1. org.jfrog.bamboo.admin.ServerConfigManager.getResolvingRepos(ServerConfigManager.java:232)
      2. org.jfrog.bamboo.admin.ArtifactoryConfigServlet.doGet(ArtifactoryConfigServlet.java:94)
      2 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      2 frames