I’m using JFrog Artifactory as my docker registry and it was integrated with my company LDAP for authentication. Since there is some latency to my LDAP servers as it located in another data center, the login process takes some time. There is no issue with UI login. But when using from docker client it gets timed out as every docker client has a default 15sec timeout set.
If the login process takes more than 15sec it gets timeout at the client side with the below error message.
Get https://oneart.mycompany.com:8091/v2/: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
I tested completely it is getting timeout during to latency with LDAP login.
Is there a way I can increase the timeout at the client side? (Setting some env variables or command-line argument)