MQTT connection over proxy

Hi everone

An HTTP request component has the ability to set a proxy.

However, an MQTT component does not have proxy settings. What is the solution when the MQTT needs to connect to a public MQTT broker through a proxy?

Thank you for your help.

You can set environment variables http_proxy / https_proxy, no_proxy etc.

See details here: Perform Proxy logic more like cURL by Steve-Mcl · Pull Request #4616 · node-red/node-red · GitHub

NOTE: this was merged in node-red V4. Prior to v4, I don't think the proxy handling handled MQTT connections correctly.