23
submitted 5 months ago by Pete90@feddit.org to c/selfhosted@lemmy.world

Don't exactly know what the problem is, but it seems that healthcheck curl commands to https://example.com/ currently fail, probably because of a ssl failure. This causes container that rely on this to fail. Just wanted to let you guys know.

you are viewing a single comment's thread
view the rest of the comments
[-] Pete90@feddit.org 2 points 5 months ago

Thank you so much for your detailed answer. That brought me up to speed. I just never questioned it and, as you said, assumed that it was to test network connectivity.

It also finally explains the issues with those containers I kept having every few months. It always fixed itself before I had the time to actually look into it, but it has always been bugging me. This time I was able to actually catch it.

I'll update the health checks to the proper URL im using, or should I use localhost:port?

Anyway, thanks again!

[-] WhyJiffie@sh.itjust.works 2 points 5 months ago* (last edited 5 months ago)

the healthcheck URL should point to some HTTP API that the container makes available, so it should point to the container.

in place of localhost should be the container's name, and port should be the port the container exposes as the web server. some services, like Jellyfin, have a specific webpage path for this purpose: https://jellyfin.org/docs/general/post-install/networking/advanced/monitoring/

and others, like gitea, hide the fact well that they have a health check endpoint, because its not mentioned in documentation: https://github.com/go-gitea/gitea/pull/18465

but check if docker's way of doing healthchecks produces a lot of spam in the system log, in which case you could choose to just disable health checking, because it would push out useful logs

[-] Pete90@feddit.org 1 points 5 months ago

Thanks for explaining it to me in a simple manner, I will update the url accordingly!

this post was submitted on 13 Feb 2026
23 points (89.7% liked)

Selfhosted

61126 readers
572 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS