mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #493] Integration: Webhook URL validation blocking Valid (for me) URLs #366
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#366
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 @jamesbiederbeck on GitHub (Mar 12, 2021).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/493
I'm hosting healtchecks in docker. I also hosting my notification service (gotify) in docker, meaning it can be reached with just the hostname of the container, no TLD ending. I'm trying to use the webhook integration to post notifications to it.
For various reasons, the easiest way to reach gotify, which is tightly firewalled, is by making a request to the URL http://gotify/somepath. Because the host portion of the url does not have a dot in it, it fails validation.
To state the problem differently, is there a way to not have to use a FQDN for the URL field in the webhook integration settings page?
Can this validation be relaxed, or otherwise bypassed?
@cuu508 commented on GitHub (Mar 15, 2021):
One way to bypass the validation is to edit the URL in Django admin.
/admin/api/channel/, and set the right URL there, it will let you save any URL you enter@jamesbiederbeck commented on GitHub (Mar 15, 2021):
Awesome thanks, @cuu508!