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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notifications (Slack & SMTP) aren't working #132
Comments
Hi Anand, Github marks that assigned you to the issue. Sorry for that; it's probably a misclick... I've investigated a little the past week and wanted to share what I've seen if it can help. I managed to display logs using the I dug into the Uptime-monitor repo and noticed there were two notifications system, Notifications and NotifyMe. Looking at the repo and past changes, I believe the first one is no longer in use, and NotifyMe is currently used. This is where I stopped as I didn't take the time to look at how I could provide my own version of the uptime-monitor code to add some logs. Let me know if you think giving a closer look can help. Enjoy the holiday season. |
Just to add another user, I have not been able to get Slack notifications to work either. All the configuration is correct according to documentation, and the Slack webhook works when tested from elsewhere. I have not been able to find logs / mention about notifications at all from GitHub Actions logs. |
I don't want to hijack the thread but I am wondering if this might be an issue with notifications more generally - I haven't been able to send email notifications via Sendgrid but I can send email outside of Upptime using the same configuration. |
I'll have a closer look this week! 馃槃 |
Thanks for the good work @AnandChowdhary |
Any updates on this? |
@AnandChowdhary I added this to
I can see that workflows/uptime.yml reads all secrets and stores in an env var called I have tested if actions read I can also see that in the source code of upptime-monitor, it starts by getting Could you please do a console.log to check if the env vars are set properly? I can also see that UPDATE
to It's hacky, but it works. |
Same with me. No SendGrid or SMTP. |
I use SendGrid on many projects/systems, but it isn't working for me on upptime. I put the variables in both Environment (under github-pages) and Secrets, but to no avail. |
Those who want email notifications, a temporary workaround - https://github.com/debdutdeb/upptime-email-notify This does defeat the purpose of the "no server needed" part, but for now if you can, this will help. |
This is now (finally) fixed, thanks so much for your patience! The fix is available in You can also run Update Template CI manually to update to the latest version immediately; by default this runs once every day. |
Nice, thank a lot @AnandChowdhary |
Hi people, It was working now? I'm have a setup with only SENDGRID and was not working... I was tested SMTP too, with gmail configuration, but seems to not working too.... |
Hi 馃憢, thanks for the great project!
Describe the bug
Notifications aren't working. I've probably messed up something as I'm apparently the only one having trouble.
I've set up both Slack and SMTP via the GitHub secrets as described on the documentation. None of them are working so far.
SMTP is Gmail one, I've followed instruction from their help page.
I've tried sending me a notification using Curl for Slack and it worked.
Action logs are saying that the notification was sent
To Reproduce
Well, you could try to set up notifications but it might work 馃槄
Expected behavior
I should have received an email and a Slack message.
Screenshots
Desktop (please complete the following information):
Not relevant
Smartphone (please complete the following information):
Not relevant
Additional context
Let me know if I can provide some more details or if it's easier for you if I split the issue in two, one for SMTP and one for Slack.
Is it possible to turn logging on?
Again, thanks for that project, it's a really clever idea to use GitHub actions for this 馃挕
The text was updated successfully, but these errors were encountered: