We’re running into issue with docker clients getting the below error:
net/http: request canceled (Client.Timeout exceeded while awaiting headers) (Client.Timeout exceeded while awaiting headers)
We know the cause is due to the time Artifactory is taking to respond based on functions related to login or LDAP OU searches. I’ve confirmed this by finding the docker login command is successful when the response is returned to the client within about 15 seconds. Anything above that seems to result in the timeout error. The real root cause determination and fix will take time.
As a workaround I was thinking we should just edit the docker daemon to increase the amount of time it waits before timing out. I’m surprised to find it doesn’t seem like the daemon has an option like that. Can anyone confirm if there’s a way to increase the timeout value for functions like docker login?