Skip to content

Commit

Permalink
Improve reliability of curl to check ArgoCD server
Browse files Browse the repository at this point in the history
  • Loading branch information
niallthomson committed Jun 27, 2024
1 parent ddb1978 commit 2c49940
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/docs/automation/gitops/argocd/access_argocd.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ ArgoCD URL: http://acfac042a61e5467aace45fc66aee1bf-818695545.us-west-2.elb.amaz
The load balancer will take some time to provision so use this command to wait until ArgoCD responds:

```bash timeout=600
$ curl --head -X GET --retry 20 --retry-connrefused --retry-delay 15 http://$ARGOCD_SERVER
$ curl --head -X GET --retry 20 --retry-all-errors --retry-delay 15 \
--connect-timeout 5 --max-time 10 \
http://$ARGOCD_SERVER
curl: (6) Could not resolve host: acfac042a61e5467aace45fc66aee1bf-818695545.us-west-2.elb.amazonaws.com
Warning: Problem : timeout. Will retry in 15 seconds. 20 retries left.
[...]
Expand Down

0 comments on commit 2c49940

Please sign in to comment.