mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #334] ntfy behind Traefik proxy, loop causing rate-limit. #261
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#261
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 @oester on GitHub (Jun 20, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/334
I have ntfy behind a traefik proxy, and although I can subscribe, messages seem to go into a loop and time out with a rate limit. Here is my server.yml file: (redacted to not show actual domain):
If send a message to the "test" topic, I see this in the log:
With debug, I see this in the log, with a loop of requests until it finally fails with rate-limit:
It's like the server is sending the request back to itself, endlessly. I can show you the traefik config, but it's pretty basic. Server is in docker with port 80 mapped to 4080 on the outside.
@binwiederhier commented on GitHub (Jun 20, 2022):
upstream-base-urlneeds to behttps://ntfy.sh, not your own domain URL. I'm sorry this is so complicated and weird, but there's a description of the flow here: https://ntfy.sh/docs/config/#ios-instant-notificationsI'll make sure that you can never set
upstream-base-urlto the same value asbase-urlso this cannot happen.@binwiederhier commented on GitHub (Jun 20, 2022):
Done in
github.com/binwiederhier/ntfy@30c2a67869@binwiederhier commented on GitHub (Jun 23, 2022):
I'm assuming your original issue is fixed. I'm closing this ticket. Feel free to re-open if it doesn't work