Code development platform for open source projects from the European Union institutions 🔵 EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content

🐛 Webhooks are failing, changes on mappings are not applied

RPS Service Release: R21

Actual Behavior

When we edit a mapping, Netbox should send a webhook request to the RPS Config Controller running inside each containers.

However:

  • for the WAF containers, we receive a request with the path //webhook/netbox and return a 404 HTTP response.
  • for the Proxy containers, we receive a request with the path /webhook/netbox/ and return a 307 HTTP response with a Location containing http://127.0.0.1:8000 (which NEtbox obviously does not know about)

Desired Behavior

The Apache configuration on the WAF container should not send //webhook/netbox to the config controller, but /webhook/netbox.

The NGINX configuration on the Proxy container should rewrite the location header to not include http://127.0.0.1:8000.

Relevant Logs

N/A
Edited by David Jose DELASSUS
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information