cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
983
Views
1
Helpful
2
Replies

Unable to create webhook with target URL : https://0.0.0.0:8000

prsuthar
Cisco Employee
Cisco Employee

Hi team,
In our application, we were using webhook based on the target URL: https://0.0.0.0:8000 and was working fine. But recently, we observing some issues. Our application is unable to create webhook based on same target URL. 

Here is the error :
webexteamssdk.exceptions.ApiError: [400] Bad Request - POST failed: HTTP/1.1 400 Bad Request (url = https://webhook-engine-a.wbx2.com/webhook-engine/api/v1/webhooks, request/response TrackingId = ROUTER_652FBA14-80C6-01BB-0119-AC12DB860119, error = 'Invalid syntax or address(site-local, link-local, multicast, loopback, or broadcast address not supported) for webhook targetUrl: https://0.0.0.0:8000') [Tracking ID: ROUTER_652FBA14-80C6-01BB-0119-AC12DB860119]

Because of that, our containers based application is not running and raising exception mentioned above.

Here are containers:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
40b73f3658a5 cxtm-proxy "nginx -g 'daemon of…" 6 days ago Up 2 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp cxtm-proxy-1
c96bf16688f5 cxtm-backend "flask run" 6 days ago Restarting (1) 33 seconds ago cxtm-backend-1

We are facing this problem since last week. Checked manually from webex webhook post api and got same error. Wanted to check, if there are some changes from webex side and any workaround will be appriciated.

Thank you!

 



 

 

1 Accepted Solution

Raffaele Lagana
Cisco Employee
Cisco Employee

There were some enhancements to improve overall security with webhooks recently, which mean that  site-local, link-local, multicast, loopback, or broadcast address are not supported any more. I think https://0.0.0.0/ is a loopback (localhost) address so it is the reason why this is failing. You can create webhooks with other IP addresses, just not ones that fall under the above highlighted descriptions.

View solution in original post

2 Replies 2

prsuthar
Cisco Employee
Cisco Employee

Thank you for the confirmation. 

Yes, now I have to use a specific address for webhook creation.
Thank you!

Raffaele Lagana
Cisco Employee
Cisco Employee

There were some enhancements to improve overall security with webhooks recently, which mean that  site-local, link-local, multicast, loopback, or broadcast address are not supported any more. I think https://0.0.0.0/ is a loopback (localhost) address so it is the reason why this is failing. You can create webhooks with other IP addresses, just not ones that fall under the above highlighted descriptions.