mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 15:42:24 +00:00
Merge the review fixes for channel tests
This commit is contained in:
commit
669058d37c
18 files changed
+583
-87
No files matched your search
@@ -12375,7 +12375,8 @@ paths:
|
||||
"502":
|
||||
description: "The mail server, or the way to it, failed. `meta.errorCode` names the cause: `credentials_rejected` (the
|
||||
server refused the SMTP login), `upstream_rejected` (a permanent 5xx rejection, e.g. an unknown mailbox or
|
||||
relay denied), `upstream_error` (a temporary 4xx rejection), `timeout`, or `connection_failed`.
|
||||
relay denied, or an envelope or message refused without a reply code), `upstream_error` (a temporary 4xx
|
||||
rejection), `timeout`, or `connection_failed` (including a TLS handshake or protocol failure).
|
||||
`meta.smtpCode` carries the SMTP reply code when the mail server sent one."
|
||||
content:
|
||||
application/json:
|
||||
@@ -12421,8 +12422,9 @@ paths:
|
||||
(404/410), `rate_limited` (429), `upstream_error` (5xx), `redirected` (3xx, never followed), `timeout`, or
|
||||
`connection_failed`. `meta.upstreamStatus` carries the HTTP status whenever one arrived, and
|
||||
`meta.upstreamBody` up to 200 characters of what the other end answered, with control characters removed; it
|
||||
is omitted when the body was empty or could carry a credential (a token-shaped string, or the saved header
|
||||
value, auth token, topic or URL token)."
|
||||
is omitted when the body was empty or could carry a credential: a token-shaped string, or the saved auth
|
||||
token, the topic, or a credential in the server URL (userinfo, a query value, a path segment of 16 or more
|
||||
characters), literal, JSON-escaped or percent-encoded."
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
@@ -12491,8 +12493,9 @@ paths:
|
||||
(404/410), `rate_limited` (429), `upstream_error` (5xx), `redirected` (3xx, never followed), `timeout`, or
|
||||
`connection_failed`. `meta.upstreamStatus` carries the HTTP status whenever one arrived, and
|
||||
`meta.upstreamBody` up to 200 characters of what the other end answered, with control characters removed; it
|
||||
is omitted when the body was empty or could carry a credential (a token-shaped string, or the saved header
|
||||
value, auth token, topic or URL token)."
|
||||
is omitted when the body was empty or could carry a credential: a token-shaped string, or the saved header
|
||||
value (and its token part), the URL's userinfo, a query value, or a path segment of 16 or more characters
|
||||
(the token in a Discord or Slack webhook URL), literal, JSON-escaped or percent-encoded."
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
|
||||
@@ -274,6 +274,13 @@ short, Gotify's own error text. A `401` means the token is wrong. A `400`
|
||||
means Gotify could not read the body; check that the format is set to
|
||||
Gotify. A Gotify on your own network also needs the operator grant below.
|
||||
|
||||
The detail reaches the card inside the server's `502` response. A reverse
|
||||
proxy that replaces error pages for 5xx responses, such as Traefik's
|
||||
`errors` middleware or nginx with `proxy_intercept_errors on`, swaps that
|
||||
response for its own page, and the card can then only say "Test failed".
|
||||
Exclude the `/api/` paths from the error-page rule to keep the detail. This
|
||||
applies to the ntfy and email tests too.
|
||||
|
||||
## Notification targets on a private network
|
||||
|
||||
Every webhook and ntfy target is resolved at send time and refused when
|
||||
|
||||
Reference in new issue
Block a user