mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1677] 1MB attachment limit on client and broken pipe when exceeding #1168
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#1168
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 @nanawel on GitHub (Mar 27, 2026).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1677
🐞 Describe the bug
First, the client seems to limit the size of an attachment to 1MB, at least when using stdin.
I've set
attachment-file-size-limit: 5Mon the server and in my local client.yml but it doesn't change the behavior.Additionally, and maybe with a higher severity, when piping the output of a process to
ntfy, it closes the pipe once the limit is reached, killing the process at the start of the chain.There should be a way to say to ntfy "OK, attach only data to the size limit and discard the rest, but don't exit when data is still flowing" so that the first process would keep going instead of being killed by a
Broken pipe.💻 Components impacted
Self-hosted ntfy, version 2.19.2
Local ntfy client, same version.