Timeout when cloning Git repository #21054
-
I am experiencing a timeout issue while cloning our Git repository from the app-set controller and repo-server. The error message I receive is as follows:
For context, cloning the repository locally takes around 95 seconds. To address the timeout I tried setting I verified these setting were correctly configured by investigating environment variables on the deployed repo-server pods: $ kubectl exec deployments/argo-cd-argocd-repo-server -c repo-server -- env | grep TIMEOUT
ARGOCD_GIT_REQUEST_TIMEOUT=3m
ARGOCD_RECONCILIATION_TIMEOUT=180s Despite these changes, the logs still indicate timeout messages suggesting that the timeout remains at 1m30s. Are there additional configs I must change to increase the git clone timeout? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The timeout for a git fetch is controlled by |
Beta Was this translation helpful? Give feedback.
The timeout for a git fetch is controlled by
ARGOCD_EXEC_TIMEOUT
because the git fetch is execed and the git client isn't used. It isn't clear in the docs that this is the case. Would you mind creating an issue or even submitting a PR to help update the docs?