Error pinging enclave api – connection refused

Created by Taljinder Kaur, Modified on Fri, 3 Apr at 5:33 PM by Taljinder Kaur

Error message

[Jul 10, 2025, 5:44 PM]: VM: Error pinging enclave api..Get "https://localhost:5000/api/v1/ping/enclave": dial tcp [::1]:5000: connect: connection refused

Error pinging enclave api..Get "https://localhost:5000/api/v1/ping/enclave": dial tcp [::1]:5000: connect: connection refused


Cause

This error is generated because the algorithm container is waiting for the Enclave api to start. During normal startup, there is a short window where the API endpoint is not yet accepting connections.


Impact

  • Transient error only during early startup
  • Does not indicate a misconfiguration or failure, assuming it resolves once the enclave is fully up


Resolution / Workaround

  • No action required.
     This message can be safely ignored if:
    • It occurs only during initial startup, and
    • Subsequent steps complete successfully and the enclave api is reachable.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article