thin-edge / thin-edge.io

The open edge framework for lightweight IoT devices
https://thin-edge.io
Apache License 2.0
223 stars 55 forks source link

MQTT connection using websocket #3037

Open oikibun opened 4 months ago

oikibun commented 4 months ago

Is your feature request related to a problem? Please describe. A traditional industrial company doesn't allow outbound connections using 8883 or other ports. Only allow 443 ports.

Describe the solution you'd like It appreciates implementing MQTT connection using WebSocket to cloud platforms.

reubenmiller commented 4 months ago

@oikibun Thanks for the suggestion.

Is there a particular cloud that you are interested in using? As we'd have to check what is supported by each of the clouds, e.g. AWS, Azure, Cumulocity IoT?

If you're talking about Cumulocity IoT, then we have to check if certificate based authentication is supported when using MQTT over websockets.

oikibun commented 3 weeks ago

Yes, talking about Cumulocity IoT.

reubenmiller commented 3 weeks ago

I can confirm that certificate based authentication is not supported when using MQTT over websockets, so it could only ever support the class Cumulocity basic authentication (e.g username/password).