Title: Healthchecks in elastic-docker-tls.yml always pass. · Issue #1846 · elastic/stack-docs · GitHub
Open Graph Title: Healthchecks in elastic-docker-tls.yml always pass. · Issue #1846 · elastic/stack-docs
X Title: Healthchecks in elastic-docker-tls.yml always pass. · Issue #1846 · elastic/stack-docs
Description: The current healthchecks, which look like this: curl --cacert $CERTS_DIR/ca/ca.crt -s https://localhost:9200 >/dev/null; if [[ $$? == 52 ]]; then echo 0; else echo 1; fi, pass even if a node is exposed on a port other than 9200, or if th...
Open Graph Description: The current healthchecks, which look like this: curl --cacert $CERTS_DIR/ca/ca.crt -s https://localhost:9200 >/dev/null; if [[ $$? == 52 ]]; then echo 0; else echo 1; fi, pass even if a node is exp...
X Description: The current healthchecks, which look like this: curl --cacert $CERTS_DIR/ca/ca.crt -s https://localhost:9200 >/dev/null; if [[ $$? == 52 ]]; then echo 0; else echo 1; fi, pass even if a node is ...
Opengraph URL: https://github.com/elastic/stack-docs/issues/1846
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Healthchecks in elastic-docker-tls.yml always pass.","articleBody":"The current healthchecks, which look like this: `curl --cacert $CERTS_DIR/ca/ca.crt -s https://localhost:9200 \u003e/dev/null; if [[ $$? == 52 ]]; then echo 0; else echo 1; fi`, pass even if a node is exposed on a port other than 9200, or if the node is not accessible for some reason. The echo commands both return a response code of 0. \r\n\r\nGetting rid of the if statement fixes this, but we could also add logic to the healthcheck based on the http response code.","author":{"url":"https://github.com/ryanhockstad","@type":"Person","name":"ryanhockstad"},"datePublished":"2021-10-13T20:13:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1846/stack-docs/issues/1846"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:41d54dbb-9fc3-24b6-69d0-06202f0474fd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 876E:807CE:C3477:104A35:698E4ACF |
| html-safe-nonce | 4dcdb0f769cf72ce6dca8d84354d98fe3404669b30ef9bcdac1d7ab4114ae441 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzZFOjgwN0NFOkMzNDc3OjEwNEEzNTo2OThFNEFDRiIsInZpc2l0b3JfaWQiOiIyODk3Mzc5MTYyOTIxNTE5ODIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d5b05b2da9ccb8a27333d48e5cee225568360bae4077899f85a16c8b4ef0fefd |
| hovercard-subject-tag | issue:1025655310 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/elastic/stack-docs/1846/issue_layout |
| twitter:image | https://opengraph.githubassets.com/30de1cb06261a8bda2920352605233220553b30edbd5f782635a8742175bcdbf/elastic/stack-docs/issues/1846 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30de1cb06261a8bda2920352605233220553b30edbd5f782635a8742175bcdbf/elastic/stack-docs/issues/1846 |
| og:image:alt | The current healthchecks, which look like this: curl --cacert $CERTS_DIR/ca/ca.crt -s https://localhost:9200 >/dev/null; if [[ $$? == 52 ]]; then echo 0; else echo 1; fi, pass even if a node is exp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ryanhockstad |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e08b85f0035d49bc4c22868f70a4d30fb8c2a777936895c37e78df095242ddc |
| turbo-cache-control | no-preview |
| go-import | github.com/elastic/stack-docs git https://github.com/elastic/stack-docs.git |
| octolytics-dimension-user_id | 6764390 |
| octolytics-dimension-user_login | elastic |
| octolytics-dimension-repository_id | 71835381 |
| octolytics-dimension-repository_nwo | elastic/stack-docs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 71835381 |
| octolytics-dimension-repository_network_root_nwo | elastic/stack-docs |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ab1cf30f0feb8db377fc0d52bc41f0105f9b4181 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width