Hi, I was on 1.1.0 and I had a couple of webhooks setup correctly, one of them pointing to http://IP:PORT/endpoint/plane
Since updating to 1.4.3 this webhook has stopped working entirely. I have done some research and I have found this bug report. For whatever reason I can’t comment on it:
Currently, the creation of a webhook fails if I try https://prefix.mydomain.com or http://192.168.x.x:port.
The creation of a webhook works if I try https://mydomain.com.
The linked issue seemed to have a fix of sorts, that also got closed and didn’t get merged.
Hi Alex, thanks for sharing the details. We’ve restricted creating webhooks with the same domain as the hosted domain for security reasons. If you still want to use it, you can whitelist that domain host by adding it to the WEBHOOK_ALLOWED_HOSTS environment variable.
Well, either way, following your advice I got this sorted, but I think two things should still be addressed
User feedback. “Something went wrong” is a really bad error message for this situation. It should say “Webhook domain not allowed” or even give clear feedback on what needs to be done to address the issue
Imho if my plane is on plane.mydomain.com, it should automatically whitelist xxx.mydomain.com and xxx.yyy.mydomain.com