NavigationContentFooter
Suggest an edit

How to connect to the default WebSocket network

Reviewed on 04 July 2024Published on 01 September 2019

Each Hub automatically creates a default WebSocket network, and, like the default network, users cannot delete it.

Before you start

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Owner status or IAM permissions allowing you to perform actions in the intended Organization
  • Created an IoT Hub
  1. 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.

  2. Configure the physical device (or client) to connect through the network, using the following parameters:

    • Host: The network endpoint.
    • Port: Use 80 for plaintext or 443 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.

  3. Connect and exchange messages.

See also
How to connect to the default MQTT networkHow to use the MQTT Webclient
Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2024 – Scaleway