-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No down notifications for push monitor #922
Comments
I got probably another issue, also with this kind of sensors, so it can be related somehow: My push notification is keep in
In my case, it seems it's still |
Usually your smtp block the down mail for unknown reason. Search this repo for more info. I remember someone had same problem like you. |
@louislam the problem is that i don't get a down notification to gotify either |
Just test it again, I still cannot reproduce your problem. Not quite sure what is missing here. |
@louislam there definitely seems to be some kind of issue with the push monitor logic that allows it to get into a bad state. It went down, then came back up, and now its spamming me with Up notifications every time it gets a ping... I'm calling the url: |
Also not sure why there are gaps in the graph... |
Gaps are either a pending beat or a single up beat that is not connected as a line. I think this suggests that somehow more than 1 beat is produced every minute, which would be consistent with your observation that notification is constantly getting triggered, which would happen on every down-to-up transition. |
Is there a way to log the raw http requests so I can see exactly what's coming through? The cron job is set to ping every minute... |
I seem to be having this issue as well. I setup a new PUSH monitor and before i triggered my first GET to the URL i did get a down alert, triggered my GET to the URL and got an up alert then I didn't trigger another GET to the URL and haven't received an alert but can see in the WebUI that its down but the history doesn't call it out. If I do a GET to the URL I will get an Up alert. Steps to duplicate |
Finally addressed the issue, it should be fixed in the next release |
This might still be broken, I am no longer receiving down alerts if I intentionally stop the job hitting the URL. The monitor still says up. |
I'm using matrix for the notifications and only receive the UP notifications, no DOWN. Using version 1.11.1 in docker. |
I'm not sure if we should crate a new issue or if @louislam can reopen this one? |
this is fixed in 1.11.3! Thanks! |
It should not be related, the logic is the same as 1.11.1.
I remember that I tested it a month ago, it should be working, but it could possibly be another hidden issue. If you find a way to reproduce the issue, feel free to open a new issue. |
I've found it works at first after a restart and on first failure but doesn't work after that. I will try to get some steps to reproduce. |
@louislam fyi - still a problem as of |
I think maybe there is a hidden issue. Let me know if anyone know how to reproduce. |
Try this @louislam - configure monitor, restart Uptime Kuma (might not be required), cause a failure and it will alert, bring service back up and it will go green. after that it will not detect future failures. Seems is always works on first failure after a restart of Uptime Kuma but after that first failure no more alerts. |
This is still relevant. My PUSH sensors are only sending |
It might've been due to pushing heartbeats continuously, with
|
Yeah this is unrelated to this issue then. I believe the retry only applies if the heartbeat is missed completely. Similarly, it probably sends a notification on every down heartbeat on purpose. But if you can send multiple down heartbeats, I'm not sure why you need uptime-kuma at all... |
🛡️ Security Policy
Description
I have a push monitor configured for a 1min interval. It appears that since upgrading, it no longer sends notification for missed heartbeats:
You'll notice that between 8:14 and 8:21 there were no pings, but no down notifications were sent either.
I wonder if it has something to do with the failed SMTP notifications shown in the logs below, but I have the same issue on all my monitors and those send the gotify notifications just fine
👟 Reproduction steps
Configure a push monitor as below:
Ping the URL every minute for a while
Stop pinging the URL
👀 Expected behavior
Get a down notification
😓 Actual Behavior
Only get up notifications
🐻 Uptime-Kuma Version
1.10.2
💻 Operating System and Arch
Docker on Ubuntu 20.04
🌐 Browser
Firefox
🐋 Docker Version
20.10.10, build b485636
🟩 NodeJS Version
No response
📝 Relevant log output
The text was updated successfully, but these errors were encountered: