question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No down notifications for push monitor

See original GitHub issue

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn’t find similar issue

🛡️ 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: image

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: image

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

onitor #21 'Backups': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push
Cannot send notification to SMTP
Monitor #21 'Backups': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push
Cannot send notification to SMTP
Monitor #21 'Backups': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push
Cannot send notification to SMTP
Monitor #21 'Backups': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push
Cannot send notification to SMTP
Monitor #21 'Backups': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push
Cannot send notification to SMTP
Monitor #21 'Backups': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push
Cannot send notification to SMTP
Monitor #21 'Backups': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push
Cannot send notification to SMTP
Monitor #21 'Backups': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push
Cannot send notification to SMTP
Monitor #21 'Backups': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push
Cannot send notification to SMTP
Monitor #21 'Backups': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push
Cannot send notification to SMTP
Monitor #21 'Backups': Failing: No heartbeat in the time window | Interval: 60 seconds | Type: push
Cannot send notification to SMTP

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:21 (13 by maintainers)

github_iconTop GitHub Comments

3reactions
louislamcommented, Dec 8, 2021

Finally addressed the issue, it should be fixed in the next release

3reactions
hansenc0705commented, Nov 27, 2021

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 Create new PUSH monitor using settings below Don’t do anything and get your first down alert Then load the URL, i’m doing a powershell web request with the method GET you will get an UP alert Wait configured time to miss a heartbeat, you will see the WebUI show it as down but no alerts Then trigger a GET to the URL

image image image
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Turn Off Push Notifications (Windows, Mac, & Browsers)
You can disable push notifications on Android by going into the Settings > Notifications options. Similar to iOS, Android lets you turn off...
Read more >
Control notifications on Android - Google Support
After you swipe down from the top of your screen, drag the notification slightly right or left. Then tap Settings . · Tap...
Read more >
Use notifications on your iPhone or iPad - Apple Support
Open from Notification Center · From the Lock Screen, swipe up from the middle of the screen. · From any other screen, swipe...
Read more >
Change notification and quick settings in Windows
Select Start , then select Settings . · Select System > Notifications & actions. · Do any of the following: Choose whether to...
Read more >
What is a push notification? - Adjust
They can appear on a lock screen or in the top section of a mobile device. ... Push notifications can be sent without...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found