How to connect to the default WebSocket network
Reviewed on 20 June 2022 • Published on 01 September 2019
A default WebSocket network is automatically created with each Hub. Similarly to the default network, it cannot be deleted.
Requirements:
- You have an account and are logged into the Scaleway console
- You have created an IoT Hub
Add a Hub device if you haven’t already done so.
As the WebSocket network does not implement Mutual TLS authentication, choose toAllow Insecure
connections.Configure the physical device (or client) to connect through the network, using the following parameters:
- Host: The network endpoint.
- Port: Use
80
for plaintext or443
for TLS. - MQTT Username: The Device ID from the device you created earlier.
- If your client asks for a password, just pass in an empty string.
Important:Mutual TLS authentication is not available on this network, which means that devices that connect over this network must
Allow Insecure
connections.Connect and exchange messages.
See Also