Welcome! Log In Create A New Profile

Advanced

RE: Docker client gets 405 error in nginx during docker push/pull

Reinis Rozitis
May 07, 2017 08:50AM
> 2017/04/26 20:18:22 [error] 7#7: *34966 open() "/etc/nginx/html/v1/_ping" failed (2: No such file or directory), client: 10.40.210.70, server: 10.39.228.151, request: "GET /v1/_ping HTTP/1.1", host: "10.39.228.151:9000"

I'm not familiar with the software stack you're using but just looking at the error and your nginx configuration there is actually nothing that handles the 'v1/_ping' request which then returns some default 404 nginx page (what might or might not result In the situation (internal error) you are seeing).

Your configuration server blocks have:

rewrite ^/(v2)/(.*) /artifactory/api/docker/docker-candidate-release/$1/$2;

could indicate that there is some version mismatch between the backend software.


You could try to add also to add also 'v1' to the rewrite (depends if the /artifactory location can process the 'v1'):

rewrite ^/(v1|v2)/(.*) /artifactory/api/docker/docker-candidate-release/$1/$2;


But in general I would suggest the same as the people in the docker issue told you - to contact/consult with the Artifactory support/devs.

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Docker client gets 405 error in nginx during docker push/pull

Syed Imran May 07, 2017 06:22AM

RE: Docker client gets 405 error in nginx during docker push/pull

Reinis Rozitis May 07, 2017 08:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 156
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready