Hi All,
I am a little bit new to ntfy (just having a play with it at the moment). I have managed to get my ntfy server up and running on a unraid docker server (using the ntfy app from the unraid appstore), but it when I try and connect the app to the server it is asking for username and password. I havent set up any authentication at the moment, as I am unable to run the ntfy cli from within the docker environment yet.
Any guidance would be great if anyone has a similar setup.
Can you elaborate what you mean by “it is asking”? Are you using the Android app or iOS app? Which screen? Can you provide a step by step of what you’re doing, or a screenshot?
Sorry I should have been more specific, so I am using the Android App and here are the following steps I am taking:
- Open App
- Add Subscribed Topic
- Enter Topic Name (test), select “Use another server”, enter url of my ntfy server, click subscribe
- Login Required screen pops up - “This topic requires you to login. Please type in a username and password”
I have also tried from the servers webapp and if I try to subscribe to a topic it instantly asks for login details.
OK, I may have found the answer :D
So in the unRAID docker config it has the setting NTFY_AUTH_DEFAULT_ACCESS set to “deny_all” as default, I changed this to “read-write” and it now allows me to subscribe to the topic :D.
So now I am off to try and setup some users!
Go to “http://ntfy.example.com/mytopic/json?poll=1”
With your selfhosted URL and your topic filled in. See what you get back. You can also enable debugging to see if there any clues in the logs, both Android or the server.