Hi,

I've gotten artifactory pro running with an eval license, and set up
nginx in front of it per the docs.  If I hit the registry interface
_ping endpoint, I get a proper response.  However, whenever I try to
push anything to the registry I get the message:

    docker  push localhost:80/spotify/busybox:0.1
    The push refers to a repository [localhost:80/spotify/busybox] (len: 1)
    Sending image list
    2014/10/22 12:32:00 }


I dug into what the docker daemon is seeing and I see

    User with no key pair tries to authenticate with encrypted password.

in the response from artifactory.

What does this mean? 


Thanks,
Drew Csillag


Other details:

  * docker.io 1.3
  * artifactory pro 2.4.1
  * nginx 1.4.6 -- not doing SSL (for now)
  * Ubuntu 14.04


The full http conversation from the local docker daemon to artifactory is

    PUT /v1/repositories/spotify/busybox/ HTTP/1.1
    Host: localhost:80
    User-Agent: docker/1.3.0 go/go1.3.3 git-commit/c78088f
    kernel/3.13.0-37-generic os/linux arch/amd64
    Content-Length: 309
    Authorization: Basic Z<......>==
    Content-Type: application/json
    X-Docker-Token: true
    Accept-Encoding: gzip

    
[{"id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158"},{"id":"df7546f9f060a2268024c8a230d8639878585defcc1bc6f79d2728a13957871b"},{"id":"e433a6c5b276a31aa38bf6eaba9cd1cfd69ea33f706ed72b3f20bafde5cd8644"},{"id":"e72ac664f4f0c6a061ac4ef332557a70d69b0c624b6add35f1c181ff7fff2287","Tag":"0.1"}]


    HTTP/1.1 401 Unauthorized
    Server: nginx/1.4.6 (Ubuntu)
    Date: Wed, 22 Oct 2014 16:32:00 GMT
    Content-Type: application/json;charset=ISO-8859-1
    Content-Length: 133
    Connection: keep-alive
    X-Artifactory-Id: ad4<.....>00
    WWW-Authenticate: Basic realm="Artifactory Realm"

    {
      "errors" : [ {
        "status" : 401,
        "message" : "User with no key pair tries to authenticate with
    encrypted password."
      } ]
    }


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to