NavigationContentFooter
Suggest an edit

How to connect to the default WebSocket network

Reviewed on 27 December 2023Published on 01 September 2019

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

Security & Identity (IAM)

To perform certain actions described below, you must either be the Owner of the Organization in which the actions will be performed or an IAM user with the necessary permissions.

Requirements
  • You have an account and are logged into the Scaleway console
  • You have 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 MQTT webclient
Cloud Products & Resources
  • Scaleway Console
  • Compute
  • Storage
  • Network
  • IoT
  • AI
Dedicated Products & Resources
  • Dedibox Console
  • Dedibox Servers
  • Network
  • Web Hosting
Scaleway
  • Scaleway.com
  • Blog
  • Careers
  • Scaleway Learning
Follow us
FacebookTwitterSlackInstagramLinkedin
ContractsLegal NoticePrivacy PolicyCookie PolicyDocumentation license
© 1999-2024 – Scaleway SAS