[GH-ISSUE #964] Gotify integration doesn't respect sub path #674

Closed
opened 2026-02-25 23:43:14 +03:00 by kerem · 1 comment
Owner

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

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
kerem closed this issue 2026-02-25 23:43:14 +03:00
Author
Owner

@cuu508 commented on GitHub (Feb 20, 2024):

Thanks for the report @rafaelorafaelo, fixed!

<!-- gh-comment-id:1953679740 --> @cuu508 commented on GitHub (Feb 20, 2024): Thanks for the report @rafaelorafaelo, fixed!
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/healthchecks#674
No description provided.