Unable to login to harbor with an Error: Error response from daemon: Get https://harbor-fqdn/v2/: net/http: TLS handshake timeout
search cancel

Unable to login to harbor with an Error: Error response from daemon: Get https://harbor-fqdn/v2/: net/http: TLS handshake timeout

book

Article ID: 345563

calendar_today

Updated On:

Products

VMware

Issue/Introduction

 
 
 


Symptoms:
  • You are unable to login to Harbor with an error similar to:

Error: Error response from daemon: Get https://harbor-fqdn/v2/: net/http: TLS handshake timeout


Environment

VMware PKS 1.x

Cause

This issue occurs due to wrong proxy configuration.

Resolution

To resolve this issue:

  1. Perform a curl operation to the harbor instance using below command to get the http request status:
    curl -v http://harbor-fqdn -v

  2. Check the docker client status using following command systemctl status docker.

  3. If it is listing to proxy configuration then check and validate proxy configuration located at /etc/ systemd /system/docker . service . d 

  4. After correcting the proxy configuration then reloaded docker daemon using following command systemctl deamon-reload

  5. After that restart docker using below commands:
    systemctl stop docker
    systemctl start docker



Workaround:
 
 
 


Additional Information

 
 
 


Impact/Risks: