I noticed that in the settings Webhooks is stated as "Legacy"!? Maybe there are some changes I am not aware of?
The new version added support for webhooks in Node.js scripting. Apparently this works a little differently compared to webhooks in legacy javascript.
The port and settings in the "Webhooks (legacy)" section of the preferences is relevant for:
- the webhooks element in Switch
- all custom scripts in legacy javascript who use webhooks
- all apps and configurators in legacy javascript who use webhooks (Flow Links, ...)
(Basically everything which uses webhooks and which was already available before Switch 2021 fall)
Webhook functionality used by tools written in node.js javascript uses the port set in "Port for the Switch Web Service" property in the "Web services" section of the general Switch preferences.
There is some information on this in notes in the documentation:
https://www.enfocus.com/manuals/UserGui ... tener.html
https://www.enfocus.com/manuals/UserGui ... ences.html
I had issues with Switch 2021 fall in my Flow Links app, but it was not related to webhooks. Based on your error I would advise to: Make sure you are using the correct port/http or https combination which is set in the Webhooks Legacy section of the preferences