Hi, I’m kind of new to Phabricator, and I’m working on creating a webhook based integration between Phabricator and a Django based application that I’m helping develop.
To do this, I’ve set up Phabricator on localhost on a virtual machine (with Apache2); then edited my hosts file and created a virtualhost in my Apache configuration which maps “phabricator.localhost.com” to localhost. Then I tested Phabricator out a bit and everything works just fine.
I also set up my Django application locally by bounding it to the VM’s IP address at: http://10.0.2.15:9991, and tested it out. Everything works fine there too.
After this, I created two firehose-style webhooks in Herald. One contacts webhook.site and the other contacts my locally hosted Django application directly. Originally Phabricator complained about this but after a bit of digging, I came across this link and then ran
sudo ./bin/config set security.outbound-blacklist  which allowed me to remove any blacklist rules.
So far the configuration seems right, and now I’m looking at the Django app’s access log and the realtime updates from webhook.site to see if Phabricator will contact them.
When I add a commit to a Differential repository, I’ve noticed that webhook.site was successfully contacted with a “CMIT” event payload whereas my Django application was not contacted at all (as can be seen from the logs).
So, have I configured anything incorrectly here? What could you suggest I do to enable Phabricator to contact my Django application in this case?
I’d be happy to update this thread with any more information requested. Any and all help is appreciated .