No Connections Established

I am having problems with "No Connections Established". It works sometimes and then I get a compile error typical error and then I need to reload to establish connections. The board is a ESP8622 using the D1 min. on the IDE 2.0.1 - Does this on two machines and not on the old IDE.

The examples are then lost and I only can select the stock arduino Examples. Its like it doesn't recognize the libraries until I reload the Sketch.

Hi @ldalep. Which operating system are you using (e.g., "Windows")?

I ask because I would like to request you to provide some additional information and I want to give you the appropriate instructions for your operating system.

Sorry about that - both machines are Mac - 12.6 and 10.15.7 Also both have libraries on Cloud Drives. Also just changing devices such as going from D1 mini Pro to Node MCU device will cause it to give the same error.

No worries. In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to run the Arduino IDE from the command line, then share the output.

Please do this:

  1. Open your Applications folder.
  2. Open Utilities.
  3. Double-click on "Terminal".
  4. Type the following command:
    "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
    
  5. Press Enter
  6. Wait for the Arduino IDE to finish starting.
  7. Repeat whatever action is required to produce this error.
  8. Switch back to the terminal window.
  9. Press +A.
    This will select all the text in the terminal window.
  10. Press +C.
    This will copy the selected text to the clipboard.
  11. Open a forum reply here by clicking the Reply button.
  12. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
    Code block
  13. Press +V.
    This will paste the output into the code block.
  14. Move the cursor outside of the code block markup before you add any additional text to your reply.
  15. Click the Reply button to post the output.

Please let me know if you have any questions or problems while following those instructions.

1 Like
Last login: Tue Nov  1 18:54:56 on ttys000
user@MacBook-Dale-Art ~ % /Applications/Arduino\ IDE.app/Contents/MacOS/Arduino\ IDE ; exit;
Arduino IDE 2.0.1
Starting backend process. PID: 4555
Using browser-only version of superagent in non-browser environment
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root INFO Configuration directory URI: 'file:///Users/user/.theia'
root INFO Backend Object.initialize: 7.2 ms [Finished 1.320 s after backend start]
root INFO Backend Object.configure: 6.2 ms [Finished 1.320 s after backend start]
root INFO Backend MessagingContribution.onStart: 1.9 ms [Finished 1.320 s after backend start]
root INFO Backend OSBackendApplicationContribution.configure: 0.4 ms [Finished 1.372 s after backend start]
root INFO Backend DefaultWorkspaceServer.onStart: 0.4 ms [Finished 1.372 s after backend start]
root INFO Backend LocalizationBackendContribution.configure: 0.2 ms [Finished 1.373 s after backend start]
root WARN Backend LocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 52.2 ms [Finished 1.373 s after backend start]
root INFO Backend TaskBackendApplicationContribution.onStart: 0.3 ms [Finished 1.373 s after backend start]
root INFO Backend ElectronTokenBackendContribution.configure: 1.3 ms [Finished 1.374 s after backend start]
root INFO Backend PluginDeployerContribution.initialize: 0.4 ms [Finished 1.375 s after backend start]
root INFO Backend ConfigServiceImpl.onStart: 0.8 ms [Finished 1.375 s after backend start]
root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.9 ms [Finished 1.377 s after backend start]
root INFO Backend ArduinoDaemonImpl.onStart: 1.9 ms [Finished 1.378 s after backend start]
root INFO Backend NodeFileUploadService.configure: 3.0 ms [Finished 1.378 s after backend start]
daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
discovery-log INFO start
discovery-log INFO start new deferred
root INFO Backend BoardDiscovery.onStart: 1.2 ms [Finished 1.380 s after backend start]
root INFO Backend FileDownloadEndpoint.configure: 0.5 ms [Finished 1.380 s after backend start]
root INFO Backend AuthenticationServiceImpl.onStart: 0.4 ms [Finished 1.381 s after backend start]
root INFO Backend PluginApiContribution.configure: 0.5 ms [Finished 1.381 s after backend start]
root INFO Backend HostedPluginReader.configure: 0.2 ms [Finished 1.382 s after backend start]
root INFO Backend HostedPluginReader.configure: 0.2 ms [Finished 1.383 s after backend start]
root INFO Backend PlotterBackendContribution.configure: 1.0 ms [Finished 1.384 s after backend start]
root INFO Theia app listening on http://localhost:49484.
root INFO Finished starting backend application: 5.2 ms [Finished 1.387 s after backend start]
root WARN The local plugin referenced by local-dir:/Users/user/.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:/Users/user/.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/Users/user/.arduinoProIDE/plugins does not exist.
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@0.3.10" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.5" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
root INFO PluginTheiaDirectoryHandler: accepting plugin with path
root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
root INFO Resolve plugins list: 43.0 ms [Finished 1.423 s after backend start]
root INFO Deployed backend plugin "cortex-debug@0.3.10" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/cortex-debug/extension/dist/extension": 3.5 ms [Finished 1.427 s after backend start]
root INFO Deployed backend plugin "vscode-arduino-tools@0.0.2-beta.5" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-arduino-tools/extension/dist/bundle": 2.6 ms [Finished 1.430 s after backend start]
root INFO Deployed backend plugin "cpp@1.52.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-cpp/extension": 11.1 ms [Finished 1.441 s after backend start]
root INFO Deployed backend plugin "json@1.46.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json/extension": 1.9 ms [Finished 1.443 s after backend start]
root INFO Deployed backend plugin "json-language-features@1.46.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain": 0.5 ms [Finished 1.443 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-bg@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-bg/extension": 79.8 ms [Finished 1.523 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-cs@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-cs/extension": 80.7 ms [Finished 1.604 s after backend start]
daemon INFO INFO[0000] Using config file: /Users/user/.arduinoIDE/arduino-cli.yaml 
INFO[0000] arduino-cli version 0.28.0                   
INFO[0000] Executing `arduino-cli daemon`               
{"IP":"127.0.0.1","Port":"49485"}

daemon INFO Daemon is running.
root INFO Deployed backend plugin "vscode-language-pack-de@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-de/extension": 121.2 ms [Finished 1.725 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-es@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-es/extension": 101.9 ms [Finished 1.827 s after backend start]
daemon INFO INFO[0000] Loading hardware from: /Users/user/Library/Arduino15/packages 
INFO[0000] Loading package arduino from: /Users/user/Library/Arduino15/packages/arduino/hardware 
INFO[0000] Checking signature                            error="opening signature file: open /Users/user/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/installed.json.sig: no such file or directory" index=/Users/user/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/installed.json signatureFile=/Users/user/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/installed.json.sig
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="arduino:avr@1.8.5"
INFO[0000] Checking existence of 'tools' path: /Users/user/Library/Arduino15/packages/arduino/tools 
INFO[0000] Loading tools from dir: /Users/user/Library/Arduino15/packages/arduino/tools 
INFO[0000] Loaded tool                                   tool="arduino:arduinoOTA@1.3.0"
INFO[0000] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0000] Loaded tool                                   tool="arduino:avrdude@6.3.0-arduino17"
INFO[0000] Loading package builtin from: /Users/user/Library/Arduino15/packages/builtin 
INFO[0000] Checking existence of 'tools' path: /Users/user/Library/Arduino15/packages/builtin/tools 
INFO[0000] Loading tools from dir: /Users/user/Library/Arduino15/packages/builtin/tools 
INFO[0000] Loaded tool                                   tool="builtin:ctags@5.8-arduino11"
INFO[0000] Loaded tool                                   tool="builtin:mdns-discovery@1.0.5"
INFO[0000] Loaded tool                                   tool="builtin:mdns-discovery@1.0.6"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.3.2"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.10.0"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.9.1"
INFO[0000] Loading package esp8266 from: /Users/user/Library/Arduino15/packages/esp8266/hardware 
INFO[0000] Checking signature                            error="opening signature file: open /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/installed.json.sig: no such file or directory" index=/Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/installed.json signatureFile=/Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/installed.json.sig
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="esp8266:esp8266@3.0.2"
INFO[0000] Checking existence of 'tools' path: /Users/user/Library/Arduino15/packages/esp8266/tools 
INFO[0000] Loading tools from dir: /Users/user/Library/Arduino15/packages/esp8266/tools 
INFO[0000] Loaded tool                                   tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0000] Loaded tool                                   tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0000] Loaded tool                                   tool="esp8266:python3@3.7.2-post1"
INFO[0000] Loaded tool                                   tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"
INFO[0000] Loading hardware from: /Users/user/Documents/Arduino/hardware 
INFO[0000] Checking signature                            index=/Users/user/Library/Arduino15/package_index.json signatureFile=/Users/user/Library/Arduino15/package_index.json.sig trusted=true
INFO[0000] Checking signature                            error="opening signature file: open /Users/user/Library/Arduino15/package_esp8266com_index.json.sig: no such file or directory" index=/Users/user/Library/Arduino15/package_esp8266com_index.json signatureFile=/Users/user/Library/Arduino15/package_esp8266com_index.json.sig
INFO[0000] Adding libraries dir                          dir=/Users/user/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/libraries location=platform
INFO[0000] Adding libraries dir                          dir=/Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries location=platform
INFO[0000] Loading libraries index file                  index=/Users/user/Library/Arduino15/library_index.json

root INFO Deployed backend plugin "vscode-language-pack-fr@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-fr/extension": 100.3 ms [Finished 1.927 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-hu@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-hu/extension": 55.2 ms [Finished 1.983 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-it@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-it/extension": 78.1 ms [Finished 2.061 s after backend start]
daemon INFO INFO[0000] Adding libraries dir                          dir=/Users/user/Library/Arduino15/libraries location=ide
INFO[0000] Adding libraries dir                          dir=/Users/user/Documents/Arduino/libraries location=user

root INFO Deployed backend plugin "vscode-language-pack-ja@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-ja/extension": 71.1 ms [Finished 2.132 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-ko@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-ko/extension": 67.7 ms [Finished 2.200 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-nl@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-nl/extension": 25.1 ms [Finished 2.225 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-pl@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-pl/extension": 77.8 ms [Finished 2.303 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-pt-BR@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-pt-BR/extension": 88.1 ms [Finished 2.391 s after backend start]
discovery-log INFO start request start watch
discovery-log INFO start requested start watch
discovery-log INFO start resolved watching
root INFO Deployed backend plugin "vscode-language-pack-ru@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-ru/extension": 85.4 ms [Finished 2.476 s after backend start]
daemon INFO INFO[0000] starting discovery builtin:mdns-discovery process 
INFO[0000] starting discovery builtin:serial-discovery process 
INFO[0000] started discovery builtin:serial-discovery process 
INFO[0000] sending command HELLO 1 "arduino-cli 0.28.0" to discovery builtin:serial-discovery 
INFO[0000] started discovery builtin:mdns-discovery process 
INFO[0000] sending command HELLO 1 "arduino-cli 0.28.0" to discovery builtin:mdns-discovery 
INFO[0000] from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1 
INFO[0000] sending command START_SYNC to discovery builtin:serial-discovery 
INFO[0000] from discovery builtin:serial-discovery received message type: start_sync, message: OK 
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: /dev/cu.URT1 
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: /dev/cu.BLTH 
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: /dev/cu.URT2 
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: /dev/cu.usbserial-AB0JRY5L 
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: /dev/cu.usbserial-14620 
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: /dev/cu.i7 
INFO[0000] from discovery builtin:serial-discovery received message type: add, port: /dev/cu.Bluetooth-Incoming-Port 
INFO[0000] from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1 
INFO[0000] sending command START_SYNC to discovery builtin:mdns-discovery 
INFO[0000] from discovery builtin:mdns-discovery received message type: start_sync, message: OK 

root INFO Deployed backend plugin "vscode-language-pack-tr@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-tr/extension": 75.3 ms [Finished 2.551 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-uk@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-uk/extension": 56.3 ms [Finished 2.608 s after backend start]
root INFO Deployed backend plugin "vscode-language-pack-zh-hans@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-zh-hans/extension": 73.6 ms [Finished 2.681 s after backend start]
root INFO Deploy plugins list: 43.0 ms [Finished 2.687 s after backend start]
discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/cu.usbserial-14620","label":"/dev/cu.usbserial-14620","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0x7523"],["serialNumber",""],["vid","0x1A86"]]}},"error":""}
discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/cu.i7","label":"/dev/cu.i7","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[]}},"error":""}
discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/cu.Bluetooth-Incoming-Port","label":"/dev/cu.Bluetooth-Incoming-Port","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[]}},"error":""}
discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/cu.URT1","label":"/dev/cu.URT1","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[]}},"error":""}
discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/cu.BLTH","label":"/dev/cu.BLTH","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[]}},"error":""}
discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/cu.URT2","label":"/dev/cu.URT2","protocol":"serial","protocolLabel":"Serial Port","propertiesMap":[]}},"error":""}
discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/cu.usbserial-AB0JRY5L","label":"/dev/cu.usbserial-AB0JRY5L","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0x6001"],["serialNumber","AB0JRY5L"],["vid","0x0403"]]}},"error":""}
root WARN Frontend s.configure took longer than the expected maximum 100 milliseconds: 170.2 ms [Finished 1.831 s after frontend start]
root INFO Start frontend contributions: 567.3 ms [Finished 2.156 s after frontend start]
root INFO Changed application state from 'init' to 'started_contributions'.
root INFO Changed application state from 'started_contributions' to 'attached_shell'.
root INFO >>> Restoring the layout state...
root INFO ------- SERIALIZED LAYOUT DATA -------
root INFO {"version":5,"mainPanel":{"main":{"type":"tab-area","widgets":[{"constructionOptions":{"factoryId":"code-editor-opener","options":{"kind":"navigatable","uri":"file:///Users/user/Desktop/JSONKitchenSink/JSONKitchenSink.ino","counter":0}},"innerWidgetState":"{\"cursorState\":[{\"inSelectionMode\":false,\"selectionStart\":{\"lineNumber\":155,\"column\":31},\"position\":{\"lineNumber\":155,\"column\":31}}],\"viewState\":{\"scrollLeft\":0,\"firstPosition\":{\"lineNumber\":135,\"column\":1},\"firstPositionDeltaTop\":-17},\"contributionsState\":{\"editor.contrib.folding\":{\"lineCount\":166,\"provider\":\"indent\",\"foldedImports\":false},\"editor.contrib.wordHighlighter\":false}}"}],"currentIndex":0}},"mainPanelPinned":[false],"bottomPanel":{"config":{"main":{"type":"tab-area","widgets":[{"constructionOptions":{"factoryId":"outputView"},"innerWidgetState":"{\"locked\":false}"},{"constructionOptions":{"factoryId":"serial-monitor"}}],"currentIndex":1}},"pinned":[false,false],"size":195,"expanded":true},"leftPanel":{"type":"sidepanel","items":[{"widget":{"constructionOptions":{"factoryId":"arduino-sketchbook-widget"}},"rank":1,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"boards-list-widget"}},"rank":2,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"library-list-widget"}},"rank":3,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"debug"},"innerWidgetState":"{\"parts\":[{\"partId\":\"debug:threads:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true}},{\"partId\":\"debug:frames:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true}},{\"partId\":\"debug:variables:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true}},{\"partId\":\"debug:watch:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true}},{\"partId\":\"debug:breakpoints:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true}},{\"partId\":\"plugin-view:cortex-debug.peripherals\",\"collapsed\":true,\"hidden\":true,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"plugin-view\",\"options\":{\"id\":\"plugin-view:cortex-debug.peripherals\",\"viewId\":\"cortex-debug.peripherals\"}},\"innerWidgetState\":\"{\\\"label\\\":\\\"Cortex Peripherals\\\",\\\"widgets\\\":[],\\\"suppressUpdateViewVisibility\\\":false,\\\"currentViewContainerId\\\":\\\"debug\\\"}\"}},{\"partId\":\"plugin-view:cortex-debug.registers\",\"collapsed\":true,\"hidden\":true,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"plugin-view\",\"options\":{\"id\":\"plugin-view:cortex-debug.registers\",\"viewId\":\"cortex-debug.registers\"}},\"innerWidgetState\":\"{\\\"label\\\":\\\"Cortex Registers\\\",\\\"widgets\\\":[],\\\"suppressUpdateViewVisibility\\\":false,\\\"currentViewContainerId\\\":\\\"debug\\\"}\"}}],\"title\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true}}"},"rank":4,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"search-view-container"},"innerWidgetState":"{\"parts\":[{\"partId\":\"search-in-workspace\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"search-view-container\",\"originalContainerTitle\":{\"label\":\"Search\",\"iconClass\":\"codicon codicon-search\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"search-in-workspace\"},\"innerWidgetState\":\"{\\\"matchCaseState\\\":{\\\"className\\\":\\\"codicon codicon-case-sensitive\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Match Case\\\"},\\\"wholeWordState\\\":{\\\"className\\\":\\\"codicon codicon-whole-word\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Match Whole Word\\\"},\\\"regExpState\\\":{\\\"className\\\":\\\"codicon codicon-regex\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Use Regular Expression\\\"},\\\"includeIgnoredState\\\":{\\\"className\\\":\\\"codicon codicon-eye\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Include Ignored Files\\\"},\\\"showSearchDetails\\\":false,\\\"searchInWorkspaceOptions\\\":{\\\"matchCase\\\":false,\\\"matchWholeWord\\\":false,\\\"useRegExp\\\":false,\\\"includeIgnored\\\":false,\\\"include\\\":[],\\\"exclude\\\":[],\\\"maxResults\\\":2000},\\\"searchTerm\\\":\\\"\\\",\\\"replaceTerm\\\":\\\"\\\",\\\"showReplaceField\\\":false,\\\"searchHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"replaceHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"includeHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"excludeHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0}}\"}}],\"title\":{\"label\":\"Search\",\"iconClass\":\"fa fa-arduino-search\",\"closeable\":true}}"},"rank":5,"expanded":false,"pinned":false}]},"rightPanel":{"type":"sidepanel","items":[]},"activeWidgetId":"serial-monitor"}
root INFO ------- END SERIALIZED LAYOUT DATA -------
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd] Waiting for backend deployment: 104.8 ms [Finished 2.257 s after frontend start]
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574) starting instance
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd] Sync of 21 plugins: 812.0 ms [Finished 3.069 s after frontend start]
2022-11-01 19:07:01.754 Arduino IDE Helper (Renderer)[4563:34838] CoreText note: Client requested name ".NewYork-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2022-11-01 19:07:01.754 Arduino IDE Helper (Renderer)[4563:34838] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
root INFO <<< The layout has been successfully restored.
root INFO Initialize the workbench layout: 1352.3 ms [Finished 3.546 s after frontend start]
root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][marus25.cortex-debug]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][arduino.vscode-arduino-tools]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][vscode.cpp]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][vscode.json]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][vscode.json-language-features]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-bg]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-cs]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-de]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-es]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-fr]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-hu]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-it]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-ja]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-ko]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-nl]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-pl]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-pt-br]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-ru]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-tr]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-uk]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-zh-hans]: Loaded contributions.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd] Load contributions of 21 plugins: 90.5 ms [Finished 3.637 s after frontend start]
root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
root WARN a registered grammar configuration for 'cpp' language is overridden
root ERROR Uncaught Exception: 
root ERROR Error: ENOENT: no such file or directory, scandir '/Users/user/Desktop/Configtest'
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): PluginManagerExtImpl/init()
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(cortex-debug@0.3.10 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] Debugger contribution has been registered: cortex-debug
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-arduino-tools@0.0.2-beta.5 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(cpp@1.52.1 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(json@1.46.1 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(json-language-features@1.46.1 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-bg@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-cs@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-de@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-es@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-fr@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-hu@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-it@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-ja@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-ko@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-nl@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-pl@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-pt-BR@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-ru@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-tr@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-uk@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): initializing(vscode-language-pack-zh-hans@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): PluginManagerExtImpl/loadPlugin(/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain)
root INFO [hosted-plugin: 4574] PLUGIN_HOST(4574): PluginManagerExtImpl/loadPlugin(/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-arduino-tools/extension/dist/bundle)
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][marus25.cortex-debug]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][arduino.vscode-arduino-tools]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][vscode.cpp]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][vscode.json]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][vscode.json-language-features]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-bg]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-cs]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-de]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-es]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-fr]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-hu]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-it]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-ja]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-ko]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-nl]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-pl]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-pt-br]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-ru]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-tr]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-uk]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd][ms-ceintl.vscode-language-pack-zh-hans]: Started plugin.
root INFO [0eb45b59-9daa-48b4-bd5f-40706564cebd] Start of 21 plugins: 686.7 ms [Finished 4.335 s after frontend start]
root INFO Frontend application start: 3123.1 ms [Finished 6.465 s after backend start]
root INFO Replace loading indicator with ready workbench UI (animation): 889.0 ms [Finished 4.532 s after frontend start]
root INFO Changed application state from 'initialized_layout' to 'ready'.
root ERROR Uncaught Exception: 
root ERROR Error: ENOENT: no such file or directory, scandir '/Users/user/Desktop/Configtest'
Checking for update
root INFO core-client-provider [library-index]
root INFO core-client-provider [platform-index]
daemon INFO INFO[0005] Updating libraries index                     
INFO[0005] Updating index                                url="https://downloads.arduino.cc/packages/package_index.tar.bz2"

Update for version 2.0.1 is not available (latest version: 2.0.1, downgrade is allowed).
root ERROR ---- !!!SLOW!!! DURATION: search took 1004.468 ms. Args: [{"type":"Updatable"}] ----
root INFO core-client-provider [platform-index]
daemon INFO INFO[0005] Updating index                                url="https://arduino.esp8266.com/stable/package_esp8266com_index.json"

root INFO Starting language server: esp8266:esp8266:d1_mini_pro
monitor-service INFO starting monitor
daemon INFO INFO[0006] Starting monitor process                      monitor=serial-monitor
INFO[0006] Starting monitor process                      monitor=serial-monitor

daemon INFO INFO[0006] Monitor process started successfully!         monitor=serial-monitor
INFO[0006] sending command                               command="HELLO 1 \"arduino-cli 0.28.0\"" monitor=serial-monitor
INFO[0006] Monitor process started successfully!         monitor=serial-monitor
INFO[0006] sending command                               command="HELLO 1 \"arduino-cli 0.28.0\"" monitor=serial-monitor

daemon INFO INFO[0006] received message                              error=false event_type=hello message=OK monitor=serial-monitor

daemon INFO INFO[0006] sending command                               command=DESCRIBE monitor=serial-monitor
INFO[0006] received message                              error=false event_type=hello message=OK monitor=serial-monitor
INFO[0006] sending command                               command=DESCRIBE monitor=serial-monitor

daemon INFO INFO[0006] received message                              error=false event_type=describe message=OK monitor=serial-monitor

daemon INFO INFO[0006] sending command                               command=QUIT monitor=serial-monitor
INFO[0006] received message                              error=false event_type=describe message=OK monitor=serial-monitor
INFO[0006] sending command                               command=QUIT monitor=serial-monitor

daemon INFO INFO[0006] received message                              error=false event_type=quit message=OK monitor=serial-monitor
INFO[0006] Killing monitor process                       monitor=serial-monitor

daemon INFO ERRO[0006] stopped decode loop: EOF                      monitor=serial-monitor
INFO[0006] received message                              error=false event_type=quit message=OK monitor=serial-monitor
INFO[0006] Monitor process killed                        monitor=serial-monitor
INFO[0006] Killing monitor process                       monitor=serial-monitor
INFO[0006] Monitor process killed                        monitor=serial-monitor
ERRO[0006] stopped decode loop: EOF                      monitor=serial-monitor

daemon INFO INFO[0006] Starting monitor process                      monitor=serial-monitor

daemon INFO INFO[0006] Monitor process started successfully!         monitor=serial-monitor

daemon INFO INFO[0006] sending command                               command="HELLO 1 \"arduino-cli 0.28.0\"" monitor=serial-monitor

daemon INFO INFO[0006] received message                              error=false event_type=hello message=OK monitor=serial-monitor

daemon INFO INFO[0006] sending command                               command=DESCRIBE monitor=serial-monitor

daemon INFO INFO[0006] received message                              error=false event_type=describe message=OK monitor=serial-monitor
INFO[0006] sending command                               command="CONFIGURE baudrate 9600" monitor=serial-monitor

daemon INFO INFO[0006] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0006] sending command                               command="CONFIGURE bits 8" monitor=serial-monitor
INFO[0006] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0006] sending command                               command="CONFIGURE dtr off" monitor=serial-monitor

daemon INFO INFO[0006] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0006] sending command                               command="CONFIGURE parity none" monitor=serial-monitor
INFO[0006] received message                              error=false event_type=configure message=OK monitor=serial-monitor

daemon INFO INFO[0006] sending command                               command="CONFIGURE rts off" monitor=serial-monitor
INFO[0006] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0006] sending command                               command="CONFIGURE stop_bits 1" monitor=serial-monitor
INFO[0006] received message                              error=false event_type=configure message=OK monitor=serial-monitor

daemon INFO INFO[0006] sending command                               command="OPEN 127.0.0.1:49511 /dev/cu.usbserial-14620" monitor=serial-monitor

daemon INFO INFO[0006] received message                              error=false event_type=open message=OK monitor=serial-monitor

daemon INFO INFO[0006] Port /dev/cu.usbserial-14620 successfully opened 

monitor-service INFO started monitor to /dev/cu.usbserial-14620 using serial
daemon INFO INFO[0006] Searching tools required for board esp8266:esp8266:d1_mini_pro 

daemon INFO INFO[0006] Required tool                                 tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0006] Required tool                                 tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0006] Required tool                                 tool="esp8266:python3@3.7.2-post1"
INFO[0006] Required tool                                 tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"
INFO[0006] Adding libraries dir                          dir=/Users/user/Library/Arduino15/libraries location=ide
INFO[0006] Adding libraries dir                          dir=/Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries location=platform
INFO[0006] Adding libraries dir                          dir=/Users/user/Documents/Arduino/libraries location=user

daemon INFO INFO[0006] Loading hardware from: /Users/user/Library/Arduino15/packages 

daemon INFO INFO[0006] Loading package arduino from: /Users/user/Library/Arduino15/packages/arduino/hardware 

daemon INFO INFO[0006] Checking signature                            error="opening signature file: open /Users/user/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/installed.json.sig: no such file or directory" index=/Users/user/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/installed.json signatureFile=/Users/user/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/installed.json.sig

daemon INFO INFO[0006] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0006] Loaded platform                               platform="arduino:avr@1.8.5"
INFO[0006] Checking existence of 'tools' path: /Users/user/Library/Arduino15/packages/arduino/tools 
INFO[0006] Loading tools from dir: /Users/user/Library/Arduino15/packages/arduino/tools 

daemon INFO INFO[0006] Loaded tool                                   tool="arduino:arduinoOTA@1.3.0"
INFO[0006] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"

daemon INFO INFO[0006] Loaded tool                                   tool="arduino:avrdude@6.3.0-arduino17"
INFO[0006] Loading package builtin from: /Users/user/Library/Arduino15/packages/builtin 
INFO[0006] Checking existence of 'tools' path: /Users/user/Library/Arduino15/packages/builtin/tools 
INFO[0006] Loading tools from dir: /Users/user/Library/Arduino15/packages/builtin/tools 

daemon INFO INFO[0006] Loaded tool                                   tool="builtin:ctags@5.8-arduino11"

daemon INFO INFO[0006] Loaded tool                                   tool="builtin:mdns-discovery@1.0.5"
INFO[0006] Loaded tool                                   tool="builtin:mdns-discovery@1.0.6"
INFO[0006] Loaded tool                                   tool="builtin:serial-discovery@1.3.2"

daemon INFO INFO[0006] Loaded tool                                   tool="builtin:serial-monitor@0.10.0"
INFO[0006] Loaded tool                                   tool="builtin:serial-monitor@0.9.1"
INFO[0006] Loading package esp8266 from: /Users/user/Library/Arduino15/packages/esp8266/hardware 

daemon INFO INFO[0006] Checking signature                            error="opening signature file: open /Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/installed.json.sig: no such file or directory" index=/Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/installed.json signatureFile=/Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/installed.json.sig

daemon INFO INFO[0006] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0006] Loaded platform                               platform="esp8266:esp8266@3.0.2"

daemon INFO INFO[0006] Checking existence of 'tools' path: /Users/user/Library/Arduino15/packages/esp8266/tools 
INFO[0006] Loading tools from dir: /Users/user/Library/Arduino15/packages/esp8266/tools 
INFO[0006] Loaded tool                                   tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0006] Loaded tool                                   tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0006] Loaded tool                                   tool="esp8266:python3@3.7.2-post1"

daemon INFO INFO[0006] Loaded tool                                   tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"
INFO[0006] Loading hardware from: /Users/user/Documents/Arduino/hardware 

daemon INFO INFO[0006] Checking signature                            index=/Users/user/Library/Arduino15/package_index.json signatureFile=/Users/user/Library/Arduino15/package_index.json.sig trusted=true

daemon INFO INFO[0006] Checking signature                            error="opening signature file: open /Users/user/Library/Arduino15/package_esp8266com_index.json.sig: no such file or directory" index=/Users/user/Library/Arduino15/package_esp8266com_index.json signatureFile=/Users/user/Library/Arduino15/package_esp8266com_index.json.sig

daemon INFO INFO[0007] Resolving include Arduino_JSON.h for arch esp8266 
INFO[0007]   found better lib                            lib=Arduino_JSON prio=643

daemon INFO INFO[0008] Adding libraries dir                          dir=/Users/user/Library/Arduino15/packages/arduino/hardware/avr/1.8.5/libraries location=platform

daemon INFO INFO[0008] Adding libraries dir                          dir=/Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries location=platform
INFO[0008] Loading libraries index file                  index=/Users/user/Library/Arduino15/library_index.json

daemon INFO INFO[0008] Searching tools required for board esp8266:esp8266:d1_mini_pro 

daemon INFO INFO[0008] Required tool                                 tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0008] Required tool                                 tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0008] Required tool                                 tool="esp8266:python3@3.7.2-post1"
INFO[0008] Required tool                                 tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"

daemon INFO INFO[0009] Adding libraries dir                          dir=/Users/user/Library/Arduino15/libraries location=ide
INFO[0009] Adding libraries dir                          dir=/Users/user/Documents/Arduino/libraries location=user

daemon INFO INFO[0059] Searching tools required for board esp8266:esp8266:d1_mini_pro 
INFO[0059] Required tool                                 tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0059] Required tool                                 tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0059] Required tool                                 tool="esp8266:python3@3.7.2-post1"
INFO[0059] Required tool                                 tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"
INFO[0059] Adding libraries dir                          dir=/Users/user/Library/Arduino15/libraries location=ide
INFO[0059] Adding libraries dir                          dir=/Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries location=platform
INFO[0059] Adding libraries dir                          dir=/Users/user/Documents/Arduino/libraries location=user

daemon INFO INFO[0059] Resolving include Arduino_JSON.h for arch esp8266 

daemon INFO INFO[0059]   found better lib                            lib=Arduino_JSON prio=643

root INFO Executing 'arduino.languageserver.notifyBuildDidComplete' with {"buildOutputUri":"file:///private/var/folders/2s/9pjfn3pj2qddn_zxy12zh4z80000gn/T/arduino-sketch-4D750894E89BACBBC9C0F46FAAEE2D79"}
daemon INFO INFO[0074] Searching tools required for board esp8266:esp8266:d1_mini_pro 

daemon INFO INFO[0074] Required tool                                 tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0074] Required tool                                 tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0074] Required tool                                 tool="esp8266:python3@3.7.2-post1"
INFO[0074] Required tool                                 tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"

root WARN Frontend s.configure took longer than the expected maximum 100 milliseconds: 157.4 ms [Finished 1.402 s after frontend start]
root INFO Start frontend contributions: 457.2 ms [Finished 1.652 s after frontend start]
root INFO Changed application state from 'init' to 'started_contributions'.
root INFO Changed application state from 'started_contributions' to 'attached_shell'.
root INFO >>> Restoring the layout state...
root INFO <<< Nothing to restore.
root INFO Initialize the workbench layout: 43.3 ms [Finished 1.722 s after frontend start]
root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43] Waiting for backend deployment: 113.6 ms [Finished 1.762 s after frontend start]
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129) starting instance
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43] Sync of 21 plugins: 879.8 ms [Finished 2.642 s after frontend start]
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][marus25.cortex-debug]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][arduino.vscode-arduino-tools]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][vscode.cpp]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][vscode.json]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][vscode.json-language-features]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-bg]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-cs]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-de]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-es]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-fr]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-hu]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-it]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-ja]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-ko]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-nl]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-pl]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-pt-br]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-ru]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-tr]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-uk]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-zh-hans]: Loaded contributions.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43] Load contributions of 21 plugins: 33.2 ms [Finished 2.675 s after frontend start]
root INFO Frontend application start: 1675.7 ms [Finished 99.746 s after backend start]
root INFO Replace loading indicator with ready workbench UI (animation): 974.0 ms [Finished 2.697 s after frontend start]
root INFO Changed application state from 'initialized_layout' to 'ready'.
root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
root ERROR Uncaught Exception: 
root ERROR Error: ENOENT: no such file or directory, scandir '/Users/user/Desktop/Configtest'
root WARN a registered grammar configuration for 'cpp' language is overridden
root INFO Executing startup tasks:
root INFO  - 'arduino-use-inherited-boards-config' , args: [{"selectedBoard":{"name":"LOLIN(WEMOS) D1 mini Pro","fqbn":"esp8266:esp8266:d1_mini_pro","packageId":"esp8266:esp8266","packageName":"esp8266","manuallyInstalled":false,"selected":false,"missing":false},"selectedPort":{"address":"/dev/cu.usbserial-14620","addressLabel":"/dev/cu.usbserial-14620","protocol":"serial","protocolLabel":"Serial Port (USB)","properties":{"pid":"0x7523","serialNumber":"","vid":"0x1A86"}}}]
2022-11-01 19:08:38.327 Arduino IDE Helper (Renderer)[5126:36627] CoreText note: Client requested name ".NewYork-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2022-11-01 19:08:38.327 Arduino IDE Helper (Renderer)[5126:36627] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): PluginManagerExtImpl/init()
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(cortex-debug@0.3.10 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] Debugger contribution has been registered: cortex-debug
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-arduino-tools@0.0.2-beta.5 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(cpp@1.52.1 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(json@1.46.1 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(json-language-features@1.46.1 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-bg@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-cs@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-de@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-es@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-fr@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-hu@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-it@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-ja@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-ko@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-nl@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-pl@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-pt-BR@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-ru@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-tr@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-uk@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): initializing(vscode-language-pack-zh-hans@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): PluginManagerExtImpl/loadPlugin(/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain)
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][marus25.cortex-debug]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][arduino.vscode-arduino-tools]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][vscode.cpp]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][vscode.json]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][vscode.json-language-features]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-bg]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-cs]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-de]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-es]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-fr]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-hu]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-it]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-ja]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-ko]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-nl]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-pl]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-pt-br]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-ru]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-tr]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-uk]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43][ms-ceintl.vscode-language-pack-zh-hans]: Started plugin.
root INFO [1ff5c647-70bd-43af-a470-f75010c83e43] Start of 21 plugins: 2357.9 ms [Finished 5.050 s after frontend start]
root INFO Starting language server: esp8266:esp8266:d1_mini_pro
root INFO [hosted-plugin: 5129] PLUGIN_HOST(5129): PluginManagerExtImpl/loadPlugin(/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-arduino-tools/extension/dist/bundle)
daemon INFO INFO[0100] Searching tools required for board esp8266:esp8266:d1_mini_pro 

daemon INFO INFO[0100] Required tool                                 tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0100] Required tool                                 tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0100] Required tool                                 tool="esp8266:python3@3.7.2-post1"
INFO[0100] Required tool                                 tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"
INFO[0100] Adding libraries dir                          dir=/Users/user/Library/Arduino15/libraries location=ide
INFO[0100] Adding libraries dir                          dir=/Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries location=platform

daemon INFO INFO[0100] Adding libraries dir                          dir=/Users/user/Documents/Arduino/libraries location=user

daemon INFO INFO[0100] Resolving include WS2812FX.h for arch esp8266 
INFO[0100]   found better lib                            lib=WS2812FX prio=643

daemon INFO INFO[0101] Resolving include Adafruit_NeoPixel.h for arch esp8266 

daemon INFO INFO[0101]   found better lib                            lib="Adafruit NeoPixel" prio=643

root WARN Timeout after 5000 millis. The editor has not shown up in time. URI: file:///private/var/folders/2s/9pjfn3pj2qddn_zxy12zh4z80000gn/T/.arduinoIDE-unsaved2022101-4555-1a6tjwy.efu6/serial_control/serial_control.ino
daemon INFO INFO[0103] Searching tools required for board esp8266:esp8266:d1_mini_pro 

daemon INFO INFO[0103] Required tool                                 tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0103] Required tool                                 tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0103] Required tool                                 tool="esp8266:python3@3.7.2-post1"
INFO[0103] Required tool                                 tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"

daemon INFO INFO[0109] from discovery builtin:serial-discovery received message type: remove, port: /dev/cu.usbserial-14620 

discovery-log INFO {"eventType":"remove","port":{"matchingBoardsList":[],"port":{"address":"/dev/cu.usbserial-14620","label":"","protocol":"serial","protocolLabel":"","propertiesMap":[]}},"error":""}
daemon INFO INFO[0109] sending command                               command=CLOSE monitor=serial-monitor

daemon INFO INFO[0109] received message                              error=true event_type=port_closed message="readfrom tcp 127.0.0.1:49512->127.0.0.1:49511: device not configured" monitor=serial-monitor
INFO[0109] monitor port has been closed externally       monitor=serial-monitor

daemon INFO INFO[0109] received message                              error=true event_type=close message="port already closed" monitor=serial-monitor
INFO[0109] sending command                               command=QUIT monitor=serial-monitor

daemon INFO INFO[0109] received message                              error=false event_type=quit message=OK monitor=serial-monitor
INFO[0109] Killing monitor process                       monitor=serial-monitor

daemon INFO ERRO[0109] stopped decode loop: EOF                      monitor=serial-monitor

daemon INFO INFO[0109] Monitor process killed                        monitor=serial-monitor

monitor-service INFO monitor to /dev/cu.usbserial-14620 using serial closed by server
root INFO Attached boards and available ports changed:
root INFO  - Port is no longer available on /dev/cu.usbserial-14620 Serial Port (USB)
root INFO ------------------------------------------
root INFO Attached boards and available ports changed:
root INFO  - Port is no longer available on /dev/cu.usbserial-14620 Serial Port (USB)
root INFO ------------------------------------------
daemon INFO INFO[0122] from discovery builtin:serial-discovery received message type: add, port: /dev/cu.usbserial-14620 

discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/cu.usbserial-14620","label":"/dev/cu.usbserial-14620","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0x7523"],["serialNumber",""],["vid","0x1A86"]]}},"error":""}
root INFO Attached boards and available ports changed:
root INFO  - New port is available on /dev/cu.usbserial-14620 Serial Port (USB)
root INFO ------------------------------------------
root INFO Attached boards and available ports changed:
root INFO  - New port is available on /dev/cu.usbserial-14620 Serial Port (USB)
root INFO ------------------------------------------
monitor-service INFO starting monitor
daemon INFO INFO[0122] Starting monitor process                      monitor=serial-monitor
INFO[0122] Monitor process started successfully!         monitor=serial-monitor
INFO[0122] sending command                               command="HELLO 1 \"arduino-cli 0.28.0\"" monitor=serial-monitor

daemon INFO INFO[0122] received message                              error=false event_type=hello message=OK monitor=serial-monitor
INFO[0122] sending command                               command=DESCRIBE monitor=serial-monitor

daemon INFO INFO[0122] received message                              error=false event_type=describe message=OK monitor=serial-monitor
INFO[0122] sending command                               command=QUIT monitor=serial-monitor
INFO[0122] received message                              error=false event_type=quit message=OK monitor=serial-monitor
ERRO[0122] stopped decode loop: EOF                      monitor=serial-monitor
INFO[0122] Killing monitor process                       monitor=serial-monitor
INFO[0122] Monitor process killed                        monitor=serial-monitor

daemon INFO INFO[0122] Starting monitor process                      monitor=serial-monitor
INFO[0122] Monitor process started successfully!         monitor=serial-monitor
INFO[0122] sending command                               command="HELLO 1 \"arduino-cli 0.28.0\"" monitor=serial-monitor
INFO[0122] received message                              error=false event_type=hello message=OK monitor=serial-monitor
INFO[0122] sending command                               command=DESCRIBE monitor=serial-monitor
INFO[0122] received message                              error=false event_type=describe message=OK monitor=serial-monitor
INFO[0122] sending command                               command="CONFIGURE baudrate 9600" monitor=serial-monitor

daemon INFO INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0122] sending command                               command="CONFIGURE bits 8" monitor=serial-monitor

daemon INFO INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0122] sending command                               command="CONFIGURE dtr off" monitor=serial-monitor
INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0122] sending command                               command="CONFIGURE parity none" monitor=serial-monitor
INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0122] sending command                               command="CONFIGURE rts off" monitor=serial-monitor
INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0122] sending command                               command="CONFIGURE stop_bits 1" monitor=serial-monitor
INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0122] sending command                               command="OPEN 127.0.0.1:49549 /dev/cu.usbserial-14620" monitor=serial-monitor

daemon INFO INFO[0122] received message                              error=false event_type=open message=OK monitor=serial-monitor

daemon INFO INFO[0122] Port /dev/cu.usbserial-14620 successfully opened 

monitor-service INFO started monitor to /dev/cu.usbserial-14620 using serial
daemon INFO INFO[0122] sending command                               command="CONFIGURE baudrate 9600" monitor=serial-monitor

daemon INFO INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0122] sending command                               command="CONFIGURE bits 8" monitor=serial-monitor

daemon INFO INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0122] sending command                               command="CONFIGURE dtr off" monitor=serial-monitor

daemon INFO INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0122] sending command                               command="CONFIGURE parity none" monitor=serial-monitor

daemon INFO INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor

daemon INFO INFO[0122] sending command                               command="CONFIGURE rts off" monitor=serial-monitor

daemon INFO INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0122] sending command                               command="CONFIGURE stop_bits 1" monitor=serial-monitor

daemon INFO INFO[0122] received message                              error=false event_type=configure message=OK monitor=serial-monitor

daemon INFO INFO[0126] sending command                               command=CLOSE monitor=serial-monitor

daemon INFO INFO[0126] received message                              error=true event_type=port_closed message="readfrom tcp 127.0.0.1:49550->127.0.0.1:49549: device not configured" monitor=serial-monitor
INFO[0126] monitor port has been closed externally       monitor=serial-monitor
INFO[0126] received message                              error=true event_type=close message="port already closed" monitor=serial-monitor
INFO[0126] sending command                               command=QUIT monitor=serial-monitor

daemon INFO INFO[0126] received message                              error=false event_type=quit message=OK monitor=serial-monitor
INFO[0126] Killing monitor process                       monitor=serial-monitor
ERRO[0126] stopped decode loop: EOF                      monitor=serial-monitor

daemon INFO INFO[0126] Monitor process killed                        monitor=serial-monitor

monitor-service INFO monitor to /dev/cu.usbserial-14620 using serial closed by server
discovery-log INFO {"eventType":"remove","port":{"matchingBoardsList":[],"port":{"address":"/dev/cu.usbserial-14620","label":"","protocol":"serial","protocolLabel":"","propertiesMap":[]}},"error":""}
daemon INFO INFO[0126] from discovery builtin:serial-discovery received message type: remove, port: /dev/cu.usbserial-14620 

root INFO Attached boards and available ports changed:
root INFO  - Port is no longer available on /dev/cu.usbserial-14620 Serial Port (USB)
root INFO ------------------------------------------
root INFO Attached boards and available ports changed:
root INFO  - Port is no longer available on /dev/cu.usbserial-14620 Serial Port (USB)
root INFO ------------------------------------------
daemon INFO INFO[0134] Searching tools required for board esp8266:esp8266:d1_mini_pro 
INFO[0134] Required tool                                 tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0134] Required tool                                 tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0134] Required tool                                 tool="esp8266:python3@3.7.2-post1"
INFO[0134] Required tool                                 tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"
INFO[0134] Adding libraries dir                          dir=/Users/user/Library/Arduino15/libraries location=ide
INFO[0134] Adding libraries dir                          dir=/Users/user/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries location=platform
INFO[0134] Adding libraries dir                          dir=/Users/user/Documents/Arduino/libraries location=user

daemon INFO INFO[0134] Resolving include WS2812FX.h for arch esp8266 
INFO[0134]   found better lib                            lib=WS2812FX prio=643

daemon INFO INFO[0134] Resolving include Adafruit_NeoPixel.h for arch esp8266 
INFO[0134]   found better lib                            lib="Adafruit NeoPixel" prio=643

root INFO Executing 'arduino.languageserver.notifyBuildDidComplete' with {"buildOutputUri":"file:///private/var/folders/2s/9pjfn3pj2qddn_zxy12zh4z80000gn/T/arduino-sketch-B92A33F8E2E03A790C7A88B0137F71EC"}
daemon INFO INFO[0142] Searching tools required for board esp8266:esp8266:d1_mini_pro 
INFO[0142] Required tool                                 tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0142] Required tool                                 tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"

daemon INFO INFO[0142] Required tool                                 tool="esp8266:python3@3.7.2-post1"
INFO[0142] Required tool                                 tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"

daemon INFO INFO[0155] from discovery builtin:serial-discovery received message type: add, port: /dev/cu.usbserial-14620 

discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"/dev/cu.usbserial-14620","label":"/dev/cu.usbserial-14620","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0x7523"],["serialNumber",""],["vid","0x1A86"]]}},"error":""}
root INFO Attached boards and available ports changed:
root INFO  - New port is available on /dev/cu.usbserial-14620 Serial Port (USB)
root INFO ------------------------------------------
root INFO Attached boards and available ports changed:
root INFO  - New port is available on /dev/cu.usbserial-14620 Serial Port (USB)
root INFO ------------------------------------------
monitor-service INFO starting monitor
daemon INFO INFO[0156] Starting monitor process                      monitor=serial-monitor

daemon INFO INFO[0156] Monitor process started successfully!         monitor=serial-monitor
INFO[0156] sending command                               command="HELLO 1 \"arduino-cli 0.28.0\"" monitor=serial-monitor
INFO[0156] received message                              error=false event_type=hello message=OK monitor=serial-monitor
INFO[0156] sending command                               command=DESCRIBE monitor=serial-monitor
INFO[0156] received message                              error=false event_type=describe message=OK monitor=serial-monitor
INFO[0156] sending command                               command=QUIT monitor=serial-monitor
INFO[0156] received message                              error=false event_type=quit message=OK monitor=serial-monitor
INFO[0156] Killing monitor process                       monitor=serial-monitor
ERRO[0156] stopped decode loop: EOF                      monitor=serial-monitor
INFO[0156] Monitor process killed                        monitor=serial-monitor

daemon INFO INFO[0156] Starting monitor process                      monitor=serial-monitor
INFO[0156] Monitor process started successfully!         monitor=serial-monitor
INFO[0156] sending command                               command="HELLO 1 \"arduino-cli 0.28.0\"" monitor=serial-monitor
INFO[0156] received message                              error=false event_type=hello message=OK monitor=serial-monitor

daemon INFO INFO[0156] sending command                               command=DESCRIBE monitor=serial-monitor
INFO[0156] received message                              error=false event_type=describe message=OK monitor=serial-monitor

daemon INFO INFO[0156] sending command                               command="CONFIGURE baudrate 9600" monitor=serial-monitor

daemon INFO INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0156] sending command                               command="CONFIGURE bits 8" monitor=serial-monitor
INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0156] sending command                               command="CONFIGURE dtr off" monitor=serial-monitor

daemon INFO INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0156] sending command                               command="CONFIGURE parity none" monitor=serial-monitor

daemon INFO INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor

daemon INFO INFO[0156] sending command                               command="CONFIGURE rts off" monitor=serial-monitor

daemon INFO INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0156] sending command                               command="CONFIGURE stop_bits 1" monitor=serial-monitor
INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0156] sending command                               command="OPEN 127.0.0.1:49554 /dev/cu.usbserial-14620" monitor=serial-monitor

monitor-service INFO started monitor to /dev/cu.usbserial-14620 using serial
daemon INFO INFO[0156] received message                              error=false event_type=open message=OK monitor=serial-monitor
INFO[0156] Port /dev/cu.usbserial-14620 successfully opened 

daemon INFO INFO[0156] sending command                               command="CONFIGURE baudrate 9600" monitor=serial-monitor

daemon INFO INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor

daemon INFO INFO[0156] sending command                               command="CONFIGURE bits 8" monitor=serial-monitor

daemon INFO INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor

daemon INFO INFO[0156] sending command                               command="CONFIGURE dtr off" monitor=serial-monitor

daemon INFO INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0156] sending command                               command="CONFIGURE parity none" monitor=serial-monitor

daemon INFO INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0156] sending command                               command="CONFIGURE rts off" monitor=serial-monitor

daemon INFO INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor
INFO[0156] sending command                               command="CONFIGURE stop_bits 1" monitor=serial-monitor

daemon INFO INFO[0156] received message                              error=false event_type=configure message=OK monitor=serial-monitor

daemon INFO panic: 
daemon INFO runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x42ffc5d]

goroutine 771 [running]:

daemon INFO github.com/arduino/go-properties-orderedmap.(*Map).Merge(0x0, {0xc000cb5880, 0x1, 0x0})
	/go/pkg/mod/github.com/arduino/go-properties-orderedmap@v1.6.0/properties.go:443 +0x3d
daemon INFO 

daemon INFO github.com/arduino/go-properties-orderedmap.(*Map).Clone(...)
	/go/pkg/mod/github.com/arduino/go-properties-orderedmap@v1.6.0/properties.go:477

daemon INFO github.com/arduino/arduino-cli/arduino/cores.(*Board).GetBuildProperties(0xc001db1860, 0xc0025be8d0)
	/home/build/arduino/cores/board.go:119 +0xd5

daemon INFO github.com/arduino/arduino-cli/arduino/cores/packagemanager.(*Explorer).ResolveFQBN(0xc006df2a80, 0xc002d47280)
	/home/build/arduino/cores/packagemanager/package_manager.go:291 +0x105

daemon INFO github.com/arduino/arduino-cli/commands/upload.SupportedUserFields({0x400cd45, 0x49b9100}, 0xc003bb9770)
	/home/build/commands/upload/upload.go:62
daemon INFO  +0x159

daemon INFO github.com/arduino/arduino-cli/commands/daemon.(*ArduinoCoreServerImpl).SupportedUserFields(0x4967f60, {0x4c5e870, 0xc0025be840}, 0x41ceac8)
	/home/build/commands/daemon/daemon.go:369 +0x2c

daemon INFO github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1._ArduinoCoreService_SupportedUserFields_Handler({0x49cdd60, 0xc000260d00}, {0x4c5e870, 0xc0025be840}, 0xc0075cd260, 0x0)
	/home/build/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go:1775 +0x173
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001e0a80, {0x4c70c18, 0xc0003c0000}, 0xc001d65320, 0xc000366d20, 0x52b2748, 0x0
daemon INFO )
	/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:1286 +0xc8f
google.golang.org/grpc.(*Server).handleStream(0xc0001e0a80, {0x4c70c18, 0xc0003c0000}, 0xc001d65320, 0x0)
	/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:1609 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
	/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:934 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
	/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:932 +0x294

discovery-log INFO error received
discovery-log ERROR Unexpected error occurred during the boards discovery.
monitor-service ERROR Error: 14 UNAVAILABLE: read ECONNRESET
    at Object.callErrorFromStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client.js:409:49)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:187:78
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
discovery-log INFO received end
monitor-service INFO monitor to /dev/cu.usbserial-14620 using serial closed by server
root ERROR Request getBoardUserFields failed with error: 14 UNAVAILABLE: read ECONNRESET
root ERROR Request list failed with error: 14 UNAVAILABLE: read ECONNRESET
root ERROR Request getBoardDetails failed with error: 14 UNAVAILABLE: read ECONNRESET
root ERROR Request search failed with error: 14 UNAVAILABLE: read ECONNRESET
root ERROR Request installed failed with error: 14 UNAVAILABLE: read ECONNRESET
root ERROR Request getInstalledBoards failed with error: 14 UNAVAILABLE: read ECONNRESET
daemon INFO Daemon exited with exit code: 2.
root ERROR Request getBoardDetails failed with error: 14 UNAVAILABLE: No connection established
root INFO Failed to start language server for esp8266:esp8266:nodemcuv2
root ERROR Have not received the build path from the CLI while running the compilation.
root ERROR Request getInstalledBoards failed with error: 14 UNAVAILABLE: No connection established
root ERROR Request getBoardUserFields failed with error: 14 UNAVAILABLE: No connection established
root ERROR Request installed failed with error: 14 UNAVAILABLE: No connection established
root ERROR Request list failed with error: 14 UNAVAILABLE: No connection established
root ERROR Request getBoardDetails failed with error: 14 UNAVAILABLE: No connection established
root ERROR Request getInstalledBoards failed with error: 14 UNAVAILABLE: No connection established
root ERROR Request search failed with error: 14 UNAVAILABLE: No connection established
root ERROR Request getBoardDetails failed with error: 14 UNAVAILABLE: No connection established
root INFO Failed to start language server for esp8266:esp8266:d1_mini_pro
root ERROR Have not received the build path from the CLI while running the compilation.
root ERROR Have not received the build path from the CLI while running the compilation.


I created the problem by asking for a new example sketch then changing the board - disconnecting the board - reconnecting ..... Then asking for a different board Node MCU - Boom Error the only way to get rid of it is to start the IDE over again

If I am understanding correctly, you might just need to select a different COM. I started having no connections established errors when I switched to the new IDE as well. For me, the problem was that sometimes the COM was wrong. Not sure if that is what is going on with you, but that's my suggestion.

Thanks. There are a couple of interesting things in the log, but I would focus on this one for now:

This indicates Arduino IDE (actually the Arduino CLI tool it uses under the hood) encountered some unexpected situation while processing information from one of the boards platforms.

From the logs, I can see you have these two installed:

  • Arduino AVR Boards
  • esp8266

Do you know whether you installed any others?

Have you made any modifications to these boards platforms (e.g., in their boards.txt, boards.local.txt, platform.txt, platform.local.txt, or programmers.txt files)?

Thanks for the insight

This is a new machine - and I have only the two boards types installed that I know of.
I have not modified the files.

Interesting that I have narrowed it down to have the error happen on just switching board only on the ESP8266 library -then compile. This same type of navigation does not happen on the arduino library.

What is different between the two library - is this not a good library to use?

https://arduino.esp8266.com/stable/package_esp8266com_index.json

Once the error happens my only recourse is to relaunch - Running the same sequences of loading and unloading on the ID 1.8.19 does not have a problem

Sorry - I lied I have seen the same problems using the Arduino Library

I also have the same type of error:

daemon INFO panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x42ffc5d]

goroutine 73 [running]:
github.com/arduino/go-properties-orderedmap.(*Map).Merge(0x0, {0xc004c89658, 0x1, 0x0})
        /go/pkg/mod/github.com/arduino/go-properties-orderedmap@v1.6.0/properties.go:443 +0x3d
github.com/arduino/go-properties-orderedmap.(*Map).Clone(...)
        /go/pkg/mod/github.com/arduino/go-properties-orderedmap@v1.6.0/properties.go:477
github.com/arduino/arduino-cli/arduino/cores.(*Board).GetBuildProperties(0xc000126900, 0xc00663d710)
        /home/build/arduino/cores/board.go:119 +0xd5
github.com/arduino/arduino-cli/arduino/cores/packagemanager.(*Explorer).ResolveFQBN(0xc004ca6400, 0xc004773bc0)
        /home/build/arduino/cores/packagemanager/package_manager.go:291 +0x105
github.com/arduino/arduino-cli/commands/lib.LibraryList({0x400cd45, 0x49b9100}, 0xc0007b0f00)
        /home/build/commands/lib/list.go:57 +0x24a
github.com/arduino/arduino-cli/commands/daemon.(*ArduinoCoreServerImpl).LibraryList(0x4983940, {0x4c5e870, 0xc00663d680}, 0x0)
        /home/build/commands/daemon/daemon.go:467 +0x2c

daemon INFO github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1._ArduinoCoreService_LibraryList_Handler({0x49cdd60, 0xc000352ce0}, {0x4c5e870, 0xc00663d680}, 0xc0007b0ea0, 0x0)
        /home/build/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go:2051 +0x173
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0002c48c0, {0x4c70c18, 0xc0004a6000}, 0xc001705440, 0xc000446d20, 0x52b27d8, 0x0)
        /go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:1286 +0xc8f
google.golang.org/grpc.(*Server).handleStream(0xc0002c48c0, {0x4c70c18, 0xc0004a6000}, 0xc001705440, 0x0)
        /go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:1609 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
        /go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:934 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
        /go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:932 +0x294

discovery-log INFO error received
discovery-log ERROR Unexpected error occurred during the boards discovery.
discovery-log INFO received end
root ERROR Request list failed with error: 14 UNAVAILABLE: read ECONNRESET
root ERROR Request getBoardDetails failed with error: 14 UNAVAILABLE: read ECONNRESET
root ERROR Request search failed with error: 14 UNAVAILABLE: read ECONNRESET
root ERROR Request getBoardDetails failed with error: 14 UNAVAILABLE: read ECONNRESET
root ERROR Request installed failed with error: 14 UNAVAILABLE: read ECONNRESET
daemon INFO Daemon exited with exit code: 2.
root ERROR Request getBoardDetails failed with error: 14 UNAVAILABLE: No connection established
root INFO Failed to start language server for esp8266:esp8266:d1_mini

and I am also running the Arduino IDE on MacOS:
Arduino:
Version: 2.0.1
Date: 2022-10-27T13:25:59.041Z
CLI Version: 0.28.0 [06fb1909]

Mac: MacBook Pro (14-inch, 2021), Chip Apple M1 Pro, macOS Monterey Version 12.6

Any help will be greatly appreciated.

Im stuck.....

fire up the IDE with no board attached
tools > ports. note what is open
attach the ESP
note the new port that shows up
connect to that port
open the serial monitor
press reset on the ESP
if a wall of text shows up, you're in
close the serial monitor before you click on upload

I have a similar experience.
Yesterday, teaching a class to 16 grade 9 students. I had 20 freshly imaged microsoft surface books all updated to Win11 service pack 22H2. Fresh install of Arduino 2.0.1, fresh install of CH340 and CP210X VCP drivers. We are doing introduction to Arduino using Node MCU ESP8266 clones.
I didnt write down exactly how many students had the issue but I'd say more than 5, less than 10, had the 'Failed to establish connection error 14' issue. Almost all of them were solved by shutiong down the Arduino IDE and restarting. Interestingly on 3 of the computers this did not work. We tried rebooting a couple times without any luck, so I bumped the kids to some of the extra machines and continued with the class.

This morning I tried to diagnose the issue. Computer 1 continued to have problems, I tried uninstalling the ESP8266 board definition and I couldnt even make it to the board manager. Arduino IDE just kept saying failure to connect error. I rebooted the computer, unplugged and replugged the devboard a couple times and then all of a sudden it worked. No idea why. The other 2 computers worked fine the first time I tried them. They had done 1 power cycle overnight so maybe that fixed it?

Not a great error report I know, I apologize. What I can say is the problem seems to be inconsistent but real. That is to say out of 20 identical systems, the issue randomly showed up on at least 25% of them and then went away without a common set of actions.

Hi @critchard. If you find yourself back in the position where you can consistently reproduce the error on one of the machines, please grab the logs. The "No connection established" error is fairly generic and might be caused by multiple unrelated problems. So even though we already have the valuable logs provided by other reporters here, it might be that your logs will indicate a different problem that has a straightforward solution.

I'll provide the Windows version of the instructions for getting the logs:

  1. Start Windows "File Explorer".
  2. Open the Arduino IDE installation folder.
    (usually C:\Program Files\Arduino IDE or C:\Users\<user name>\AppData\Local\Programs\Arduino IDE).
  3. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  4. From the context menu, click "Open PowerShell window here".
    PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  5. Type the following command:
    & ".\Arduino IDE"
    
  6. Press the Enter key.
    Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start).
  7. Take whatever action is needed to produce the "No connection established" error.
  8. Switch back to the PowerShell window if the Arduino IDE window took the focus.
  9. Right click on the title bar of the PowerShell window.
    This will open a context menu.
  10. Select Edit > Select All from the context menu.
    This will select all the text in the PowerShell window.
  11. Press Ctrl+C.
    This will copy the contents of the PowerShell window to the clipboard.
  12. Open a forum reply here by clicking the Reply button.
  13. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  14. Press Ctrl+V.
    This will paste the output into the code block.
  15. Move the cursor outside of the code block markup before you add any additional text to your reply.
  16. Click the Reply button to post the output.

Please let me know if you have any questions or problems while following those instructions.


I generally find the approach described above to be the most convenient, since it allows me to see the logs as they are printed in real time, which makes it easier to correlate the actions I am taking in the IDE to the specific sections of the logs. However, the Arduino IDE also automatically produces log files every time it runs. In case you find that a more convenient way to collect the logs, you can find them here:

C:\Users\<user name>\AppData\Roaming\Arduino IDE\

(where <user name> is your Windows user name)

Note that the C:\Users\<user name>\AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".

1 Like

So I'm on a MacBook Pro with the same issue with the new 2.0 IDE (I've since moved all my code back to the 1.8 as it continues to work and the 2.0 will not clear/reset at all).

Also working with the ESP8266 D1 mini. Worked for about a week then suddenly stopped working with the above error. No matter at this point how often I restart the IDE or even the computer, it no longer matters what sketch I use nor the USB serial port I use, its now stuck on this even with a blink sketch.

Between this error and all the issues with the library function, I'm basically backing out of the 2.0 IDE until it hits 2.1. It just has way too many bugs and errors to make it a useful IDE when I have to spend more time debugging the IDE than code development.

Hi all. Thanks for your reports. A developer investigated the problem and identified a potential cause.

A fix has been prepared, but unfortunately we were never able to reproduce the fault despite quite some attempts. So we are hoping that you might be willing to help us out by testing the fix and letting us know whether the error still occurs.

Everyone is welcome to test, but the most conclusive results will be in the case where the error is produced reliably with the regular production version of the software. So please first test with Arduino IDE 2.0.1 (or the latest nightly build of Arduino IDE if you prefer) to make sure you are able to reproduce the error.

I'll provide the instructions for getting the tester build of Arduino IDE that has the proposed fix:

  1. Sign in to your GitHub account.
    (GitHub only allows downloads of the tester builds when you are signed in.)

  2. Open this page in your browser:
    https://github.com/arduino/arduino-ide/actions/runs/3444944271#artifacts

  3. From the "Artifacts" section of the page, click the download link for your operating system:

    Operating system Link to use
    Windows Windows_X86-64_zip
    Linux Linux_X86-64_app_image
    macOS macOS_dmg
  4. Wait for the download to finish.

  5. Extract or install the downloaded file as usual.

  6. Start the tester build of Arduino IDE you downloaded.

  7. Perform whatever operations normally produce the error when using the regular version of Arduino IDE.

Please comment here to let me know the following:

  • Were you able to reproduce the fault using the regular version of Arduino IDE?
  • Were you able to reproduce the fault using the tester version of Arduino IDE?

Please let me know if you have any questions or problems while following those instructions.

I sign in my github account and click that website. AND HERE IS THE PROBLEM: I can not download any of that .zip folders. All of the downloads show that "the task connection timed out and cannot be downloaded". How to solve this problem?

Hi @hanyanfu6688. I'm sorry to hear the download didn't work.

This sort of error might be caused by a transient network outage. These usually resolve themselves within a matter of minutes; hours at worse. I just tried the Windows_X86-64_zip link and it worked fine for me. Please give it another try to see whether it is working now.

I am getting this error. Has there been a fix? I am using Arduino IDE 2.0.3. I was connected to the board and ran an Upload To Programmer and after that only get a Connection Dropped error. I don't know what's relevant in the terminal but here is what looks to be the relevant section. It did detect the board when I first plugged in.

2023-01-21T12:05:06.650Z daemon INFO panic:

2023-01-21T12:05:06.651Z daemon INFO runtime error: invalid memory address or nil pointer dereference

[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x45c0be6]

goroutine 77 [running]:

2023-01-21T12:05:06.652Z daemon INFO github.com/arduino/arduino-cli/arduino/cores.(*Platform).GetAllInstalled(0x487a6a0)

/home/build/arduino/cores/cores.go:269 +0x26

2023-01-21T12:05:06.652Z daemon INFO github.com/arduino/arduino-cli/arduino/cores/packagemanager.(*Explorer).GetInstalledPlatformRelease(0xc0054eb300, 0xc00051a1b0)

/home/build/arduino/cores/packagemanager/package_manager.go:462 +0x28

2023-01-21T12:05:06.653Z daemon INFO github.com/arduino/arduino-cli/commands/upload.runProgramAction(0xc0054eb300, 0x4c8d220, {0x0, 0x0}, {0x0, 0x0}, {0xc0088850c0, 0x3b}, 0xc00536a1c0, {0xc0054de328,

2023-01-21T12:05:06.653Z daemon INFO ...}, ...)

/home/build/commands/upload/upload.go:273 +0x965

github.com/arduino/arduino-cli/commands/upload.BurnBootloader({0xc0054daa60, 0x4c639a0}, 0xc00536a000, {0xcc4a8e8, 0xc0054daa80}, {0xcc4a8e8, 0xc0054daab0})

/home/build/commands/upload/burnbootloader.go:42 +0x545

github.com/arduino/arduino-cli/commands/daemon.(*ArduinoCoreServerImpl).BurnBootloader(0xc005368000, 0x4995d20, {0x4c78c20, 0xc0054daa60})

/home/build/commands/daemon/daemon.go:338 +0x185

2023-01-21T12:05:06.653Z daemon INFO github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1._ArduinoCoreService_BurnBootloader_Handler({0x49c7880, 0xc00033ed40}, {0x4c741b8, 0xc005368000})

/home/build/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go:

2023-01-21T12:05:06.653Z daemon INFO 1656 +0xd0

2023-01-21T12:05:06.654Z daemon INFO google.golang.org/grpc.(*Server).processStreamingRPC(0xc0002c08c0, {0x4c7f1d8, 0xc0004c0000}, 0xc0088e3680, 0xc00043ed80, 0x52bcea0, 0x0)

/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:1533 +0xcdb

google.golang.org/grpc.(*Server).handleStream(0xc0002c08c0, {0x4c7f1d8, 0xc0004c0000}, 0xc0088e3680, 0x0)

/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:1613 +0x9e5

google.golang.org/grpc.(*Server).serveStreams.func1.2()

/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:934 +0x98

2023-01-21T12:05:06.654Z daemon INFO created by google.golang.org/grpc.(*Server).serveStreams.func1

/go/pkg/mod/google.golang.org/grpc@v1.38.0/server.go:932 +0x294

2023-01-21T12:05:06.664Z daemon INFO Daemon exited with exit code: 2.

2023-01-21T12:05:06.667Z discovery-log INFO error received

2023-01-21T12:05:06.667Z discovery-log ERROR Unexpected error occurred during the boards discovery.

2023-01-21T12:05:06.667Z discovery-log INFO received end

Hi @lj001. Thanks for your report.

I need to try to reproduce the fault in order to effectively investigate this and provide you with a solution. In order to do that, I'll need more information about what you were doing when it occurred:

Which board did you have selected in Arduino IDE?

Which programmer did you have selected from the Tools > Programmer menu?