Closed datenzar closed 5 months ago
Ok, I could figure out the problem now. It seems to happen as soon as I introduce tags into the configuration and want to use them, e.g.
# Define our version
version: 1
# Define our URLs
urls:
- discord://<discord_id>/<discord_token>:
- tag: discord
- pover://<pushover_token>@<pushover_id>:
- tag: pushover
The issue seems to be not the configuration itself, but rather when I call it without a proper tag being matched.
So instead of a django.request: Failed Dependency: /notify/test
on the server, I would expect a warning like Couldn't find matching tags
.
Failed Dependency is the request
response. Basically 1 or more notifications could not be delivered. I updated the README.md
to explain the codes a bit better. The logged error comes from the underlining library; not sure if this can be easily changed.
If you're actually using the API, the response is actually a nice JSON message explaining this error in more details; so end users developing against the error can easily accommodate.
As a Sysadmin (in your case) reviewing the logs; i hope the documentation updates will be satisfactory?
Closing issue as logging is improved in the attach PR which will address your concern.
Sorry for the late reply but thanks for the explanation!
:mega: Notification Service(s) Impacted Pushover (maybe others)
:lady_beetle: Describe the bug When I create a simple configuration (using Pushover) and then try to send a notification from another machine via curl, I don't receive the notification.
If I call the the scheme directly (without configuration), it works as supposed.
:bulb: Screenshots and Logs
On the client side:
On the service side:
:computer: Your System Details:
caronc/apprise:latest
Docker image:crystal_ball: Additional context
Not sure if it's related to caronc/apprise#995 but as I don't get the ' new thread' error I opened a separate issue.
Also here is the content of my
docker-compose.yml
: