Webhooks don't fire

Hi,
I’ve setup my yaml to send web hooks to my server to notify on build stages.
The build works correctly, and I get fail/success and the resulting build uploads to firebase.
I do not receive any POST request (actually - I receive no request) from Travis CI during the build to my web server.
Here’s my .yaml file:
language: node_js
node_js:
- “8”
script:
- echo ‘Deploy!!’
- echo ‘Installing Deps!’
- yarn
- cd functions
- yarn
- cd …
- echo ‘Building!’
- npm run build:release
install:
- npm install -g firebase-tools
after_success:
- firebase deploy --token “$FIREBASE_TOKEN”
notifications:
webhooks:
urls:
- https://myDomain.com/travis.php
on_success: always # default: always
on_failure: always # default: always
on_start: always # default: never
on_cancel: always # default: always
on_error: always # default: always

Note that I’ve changed the actual API URL for security purposes.
I know that the webhook script work because I trigger it with fetch and postman.
How can I verify that travis is initiating the POST request?

Thanks!

The notification logs are not publicly visible at the moment. We can look at the logs for you if you want to share the build log URL. Otherwise, I suggest emailing support@travis-ci.com, so we can take a look further.

Hi,
Thanks. Here it is: https://api.travis-ci.org/v3/job/460736864/log.txt

According to our logs, this build in question fired the webhook notification successfully at Nov 28 12:03:33 UTC, and again at Nov 28 12:06:33 UTC.

And by “successfully,” I mean that the web server returned a 2xx status.

Somehow missed the header part in the documentation.
It is working flawlessly :slight_smile:
Thanks!