mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #964] Gotify integration doesn't respect sub path #674
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#674
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 @rafaelorafaelo on GitHub (Feb 20, 2024).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/964
Hi,
I want to setup a Gotify server under a sub path according to https://gotify.net/docs/apache. Healthchecks doesn't respect this sub path in its integration, it sends my test requests to the root of the server.
I enter https://myserver/gotify as URL and my API token in the integration settings. Healthchecks gives me "Could not send a test notification. Received status code 404" on an integration test. My Apache logs show me
172.20.x.x - - [20/Feb/2024:08:21:23 +0100] "POST /message?token=AGo26QWiEz8vmru HTTP/1.1" 404 196 "-" "healthchecks.io". The sub path is missing. I find my complete URL in table api_channel, so the problem occurs later.Regards,
Ralf
@cuu508 commented on GitHub (Feb 20, 2024):
Thanks for the report @rafaelorafaelo, fixed!