IDE2 RC4 : mac don't see arduino connected devices

hello,

I just install the new ARDUINO IDE2 RC4 on my Mac (version 10.15.7 Catalina) and when I want to select my connected board and port ; the board is selected and I can compile, but there is no ports available !
With the old version of IDE (1.8.13) I can select a port and download my project on the board.

Thanks in advance.

Hello @bruno-froger. Thanks for giving the Arduino IDE 2.0.0 release candidate a try!

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. Connect your board to your computer.
  8. Open the Tools > Port menu in the Arduino IDE and verify that the port is not shown.
  9. Switch back to the terminal window if the Arduino IDE window took the focus.
  10. Press +A.
    This will select all the text in the terminal window.
  11. Press +C.
    This will copy the selected text 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 output is correctly formatted.
    Code block
  14. Press +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.

Hello ,
Thancks for your response,

when I try the command you ask, IDE start but he block on a white page and does'nt open default scketch (see picture join).
you can find here the result in terminal of command you ask me.
the result is not the same than i click on arduino Icon in Application menu, the IDE open the scketch in this case
I hope you can find the reason of my problem.

best regards.

obfe6300@MBP-de-Froger-7:~ $ /Applications/Arduino\ IDE.app/Contents/MacOS/Arduino\ IDE 
Starting backend process. PID: 3864
Using browser-only version of superagent in non-browser environment
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
root INFO Configuration directory URI: 'file:///Users/obfe6300/.theia'
root INFO Theia app listening on http://localhost:51105.
root WARN The local plugin referenced by local-dir:/Users/obfe6300/.arduinoIDE/plugins does not exist.
root WARN The local plugin referenced by local-dir:/Users/obfe6300/.arduinoIDE/extensions does not exist.
root WARN The local plugin referenced by local-dir:/Users/obfe6300/.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.2" 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 Deploying backend plugin "cortex-debug@0.3.10" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/cortex-debug/extension/dist/extension"
root INFO Deploying backend plugin "vscode-arduino-tools@0.0.2-beta.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-arduino-tools/extension/dist/bundle"
root INFO Deploying backend plugin "cpp@1.52.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-cpp/extension"
root INFO Deploying backend plugin "json@1.46.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json/extension"
root INFO Deploying 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"
root INFO Deploy plugins list took: 35.6 ms
daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
daemon INFO Using config file: /Users/obfe6300/.arduinoIDE/arduino-cli.yaml
daemon INFO arduino-cli version 0.21.0
daemon INFO Executing `arduino-cli daemon`
daemon INFO Setting up Prometheus metrics on :9090/metrics
daemon INFO {"IP":"127.0.0.1","Port":"51108"}
daemon INFO Daemon is running.
root INFO Git askpass helper is listening on http://127.0.0.1:51112.
root INFO Using Git [2.10.0] from the PATH. (/usr/local/bin/git)
root ERROR Failed to connect to localhost:51108 through proxy 10.192.64.10:8080 with status 403
root ERROR Could not create client for gRPC.
root WARN Frontend CommonFrontendContribution.configure is slow, took: 123.5 ms
root WARN Failed to resolve module: @types/body-parser
root WARN Failed to resolve module: @types/cookie
root WARN Failed to resolve module: @types/dompurify
root WARN Failed to resolve module: @types/express
root WARN Failed to resolve module: @types/fs-extra
root WARN Failed to resolve module: @types/lodash.debounce
root WARN Failed to resolve module: @types/lodash.throttle
root WARN Failed to resolve module: @types/markdown-it
root WARN Failed to resolve module: @types/react
root WARN Failed to resolve module: @types/react-dom
root WARN Failed to resolve module: @types/react-virtualized
root WARN Failed to resolve module: @types/route-parser
root WARN Failed to resolve module: @types/safer-buffer
root WARN Failed to resolve module: @types/ws
root WARN Failed to resolve module: @types/yargs
root WARN Failed to resolve module: @theia/monaco
root WARN Failed to resolve module: @theia/editor
root WARN Failed to resolve module: @types/multer
root WARN Failed to resolve module: @types/rimraf
root WARN Failed to resolve module: @types/tar-fs
root WARN Failed to resolve module: @types/uuid
root WARN Failed to resolve module: @theia/navigator
root WARN Failed to resolve module: @types/p-queue
root WARN Failed to resolve module: @theia/preferences
root WARN Failed to resolve module: @theia/editor-preview
root WARN Failed to resolve module: @theia/keymaps
root WARN Failed to resolve module: @theia/messages
root WARN Failed to resolve module: @types/diff
root WARN Failed to resolve module: @types/mime
root WARN Failed to resolve module: filenamify
root WARN Failed to resolve module: @types/request
root WARN Failed to resolve module: @types/atob
root WARN Failed to resolve module: @types/auth0-js
root WARN Failed to resolve module: @types/btoa
root WARN Failed to resolve module: @types/dateformat
root WARN Failed to resolve module: @types/deepmerge
root WARN Failed to resolve module: @types/glob
root WARN Failed to resolve module: @types/google-protobuf
root WARN Failed to resolve module: @types/js-yaml
root WARN Failed to resolve module: @types/keytar
root WARN Failed to resolve module: @types/ncp
root WARN Failed to resolve module: @types/node-fetch
root WARN Failed to resolve module: @types/ps-tree
root WARN Failed to resolve module: @types/react-select
root WARN Failed to resolve module: @types/react-tabs
root WARN Failed to resolve module: @types/temp
root WARN Failed to resolve module: @types/which
root ERROR DefaultJsonSchemaContribution.registerSchemas is taking more than 500.0 ms, new schemas are ignored.


Hello,

I show in this logs, there is an error with proxy ; i have try to launch the IDE with a connection without proxy, and all is OK, I can select a port and download the scetch in the board.

if I reconnect on a network with proxy, the issue come back.
the problem is when the user is behind a proxy.

Can you check this ?

Best regards.

Bruno.

I'm not an expert, but you can check proxies in System Preferences > Network > Advanced > Proxies.

Great work on tracking down the source of the problem @bruno-froger!

Arduino IDE 1.x has the capability to auto-detect the correct proxy settings. This capability has not yet been added to Arduino IDE 2.x:

So if you are using a proxy, you will need to configure the Arduino IDE by doing this:

  1. Select File > Preferences... from the Arduino IDE menus.
  2. Click the "Network" tab.
  3. Select the "Manual proxy configuration" radio button.
  4. Fill in the information for your proxy.
  5. Click the OK button.
  6. Select File > Quit from the Arduino IDE menus.
  7. Start the Arduino IDE again.

After that, the IDE should be able to download the required "serial-discovery" tool from the Internet so that it can find the ports of your Arduino boards.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.