MeshCentral Does Not Send Notifications to NTFY with Basic Authorization #5571
-
MeshCentral and NTFY are deployed on a VPS as separate Docker Swarm stack containers. Individually, these services operate without errors and have been time-tested. Here is the configuration for NTFY within MeshCentral (found on a YouTube tutorial by the author and in the documentation):
This block is inserted after the domains section. The Basic token was obtained using the command echo -n 'username:passw@rd' | base64
This method of sending works! I'm seeking assistance. It could be an error in my configuration, or it might be a bug. I would like to resolve this issue, as I've been struggling with it all day :) Also, I could not find a clear explanation of what the userurl option means in the ntfy section. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
your config.json is incorrect, the should only be 1 ntfy option so it should be
you only set edit: also the youtube video was made BEFORE i added the EDIT2: also the host should be JUST THE DOMAIN NAME and NOT INCLUDE https:// EDIT3: descriptions are inside the schema file or the config.md file - https://ylianst.github.io/MeshCentral/meshcentral/config/ |
Beta Was this translation helpful? Give feedback.
-
Hello, as per above example, I had to change the |
Beta Was this translation helpful? Give feedback.
your config.json is incorrect, the should only be 1 ntfy option
so it should be
you only set
"ntfy": true
if you want to use the normal public ntfy server not your own!edit: also the youtube video was made BEFORE i added the
authorization
section the other month!also let me know which docs u followed and ill check if i may have made a BOOBOO with explaining it
EDIT2: also the host should be JUST THE DOMAIN NAME and NOT INCLUDE https://
const url = 'https://' + (((typeof parent.config.messaging.ntfy == 'object') && (typeof parent.config.messaging.ntfy.host…