[GH-ISSUE #97] Instant Delivery not working #76

Closed
opened 2026-05-07 00:19:34 +02:00 by BreizhHardware · 6 comments

Originally created by @12nick12 on GitHub (Jan 17, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/97

Hi, I have a Pixel 4a 5G and the instant delivery doesn't work. The persistent notification is there showing it's running, but still requires me to pull down to reload to get the new notification.

Originally created by @12nick12 on GitHub (Jan 17, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/97 Hi, I have a Pixel 4a 5G and the instant delivery doesn't work. The persistent notification is there showing it's running, but still requires me to pull down to reload to get the new notification.
BreizhHardware 2026-05-07 00:19:34 +02:00
Author
Owner

@binwiederhier commented on GitHub (Jan 17, 2022):

@12nick12 If you're willing to join the Discord or Matrix chat, I can troubleshoot with you.

https://discord.com/invite/cT7ECsZj9w
https://matrix.to/#/#ntfy:matrix.org

I don't have a good way to get logs yet, I'm working on making that easy.

<!-- gh-comment-id:1014088919 --> @binwiederhier commented on GitHub (Jan 17, 2022): @12nick12 If you're willing to join the Discord or Matrix chat, I can troubleshoot with you. https://discord.com/invite/cT7ECsZj9w https://matrix.to/#/#ntfy:matrix.org I don't have a good way to get logs yet, I'm working on making that easy.
Author
Owner

@12nick12 commented on GitHub (Jan 17, 2022):

All good, I'm dumb. I used a NGiNX config from another thing that didn't have websockets. Sorry about that.

<!-- gh-comment-id:1014089348 --> @12nick12 commented on GitHub (Jan 17, 2022): All good, I'm dumb. I used a NGiNX config from another thing that didn't have websockets. Sorry about that.
Author
Owner

@binwiederhier commented on GitHub (Jan 17, 2022):

@12nick12 I'm glad you fixed it. It doesn't use websockets (yet) though. :-D Must have been something else then.

<!-- gh-comment-id:1014089976 --> @binwiederhier commented on GitHub (Jan 17, 2022): @12nick12 I'm glad you fixed it. It doesn't use websockets (yet) though. :-D Must have been something else then.
Author
Owner

@ericsong commented on GitHub (Feb 11, 2022):

I was also having issues with instant delivery and it turned out to be an issue with my NGINX config. I had to turn off proxy buffering.

<!-- gh-comment-id:1035933437 --> @ericsong commented on GitHub (Feb 11, 2022): I was also having issues with instant delivery and it turned out to be an issue with my NGINX config. I had to turn off [proxy buffering](http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering).
Author
Owner

@binwiederhier commented on GitHub (Feb 11, 2022):

@ericsong The example in https://ntfy.sh/docs/config/#nginxapache2caddy includes proxy_buffering off. You should probably make sure that you've also got the other settings in there. Especially make sure that stuff works with WebSockets too, otherwise the next or the following release of the Android app may not work anymore for you.

    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";

You can test your settings in the app by enabling WebSockets: Settings -> Experimental -> Connection protocol -> WebSocket

<!-- gh-comment-id:1036250145 --> @binwiederhier commented on GitHub (Feb 11, 2022): @ericsong The example in https://ntfy.sh/docs/config/#nginxapache2caddy includes `proxy_buffering off`. You should probably make sure that you've also got the other settings in there. Especially make sure that stuff works with WebSockets too, otherwise the next or the following release of the Android app may not work anymore for you. ``` proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; ``` You can test your settings in the app by enabling WebSockets: Settings -> Experimental -> Connection protocol -> WebSocket
Author
Owner

@ericsong commented on GitHub (Feb 11, 2022):

Ah, missed that during my setup. Thanks!

Great work by the way.

<!-- gh-comment-id:1036331361 --> @ericsong commented on GitHub (Feb 11, 2022): Ah, missed that during my setup. Thanks! Great work by the way.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#76
No description provided.