mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1391] http 500 error (ntfy error 50001) #981
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#981
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 @TheUser-dev on GitHub (Jul 16, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1391
🐞 Describe the bug
When sending a notification (especially when it happens with multiple requests) this error occurs
💻 Components impacted
ntfy server 2.13.0 in docker, debian 12 arm64
💡 Screenshots and/or logs
🔮 Additional context
Looks like this has already been fixed by #498, regression?
@binwiederhier commented on GitHub (Jul 16, 2025):
ntfy.sh gets almost no 500s, and the volume is much larger. This is a tuning for scale issue. Most notably, check the message cache options.
@TheUser-dev commented on GitHub (Jul 17, 2025):
Hello, I applied these settings that were specified in the documentation - now the error does not appear. Thank you!
@TheUser-dev commented on GitHub (Jul 17, 2025):
Ah, no, the error still appears even following the documentation
I set the following parameters:
cache-batch-size: 25
cache-batch-timeout: "5s"
cache-startup-queries: |
pragma journal_mode = WAL;
pragma synchronous = normal;
pragma temp_store = memory;
pragma busy_timeout = 30000;
vacuum;
And this is clearly not related to the load, this is the ntfy homeserver that only I use
@TheUser-dev commented on GitHub (Jul 18, 2025):
By editing the docker-compose.yml configuration like this, the problem was completely gone! Magic:
version: '3.3'
@TheUser-dev commented on GitHub (Jul 18, 2025):
Although no. The problem is still relevant
The problem appears ONLY in Docker
When using the program natively, the problem disappears
It's very strange and to be honest it really confuses me.