this post was submitted on 31 Aug 2023
3 points (100.0% liked)

ntfy

45 readers
1 users here now

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 💸💰.

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 10 months ago (1 children)

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?

[–] [email protected] 2 points 10 months ago (2 children)

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.

[–] [email protected] 2 points 10 months ago

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!

[–] [email protected] 1 points 10 months ago

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/