title: Connection refused error in outbound request in k8s app container. Istio?
body: <p>Updated</p>
  <p>I have some script that initializes our service.<br />
  The script fails when it runs in the container because of <em><strong>connection refused</strong></em> error in the first outbound request (to external service) in the script.<br />
  We tried to add a loop that makes curl and if it fails, re-try, if not - continuous the script.<br />
  Sometimes it succeeds for the first time, sometimes it fails 10-15 times in a row.<br />
  We recently started using istio<br />
  What may be a reason??</p>