Skip to content

Arduino IoT Cloud compiler still targets deprecated broker iot.arduino.cc:8884 #586

@Misio52

Description

@Misio52

Describe the problem

When compiling and uploading sketches via Arduino IoT Cloud (web editor + Cloud Agent), the generated binary still attempts to connect to the deprecated broker iot.arduino.cc:8884.

🐛 This endpoint is retired, so devices fail to connect.

Please update the Arduino IoT Cloud compiler environment to use the latest ArduinoIoTCloud library version and correct broker endpoints.

To reproduce

  1. Create a new Thing in Arduino IoT Cloud.
  2. Generate and compile the sketch in the web editor.
  3. Upload via Cloud Agent.
  4. Open Serial Monitor.

🐛 Serial Monitor output shows:

ArduinoIoTCloudTCP::handle_ConnectMqttBroker could not connect to iot.arduino.cc:8884 Error: 5

Expected behavior

Sketches compiled in Arduino IoT Cloud should target the current broker:
mqtts.cloud.arduino.cc:8883 (secure MQTT).

ArduinoIoTCloud library version

<Not provided by reporter>

Additional context

Environment

  • Board: ESP32
  • Workflow: Arduino IoT Cloud (web editor + Cloud Agent, Chrome browser)
  • Agent version: 1.7.0-xxxxx
  • Compilation: Cloud compiler (not local IDE)

All devices compiled via the cloud workflow fail to connect, regardless of correct credentials or network setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions