Arduino IoT Cloud and serial port

My setup

  • Arduino MKR WiFi 1010
  • Firefox 94.0.1 (64-bit)
  • ArduinoCreateAgent 1.2.4-056c22e
  • Mac OS 11.6 (Big Sur)
  • Arduino IDE 2.0.0-beta.11

The problem
The Arduino IoT Cloud does not recognise the board on the serial port.
It did recognise it when I set up the project (same setup, just a day ago), but now it does not and it just shows serial port unavailable.

Hypothesis
The Arduino IDE is also running, and it is blocking the serial port.

I quit the Arduino IDE, came back to the Arduino IoT Cloud and it was the same, the board was not recognised. Although, going to the Full Editor, it was recognised there. From the full editor, I went back to the IoT Cloud (using the Go to IoT Cloud button), but it was still not working.

Steps I followed then:

  1. Quit the Arduino Create Agent
  2. Quit the browser
  3. Unplug the board
  4. Re-launch the browser
  5. Re-launch the Arduino Create Agent
  6. Replug the board
  7. Go to create.arduino.cc/iot/ and check if it’s working

At that point, the board was recognised and I can see messages on the Serial Monitor tab.

The problem is solved, but perhaps there are things that can be done to alleviate it when it happens.

Has this issue happened to other people in this forum? I found an issue from 2017 ([Solved] Serial Port Unavailable…), but the context was different.