Re: Unable to sync images from hub.docker.com


email.kprasad@...
 

Hi Steven,

I tired but still the same result. I also checked the logs and could find only this :
-----
Feb 18 06:46:00 host-name core[12699]: 2020-02-18T06:46:00Z [INFO] replication signal for policy 5 sent
Feb 18 06:46:00 host-name core[12699]: 2020/02/18 06:46:00 #033[1;44m[D] [server.go:2619] |  182.74.75.171|#033[42m 200 #033[0m|   4.135711ms|   match|#033[46m POST    #033[0m /api/replications   r:/api/replications#033[0m
Feb 18 06:46:00 host-name core[12699]: 2020-02-18T06:46:00Z [INFO] Handle notification with topic 'StartReplication': notification.StartReplicationNotification{PolicyID:5, Metadata:map[string]interface {}{"op_uuid":"539253553bd54e728ac9d79c39a214e3"}}
-----

Also I just noticed, the registry endpoint which I added for DockerHub, on clicking "Test Connection" it says failed to ping endpoint. Could this be the issue ? But I'm able to curl the endpoint from the harbor node successfully, so connectivity is not an issue.
----
root [ /harbor ]# curl -I https://hub.docker.com
HTTP/1.1 200 OK
Date: Tue, 18 Feb 2020 06:55:49 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 2110
ETag: W/"83e-soAKjyBJXD/TFDFDjBU9dyLtT5o"
Vary: Accept-Encoding
Server: nginx
X-Frame-Options: deny
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Strict-Transport-Security: max-age=31536000
-----

Thanks,
Prasad


Join harbor-users@lists.cncf.io to automatically receive all group messages.