com.github.dockerjava.api.exception.UnauthorizedException: {"message":"Get https://my-registry.com/v2/cassandra/manifests/latest: unauthorized: authentication required"}

GitHub | benash | 3 months ago
  1. 0

    Pulling image with authentication fails with UnauthorizedException

    GitHub | 3 months ago | benash
    com.github.dockerjava.api.exception.UnauthorizedException: {"message":"Get https://my-registry.com/v2/cassandra/manifests/latest: unauthorized: authentication required"}

    Root Cause Analysis

    1. com.github.dockerjava.api.exception.UnauthorizedException

      {"message":"Get https://my-registry.com/v2/cassandra/manifests/latest: unauthorized: authentication required"}

      at com.github.dockerjava.jaxrs.filter.ResponseStatusExceptionFilter.filter()
    2. com.github.dockerjava
      ResponseStatusExceptionFilter.filter
      1. com.github.dockerjava.jaxrs.filter.ResponseStatusExceptionFilter.filter(ResponseStatusExceptionFilter.java:45)
      1 frame
    3. jersey-core-client
      ClientFilteringStages$ResponseFilterStage.apply
      1. org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:140)
      2. org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:128)
      2 frames