How to connect to the default WebSocket network
Reviewed on 19 June 2023 • Published on 01 September 2019
A default WebSocket network is automatically created with each Hub. Similarly to the default network, it cannot be deleted.
Security & Identity (IAM):
You may need certain IAM permissions to carry out some actions described on this page. This means:
- you are the Owner of the Scaleway Organization in which the actions will be carried out, or
- you are an IAM user of the Organization, with a policy granting you the necessary permission sets
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 to
Allow 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