twuni / docker-registry.helm

Helm chart for a Docker registry. Successor to stable/docker-registry chart.
Apache License 2.0
304 stars 146 forks source link

login does not work somehow #115

Closed wibed closed 7 months ago

wibed commented 7 months ago

% docker login -u flux 127.0.0.1:5000 Password: Error response from daemon: Get "http://127.0.0.1:5000/v2/": dial tcp 127.0.0.1:5000: connect: connection refused


- exec -- ps
```yaml
PID   USER     TIME  COMMAND
    1 1000      0:10 /bin/registry serve /etc/docker/registry/config.yml
   69 1000      0:00 ash
   75 1000      0:00 ps

why tho?

wibed commented 7 months ago

this might not be related to the registry at all

https://github.com/rancher-sandbox/rancher-desktop/issues/6294

QuinnBast commented 5 months ago

I think this is a registry issue...

Our registry just suddenly stopped working out of nowhere with the same errors you are facing above. Nothing in our helm chart has changed though... The registry had been working fine for 4-5 months now, but we are now getting 401s...

I've verified the htpasswd file has the correct user credentials, but any time that I attempt to docker login or nerdctl login to the registry it returns a 401 Unauthorized.

Edit: This ended up being incorrect SSL configuration on our side. The 401 was misleading...