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.

2 points

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?

permalink
report
reply
2 points

Sorry I should have been more specific, so I am using the Android App and here are the following steps I am taking:

  1. Open App
  2. Add Subscribed Topic
  3. Enter Topic Name (test), select “Use another server”, enter url of my ntfy server, click subscribe
  4. 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.

permalink
report
parent
reply
2 points

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!

permalink
report
parent
reply
1 point

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.

https://docs.ntfy.sh/troubleshooting/

permalink
report
parent
reply

ntfy

!ntfy@discuss.ntfy.sh

Create post

ntfy (pronounced notify) is a simple HTTP-based pub-sub notification service. You can use it to send push notifications to your phone via HTTP PUT/POST.

ntfy websiteDocumentationGitHubGoogle PlayF-DroidDiscordApp StoreMatrix

If you’d like to become a sponsor, I would be humbled to accept your donation via GitHub Sponsors or Liberapay 💸💰.

Community stats

  • 3

    Monthly active users

  • 21

    Posts

  • 57

    Comments

Community moderators