mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
SSL error which occurs pretty often causing many false alerts. #3310
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#3310
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JasperTheMinecraftDev on GitHub (May 1, 2024).
📑 I have found these related issues/pull requests
Related to #2872
🛡️ Security Policy
Description
Hey there, thanks for crafting such an awesome application! Currently, I'm hosting it on HomeAssistant within my local environment, alongside a plethora of other services. However, I've encountered an issue with SSL errors popping up in Uptime Kuma for my public HTTPS sites.
Just a heads-up: I've tried replicating the issue across various browsers without success. The sites are functioning smoothly, and their SSL certificates are both valid and operational. These sites are hosted on CloudFlare. The hiccup is that Uptime Kuma throws SSL errors and flags the sites as down, despite having "ignore SSL errors" checked(and of course, despite having valid certs xD).
Now, to cut to the chase, I've set up Discord webhooks to receive notifications. Here's an example from a notification I received regarding an SSL error:
A minute later, during the next check, everything is back to normal, and the service is reported as online again.
This issue doesn't show up consistently but it does so frequently. Is there a known fix for this, or could the developers take a look at it? Really annoying to get spammed with downtime notifications if they're actually up.
👟 Reproduction steps
Add an HTTPS site, give it some time and get SSL errors.
👀 Expected behavior
It shouldn't throw SSL errors.
😓 Actual Behavior
It threw SSL errors.
🐻 Uptime-Kuma Version
1.23.13
💻 Operating System and Arch
HomeAssistant,
🌐 Browser
Chrome on my Windows PC.
🖥️ Deployment Environment
📝 Relevant log output
No response
@JasperTheMinecraftDev commented on GitHub (May 1, 2024):
And this is an less frequent but occuring error too:
@CommanderStorm commented on GitHub (May 1, 2024):
Regarding the ssl eror:
That it pops up when you have set it to ignore them would be a bug.
Can you share more details what you are monitoring how exactly
=> so I/somebody else can have a look?
This sounds pretty similar to https://github.com/louislam/uptime-kuma/issues/4520
=> could you check that your host is not ping-ponging between certs?
@CommanderStorm commented on GitHub (May 1, 2024):
Regarding
This error message means that the dns request has failed. Node.js itself doesn't perform any DNS caching, it delegates everything DNS related to the OS.
Go to the general settings and activate nscd (Name Service Caching Daemon) to honoer the TTL you set in your DNS configuration
Please configure your system to use dns caching.
Increasing the retry setting is also a valid approach to solve this in both cases.
@JasperTheMinecraftDev commented on GitHub (May 2, 2024):
Thanks for your responses! How can I check the ping-poinging between certs and how can I adjust these DNS settings if I run it Proxmox using the HA LXC container?
@CommanderStorm commented on GitHub (May 2, 2024):
Pleaese see the comment I hinted at above:
You can adjust the DNS settings where you set up your DNS routes => at your DNS-Provider.
In case by the comment about
HA LXC containeryou are asking how to set up nscd on a non docker machine:We don't directly support that deployment path (Idk how this is packaged)
=> please contact the source you are getting this from or read through this issue:
@JasperTheMinecraftDev commented on GitHub (May 2, 2024):
I enabled the caching and I did not get the EAI_AGAIN error(at least, not in the hour of testing I did)
Here's a screen of one of the sites that triggers the SSL cert error:
