Firehose webhook not working with self-hosted RequestBin instance?


#1

Hi everyone!

I am the lead integrations developer at Kandra Labs (creators of Zulip, an open source group chat). I am currently trying to write a webhook integration for Phabricator. Here’s what I have done so far:

  • I have a self-hosted RequestBin instance I use to capture incoming HTTP requests. I created a RequestBin endpoint.
  • I have the Test Instance setup on Phabricator. I set up a Firehose webhook and pointed it at my RequestBin endpoint. However, when I created a new project, I didn’t see any payloads at my RequestBin instance. When I go to the webhook menu, all I see is the following:

Can you even use webhooks on a test instance? I am very new to Phabricator and would really appreciate it if someone could please give me some pointers on how to debug this further. Thanks!


#2

Phacility test instances are in “Silent” mode and do not send email, publish webhooks, run external builds, perform mirroring, interact with Doorkeeper subsystems, or send SMS messages.

The “silent” result code in the “Code” column is hinting at this, although it could be more clear. The launch flow warns you that email won’t work, but is somewhat misleading (“Test instances launch in silent mode, which means they will not send email. In other respects, they work like normal instances.”) and should probably be more broad in describing the other effects.

The actual config option in Config is more exhaustive:

To test webhooks, you can either launch a paid instance and just not pay for it (you’ll have about 120 days before it shuts down), or self-host an instance locally.


#3

Awesome! Thank you so much for your help! :slight_smile:


#4

See https://secure.phabricator.com/D19929.

(Internally, https://secure.phabricator.com/D19930 also improves the “Test Instance” hint text.)


#5