time=“2016-02-21T08:06:44.908455874Z” level=debug msg=“Calling POST /v1.22/images/create”
time=“2016-02-21T08:06:44.908642289Z” level=debug msg=“POST /v1.22/images/create?fromImage=mydockerhub%3A5000%2Fmonitoring%2Fsensu-client%3Alatest”
time=“2016-02-21T08:06:44.909027481Z” level=debug msg=“Trying to pull mydockerhub:5000/monitoring/sensu-client from https://mydockerhub:5000 v2”
time=“2016-02-21T08:06:44.916388769Z” level=warning msg=“Error getting v2 registry: Get https://mydockerhub:5000/v2/: tls: oversized record received with length 20527”
time=“2016-02-21T08:06:44.916644462Z” level=debug msg=“Trying to pull mydockerhub.local:5000/monitoring/sensu-client from http://mydockerhub:5000 v2”
time=“2016-02-21T08:08:45.223271077Z” level=debug msg=“Error trying v2 registry: Get http://mydockerhub:5000/v2/monitoring/sensu-client/manifests/latest: read tcp 10.215.154.113:44940->10.215.154.181:5000: read: connection reset by peer”
time=“2016-02-21T08:08:45.223738576Z” level=debug msg=“Skipping v1 endpoint https://mydockerhub:5000 because v2 registry was detected”
time=“2016-02-21T08:08:45.223785696Z” level=debug msg=“Skipping v1 endpoint http://mydockerhub:5000 because v2 registry was detected”
time=“2016-02-21T08:08:45.223911338Z” level=error msg=“Handler for POST /v1.22/images/create returned error: Get http://mydockerhub:5000/v2/monitoring/sensu-client/manifests/latest: read tcp 10.215.154.113:44940->10.215.154.181:5000: read: connection reset by peer”
Right now I cannot use 0.4.3 with private registry so I had to revert back to 0.4.1/0.4.2.
Are you using RancherOS with Rancher? I just saw someone else have the same issue “connection reset by peer” with a different operating system (CentOS 7)
Is this happening with any registry pull or just within Rancher?