Description
Describe the bug
The Arduino IDE 2 beta GUI hangs on a rotating spinner and splashscreen when another service is listening on port 50051 (arduino cli port).
To Reproduce
Steps to reproduce the behavior:
- Start a service listeing on port 50051 (IPv4 and IPv6)
- Double click the Arduino IDE
Expected behavior
The Arduino IDE to start past the spinner and give a warning that port 50051 is unavaible. Possibly indicating how to change the port settings.
Desktop (please complete the following information):
- OS: macOS
- Version: 2.0.0-beta.3
Additional context
To mitigate the problem I started the Arduino IDE via the command line. That gave me the error of the unavailable port. I resolved the service that was listening on port 50051—Canonical's Multipass in my case. However, I was wondering if the port could be randomly picked and written/updated to the .arduino/arduino-cli.yml
file?