[GH-ISSUE #371] 401 for attachements behind web proxy with basic auth #287

Closed
opened 2026-05-07 00:22:39 +02:00 by BreizhHardware · 3 comments

Originally created by @YaBoiMax on GitHub (Jul 26, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/371

I have setup ntfy.sh behind Nginx Proxy Manager with basic auth for security since It is public facing.
It works fine for notifications but doesn't download local attachments, I think it's because it only uses the basic auth/user for the topics and not the entire base url.

Originally created by @YaBoiMax on GitHub (Jul 26, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/371 I have setup ntfy.sh behind Nginx Proxy Manager with basic auth for security since It is public facing. It works fine for notifications but doesn't download local attachments, I think it's because it only uses the basic auth/user for the topics and not the entire base url.
BreizhHardware 2026-05-07 00:22:39 +02:00
  • closed this issue
  • added the
    server
    label
Author
Owner

@binwiederhier commented on GitHub (Jul 26, 2022):

If you turn on debug logging in ntfy you can see the detailed error. log-level: DEBUG in the server.yml or --debug on the command line.

<!-- gh-comment-id:1196103737 --> @binwiederhier commented on GitHub (Jul 26, 2022): If you turn on debug logging in ntfy you can see the detailed error. `log-level: DEBUG` in the server.yml or `--debug` on the command line.
Author
Owner

@YaBoiMax commented on GitHub (Jul 28, 2022):

The logs don't say anything since the app can't download the attachments.
In the app I get a 401 error if I am using basic auth behind a proxy for the attachments, the notifcations arrive just fine

<!-- gh-comment-id:1198682261 --> @YaBoiMax commented on GitHub (Jul 28, 2022): The logs don't say anything since the app can't download the attachments. In the app I get a 401 error if I am using basic auth behind a proxy for the attachments, the notifcations arrive just fine
Author
Owner

@binwiederhier commented on GitHub (Oct 1, 2022):

I'm going to close this for inactivity and lack of info. Happy to re-open if you can provide more details.

<!-- gh-comment-id:1264455755 --> @binwiederhier commented on GitHub (Oct 1, 2022): I'm going to close this for inactivity and lack of info. Happy to re-open if you can provide more details.
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#287
No description provided.