Hi!
I'm using headless Linux system that has Arduino connected and when I upload sketch to it, arduino cli spams errors which I have never seen on Windows. Also would like to mention, that uploading works fine.
When going through the output line-by-line it seems that compiler tries to send request to the arduino.cc server to get response regarding serial device being used (https://builder.arduino.cc/builder/v1/boards/0x12D1/0x1506) but these VID and PID's correspond to the 4G modem I have connected to the system, not the HL-340 USB-Serial adapter (1a86:7523) used by the Arduino Mega. Going further, it seems that every serial device connected to the system gets reported to the https://builder.arduino.cc/builder/v1/boards/ endpoint.
Has anyone seen this before? How can I turn off this behaviour? It just spams the terminal every time I want to upload sketch.
Output for the upload:
nvidia@spc:~/Arduino/Zero$ arduino --board "arduino:avr:mega:cpu=atmega2560" --upload Zero.ino --port /dev/arduino
Picked up JAVA_TOOL_OPTIONS:
Loading configuration...
Initializing packages...
Preparing boards...
2019-09-22T20:43:31.760Z INFO c.a.u.n.HttpConnectionManager:148 [cc.arduino.packages.discoverers.serial.Serial
scovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x12D1/0x1506, method=GET, request id=30727EF
1214FF5
Verifying...
2019-09-22T20:43:33.055Z INFO c.a.u.n.HttpConnectionManager:152 [cc.arduino.packages.discoverers.serial.Serial
scovery] Request complete URL="https://builder.arduino.cc/builder/v1/boards/0x12D1/0x1506", method=GET, respon
code=404, request id=30727EF0B1214FF5, headers={null=[HTTP/1.1 404 Not Found], Cache-Control=[no-cache, no-st
e, must-revalidate], Server=[nginx], Connection=[keep-alive], Vary=[Origin], Pragma=[no-cache], Expires=[0], C
tent-Length=[0], Date=[Sun, 22 Sep 2019 20:43:32 GMT]}
2019-09-22T20:43:33.056Z WARN p.a.h.BoardCloudResolver:64 [cc.arduino.packages.discoverers.serial.SerialDiscov
y] Fail to get the Vid Pid information from the builder response code=404
2019-09-22T20:43:33.099Z INFO c.a.u.n.HttpConnectionManager:148 [cc.arduino.packages.discoverers.serial.Serial
scovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x12D1/0x1506, method=GET, request id=3A16194
7DD41C4
2019-09-22T20:43:33.262Z INFO c.a.u.n.HttpConnectionManager:152 [cc.arduino.packages.discoverers.serial.Serial
scovery] Request complete URL="https://builder.arduino.cc/builder/v1/boards/0x12D1/0x1506", method=GET, respon
code=404, request id=3A16194247DD41C4, headers={null=[HTTP/1.1 404 Not Found], Cache-Control=[no-cache, no-st
e, must-revalidate], Server=[nginx], Connection=[keep-alive], Vary=[Origin], Pragma=[no-cache], Expires=[0], C
tent-Length=[0], Date=[Sun, 22 Sep 2019 20:43:33 GMT]}
2019-09-22T20:43:33.264Z WARN p.a.h.BoardCloudResolver:64 [cc.arduino.packages.discoverers.serial.SerialDiscov
y] Fail to get the Vid Pid information from the builder response code=404
2019-09-22T20:43:33.271Z INFO c.a.u.n.HttpConnectionManager:148 [cc.arduino.packages.discoverers.serial.Serial
scovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x1A86/0x7523, method=GET, request id=CCB5FF6
C1447E5
2019-09-22T20:43:33.443Z INFO c.a.u.n.HttpConnectionManager:152 [cc.arduino.packages.discoverers.serial.Serial
scovery] Request complete URL="https://builder.arduino.cc/builder/v1/boards/0x1A86/0x7523", method=GET, respon
code=404, request id=CCB5FF625C1447E5, headers={null=[HTTP/1.1 404 Not Found], Cache-Control=[no-cache, no-st
e, must-revalidate], Server=[nginx], Connection=[keep-alive], Vary=[Origin], Pragma=[no-cache], Expires=[0], C
tent-Length=[0], Date=[Sun, 22 Sep 2019 20:43:33 GMT]}
2019-09-22T20:43:33.444Z WARN p.a.h.BoardCloudResolver:64 [cc.arduino.packages.discoverers.serial.SerialDiscov
y] Fail to get the Vid Pid information from the builder response code=404
2019-09-22T20:43:33.453Z INFO c.a.u.n.HttpConnectionManager:148 [cc.arduino.packages.discoverers.serial.Serial
scovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x12D1/0x1506, method=GET, request id=9CBAF2E
49444B3
2019-09-22T20:43:33.616Z INFO c.a.u.n.HttpConnectionManager:152 [cc.arduino.packages.discoverers.serial.Serial
scovery] Request complete URL="https://builder.arduino.cc/builder/v1/boards/0x12D1/0x1506", method=GET, respon
code=404, request id=9CBAF2E2749444B3, headers={null=[HTTP/1.1 404 Not Found], Cache-Control=[no-cache, no-st
e, must-revalidate], Server=[nginx], Connection=[keep-alive], Vary=[Origin], Pragma=[no-cache], Expires=[0], C
tent-Length=[0], Date=[Sun, 22 Sep 2019 20:43:33 GMT]}
2019-09-22T20:43:33.619Z WARN p.a.h.BoardCloudResolver:64 [cc.arduino.packages.discoverers.serial.SerialDiscov
y] Fail to get the Vid Pid information from the builder response code=404
2019-09-22T20:43:33.628Z INFO c.a.u.n.HttpConnectionManager:148 [cc.arduino.packages.discoverers.serial.Serial
scovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x067B/0x2303, method=GET, request id=A6F6669
9304333
2019-09-22T20:43:33.796Z INFO c.a.u.n.HttpConnectionManager:152 [cc.arduino.packages.discoverers.serial.Serial
scovery] Request complete URL="https://builder.arduino.cc/builder/v1/boards/0x067B/0x2303", method=GET, respon
code=404, request id=A6F6669E89304333, headers={null=[HTTP/1.1 404 Not Found], Cache-Control=[no-cache, no-st
e, must-revalidate], Server=[nginx], Connection=[keep-alive], Vary=[Origin], Pragma=[no-cache], Expires=[0], C
tent-Length=[0], Date=[Sun, 22 Sep 2019 20:43:33 GMT]}
2019-09-22T20:43:33.797Z WARN p.a.h.BoardCloudResolver:64 [cc.arduino.packages.discoverers.serial.SerialDiscov
y] Fail to get the Vid Pid information from the builder response code=404
2019-09-22T20:43:33.801Z INFO c.a.u.n.HttpConnectionManager:148 [cc.arduino.packages.discoverers.serial.Serial
scovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x1A86/0x7523, method=GET, request id=D490DE3
C824350
2019-09-22T20:43:33.968Z INFO c.a.u.n.HttpConnectionManager:152 [cc.arduino.packages.discoverers.serial.Serial
scovery] Request complete URL="https://builder.arduino.cc/builder/v1/boards/0x1A86/0x7523", method=GET, respon
code=404, request id=D490DE365C824350, headers={null=[HTTP/1.1 404 Not Found], Cache-Control=[no-cache, no-st
e, must-revalidate], Server=[nginx], Connection=[keep-alive], Vary=[Origin], Pragma=[no-cache], Expires=[0], C
tent-Length=[0], Date=[Sun, 22 Sep 2019 20:43:33 GMT]}
2019-09-22T20:43:33.970Z WARN p.a.h.BoardCloudResolver:64 [cc.arduino.packages.discoverers.serial.SerialDiscov
y] Fail to get the Vid Pid information from the builder response code=404
Uploading...
nvidia@spc:~/Arduino/Zero$