energywebfoundation / ocn-node

Apache License 2.0
5 stars 4 forks source link

Consider making the testHealth call on node startup non-fatal #25

Closed ewf-devops closed 3 years ago

ewf-devops commented 3 years ago

Original report by Anonymous.


When the ocn-node starts-up it checks that the configured public address is accessible via a call to /health. The node will fail to start if this URI does not respond with a 200.

If the node is behind a load balancer or gateway it may be that the gateway is not ready in time to respond to the request.

Suggestion is to make this failure a warning rather than a fatal error.

ewf-devops commented 3 years ago

Original comment by John Henderson (Bitbucket: [John Henderson](https://bitbucket.org/John Henderson), GitHub: jrhender).


Resolved by PR #53