Skip to content

iOS instant notification while self-hosting doesn't seem to be working #331

Description

@Xaelias

So a coworker of mine mentioned this app to me. And I'm trying it out but I don't seem to be able to get any push notification without manually polling my topics. Which makes is non-usable for what I need (I know it's not your fault :-D ).

Anywho, I run the server locally, it's not exposed to the outside world, I will be relying on local network / vpn for my phone to be able to talk to the server.

NTFY_UPSTREAM_BASE_URL is set to https://ntfy.sh (which shouldn't matter is my understanding since that's the default value).
But whenever I try to publish a notification my phone doesn't react until I go check manually.

I've tried the following (using max priority just in case):

  • subscribe to a topic on https://ntfy.sh → this works as expected, so my phone can receive notifications :-D
  • subscribe to a topic on self-hosted, with the default server as my self-hosted → nothing
  • subscribe to a topic on self-hosted, with the default server as https://ntfy.sh (just in case) → nothing

I do see in the logs the following:

2022/06/18 17:34:53 DEBUG 10.200.0.1/test/MuYJ5DfzCc3u Publishing poll request to https://ntfy.sh/...

so it's trying...

Any idea of what's (not) happening?
Thanks :-)

PS: Technically running in k8s if that matters

Metadata

Metadata

Assignees

No one assigned

    Labels

    iosntfy iOS appquestionThis is a question

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions