Error for Gotify down notifications
See original GitHub issue⚠️ Please verify that this bug has NOT been raised before.
- I checked and didn’t find similar issue
🛡️ Security Policy
- I agree to have read this project Security Policy
Description
I’m using Gotify as my Notification service but only getting notifications, if a service goes online again. If it goes offline, I’m not getting notified and the log throws out an error.
👟 Reproduction steps
Manually turning off a monitored docker container or other service
👀 Expected behavior
Getting notified if as service goes down
😓 Actual Behavior
Getting no notification but an error message in log
🐻 Uptime-Kuma Version
1.11.3
💻 Operating System and Arch
ubuntu5~20.04.2
🌐 Browser
Brave: Version 1.34.80 Chromium: 97.0.4692.71 (Official Build) (64-Bit)
🐋 Docker Version
20.10.7, build 20.10.7-0
🟩 NodeJS Version
No response
📝 Relevant log output
Cannot send notification to Gotify
Error: Error: Error: Request failed with status code 500 {"error":"Internal Server Error","errorCode":500,"errorDescription":"Error 1366: Incorrect string value: '\\xF0\\x9F\\x94\\xB4 D...' for column `gotify`.`messages`.`message` at row 1"}
at Gotify.throwGeneralAxiosError (/app/server/notification-providers/notification-provider.js:32:15)
at Gotify.send (/app/server/notification-providers/gotify.js:23:18)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Function.sendNotification (/app/server/model/monitor.js:684:21)
at async beat (/app/server/model/monitor.js:391:17)
at async Timeout.safeBeat [as _onTimeout] (/app/server/model/monitor.js:443:17)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
is Gotify not working / having issues for you? - 99images
The Gotify app server may be down and that is causing the loading issue. Please try after few minutes ... Gotify app Notifications...
Read more >having trouble with dnf-automatic notification - Stack Overflow
So I find out Gotify as a notification tool for my phone. I want dnf-automatic to execute a gotify-cli command, which kind of...
Read more >Gotify : r/selfhosted - Reddit
46 votes, 35 comments. Strange question. What apps do you use that use Gotify for notifications. Either natively or via some script.
Read more >Push Yourself - » Linux Magazine
A Gotify application is a profile that makes it possible to identify the source of push notifications via a unique token. For example,...
Read more >Gotify - A simple notifications thingy. - YouTube
Patreon: https://www.patreon.com/hexdslAmazon Wish list: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@Syntoxr / @Sev455 I assume you are running gotify against mysql/maria db? Most probably your collations are not setup properly. I had the same problems and fixed it by changing
table collations to
utf8mb4_unicode_ci(I’ve changed them on the entire database)added
charset=utf8mb4to the connection string inside gotifyI don’t see an issue with uptime kuma here…
@Syntoxr glad I could help 👍