Ntfy not working

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 12.0.17 (stable)
What app is this about: Ntfy

Describe your issue

Hi,

I installed Ntfy and the Android app Ntfy. I read the forum topics regarding Ntfy problems, set the permissions for Ntfy to Visitors and Admin.

I can send/receive notifications from/in the YH web interface, I can send/receive test notifications from/in the Android app, but I don’t receive any notifications when doing a simple:

curl -d "Hi" https://ntfy.xxxx.xxx/mytopic
{"code":40301,"http":403,"error":"forbidden","link":"https://ntfy.sh/docs/publish/#authentication"}

What could be wrong?

Thank you for any advice.

Share relevant logs or error messages

na

Hello @arnauld
Did you try with authentication ?

curl -u user:password -d "Hi" https://ntfy.xxxx.xxx/mytopic
1 Like

Ha, yes, thank you! It works with authentication.

However, how can I use ntfy with Android apps such as Element X, Molly, or whatever apps that support it as I have to be authenticated?