mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1181] Android App timeout on self hosted instance #834
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#834
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BennoLossin on GitHub (Sep 14, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1181
🐞 Describe the bug
Cannot connect to any topic from android app (both fdroid and playstore version) to self hosted ntfy instance. The web interface works without any problems on both PC and my phone.
💻 Components impacted
Android app
💡 Screenshots and/or logs
android log
There is nothing logged by the server when I try to connect using the android app, even under the trace log level.
server.yml
nginx config for ntfy
🔮 Additional context
Seems to be the same issue as reported in #1116, but rebooting the phone and switching the communication method did not fix my issue.
@gerrix1701 commented on GitHub (Sep 15, 2024):
Same issue here after upgrading server from Ubuntu 22.04 to 24.04. Going back to 22.04 resolves the issue. Maybe related to nginx? I used same nginx config (the one suggested here: https://docs.ntfy.sh/config/#__tabbed_11_2) with both versions of nginx (1.18.0 and 1.24.0).
@BennoLossin commented on GitHub (Sep 15, 2024):
I am on nixos 24.05 with nginx version 1.26.2
@BennoLossin commented on GitHub (Sep 15, 2024):
I noticed that my ipv6 configuration was wrong and my server was reachable only through ipv4 (but it still had dns records for ipv6). I fixed that now and it works. @gerrix1701 maybe that is also your issue?
@gerrix1701 commented on GitHub (Sep 18, 2024):
I checked my configuration and it did not change when updating to Ubuntu 24.04:
It's really strange. The issue came with the update and went away after downgrade of the OS. Unfortunately, I couldn't find anything in the server logs. Maybe I'll try again later to upgrade again and see if I can find anything. Anyway, thanks @y86-dev !
@shashank-brdj commented on GitHub (Jul 31, 2025):
Hi @BennoLossin ,
I am facing a similar issue with android app after upgrading to ubuntu 24.04
I am running ntfy behind nginx reverse proxy.
Not sure what is causing this.
Can you kindly let me know if i need to make any changes in nginx config?
Not sure what the issue is. android app works under wifi. So clearly an ipv6 issue, due to mobile data.
My docker compose is below
Any help will be appreciated @binwiederhier
@shashank-brdj commented on GitHub (Aug 3, 2025):
Figured out the issue. Nothing wrong with the app or ubuntu update.
My mobile carrier (Airtel) had done some CGNAT blocking to Cloudflare endpoint IPs.
Since i use Cloudflare for most of my HomeLab routing, the site was not loading on my mobile sim. However, they were loading on Wi-Fi. I paused Cloudflare and changed the endpoint CDN IPs and the new IP was issued.
Now everything is working again like before!
Cheers!