Arduino Create Agent crashes when opening cloud sketch editor

Pretty straightforward. My ACA opens up just fine according to windows, but every time I open the Web Editor tab, the ACA crashes. I enabled crash logs and it's given me the following error report:

Failed to write to log, write /dev/stdout: The handle is invalid.
Failed to write to log, write /dev/stdout: The handle is invalid.

Any ideas why this is happening?

Hi @trich0802. I'm going to ask you to run Arduino Create Agent from the command line, then post the output in a reply here.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. If Arduino Create Agent is running, terminate it by clicking the Arduino icon in the Windows "notification area" and then selecting "Quit Agent" from the menu.
  2. Right click the Windows "Start" button.
    A context menu will open.
  3. Select "Search" from the context menu.
    The Windows "Start" menu will open with a search field selected.
  4. Type windows powershell ise in the search field.
  5. Select "Windows PowerShell ISE" from the search results.
    A "Windows PowerShell ISE" window will open.
  6. Type the following command:
    & "$Env:APPDATA\ArduinoCreateAgent\Arduino_Create_Agent.exe" 2>&1 | Out-String -Stream
    
  7. Press the Enter key.
  8. Open the Web Editor tab, just as you did before when you encountered the problem.
  9. Switch back to the "Windows PowerShell ISE" window.
  10. Select Edit > Select All from the Windows PowerShell ISE menus.
    All the text in the terminal panel of the window will be selected.
  11. Select Edit > Copy from the Windows PowerShell ISE menus.
    This will copy the selected text to the clipboard.
  12. Open a forum reply here by clicking the "Reply" button.
  13. Click the <CODE/> 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 icon on toolbar
  14. Press the Ctrl+V keyboard shortcut.
    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.

These log entries occur even when Arduino Create Agent is running perfectly. It is a quirk of the the application running as a background process on Windows.

So they don't give us any sort of a clue as to the cause of the crash unfortunately.

PS C:\Users\Lilne> & "$Env:APPDATA\ArduinoCreateAgent\Arduino_Create_Agent.exe" 2>&1 | Out-String -Stream
time="2024-01-30T15:35:51-06:00" level=info msg="using config from default: C:\\Users\\Lilne\\AppData\\Roaming\\ArduinoCreateAgent\\config.ini"
time="2024-01-30T15:35:51-06:00" level=info msg="additional config file not found in config.ini"
time="2024-01-30T15:35:51-06:00" level=info msg="Version:1.3.6"
time="2024-01-30T15:35:51-06:00" level=info msg="Hostname: DESKTOP-O0JRHK7"
time="2024-01-30T15:35:51-06:00" level=info msg="Garbage collection is on using Standard mode, meaning we just let Golang determine when to garbage collect."
time="2024-01-30T15:35:51-06:00" level=info msg="Setting HTTP_PROXY variable to http://your.proxy:port"
time="2024-01-30T15:35:51-06:00" level=info msg="Setting HTTPS_PROXY variable to http://your.proxy:port"
time="2024-01-30T15:35:51-06:00" level=info msg="You specified a serial port regular expression filter: usb|acm|com\n"
time="2024-01-30T15:35:51-06:00" level=info msg="Your serial ports:"
time="2024-01-30T15:35:51-06:00" level=info msg="\t{COM5    0x8054 0x2341 EFED1CCA51544C3954202020FF081635 false}\n"
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /                         --> main.homeHandler (2 handlers)
[GIN-debug] POST   /upload                   --> main.uploadHandler (2 handlers)
[GIN-debug] GET    /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] POST   /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] WS     /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] WSS    /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] GET    /info                     --> main.infoHandler (2 handlers)
[GIN-debug] POST   /killbrowser              --> main.killBrowserHandler (2 handlers)
[GIN-debug] POST   /pause                    --> main.pauseHandler (2 handlers)
[GIN-debug] POST   /update                   --> main.updateHandler (2 handlers)
[GIN-debug] GET    /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] POST   /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] PUT    /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] PATCH  /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] HEAD   /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] OPTIONS /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] DELETE /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] CONNECT /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] TRACE  /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on 127.0.0.1:8991
time="2024-01-30T15:35:51-06:00" level=error msg="Could not find HTTPS certificate. Using plain HTTP only."
time="2024-01-30T15:36:13-06:00" level=info msg="Starting updated binary:  C:\\Users\\Lilne\\AppData\\Roaming\\ArduinoCreateAgent\\Arduino_Create_Agent.exe-temp"

PS C:\Users\Lilne> 
PS C:\Users\Lilne> & "$Env:APPDATA\ArduinoCreateAgent\Arduino_Create_Agent.exe" 2>&1 | Out-String -Stream
time="2024-01-30T15:35:51-06:00" level=info msg="using config from default: C:\\Users\\Lilne\\AppData\\Roaming\\ArduinoCreateAgent\\config.ini"
time="2024-01-30T15:35:51-06:00" level=info msg="additional config file not found in config.ini"
time="2024-01-30T15:35:51-06:00" level=info msg="Version:1.3.6"
time="2024-01-30T15:35:51-06:00" level=info msg="Hostname: DESKTOP-O0JRHK7"
time="2024-01-30T15:35:51-06:00" level=info msg="Garbage collection is on using Standard mode, meaning we just let Golang determine when to garbage collect."
time="2024-01-30T15:35:51-06:00" level=info msg="Setting HTTP_PROXY variable to http://your.proxy:port"
time="2024-01-30T15:35:51-06:00" level=info msg="Setting HTTPS_PROXY variable to http://your.proxy:port"
time="2024-01-30T15:35:51-06:00" level=info msg="You specified a serial port regular expression filter: usb|acm|com\n"
time="2024-01-30T15:35:51-06:00" level=info msg="Your serial ports:"
time="2024-01-30T15:35:51-06:00" level=info msg="\t{COM5    0x8054 0x2341 EFED1CCA51544C3954202020FF081635 false}\n"
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /                         --> main.homeHandler (2 handlers)
[GIN-debug] POST   /upload                   --> main.uploadHandler (2 handlers)
[GIN-debug] GET    /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] POST   /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] WS     /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] WSS    /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] GET    /info                     --> main.infoHandler (2 handlers)
[GIN-debug] POST   /killbrowser              --> main.killBrowserHandler (2 handlers)
[GIN-debug] POST   /pause                    --> main.pauseHandler (2 handlers)
[GIN-debug] POST   /update                   --> main.updateHandler (2 handlers)
[GIN-debug] GET    /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] POST   /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] PUT    /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] PATCH  /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] HEAD   /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] OPTIONS /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] DELETE /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] CONNECT /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] TRACE  /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on 127.0.0.1:8991
time="2024-01-30T15:35:51-06:00" level=error msg="Could not find HTTPS certificate. Using plain HTTP only."
time="2024-01-30T15:36:13-06:00" level=info msg="Starting updated binary:  C:\\Users\\Lilne\\AppData\\Roaming\\ArduinoCreateAgent\\Arduino_Create_Agent.exe-temp"

PS C:\Users\Lilne> 

Here ya go

I've tried to reply with the code like you've instructed twice now, and this page just refreshes, showing only the first two posts. I'm hoping this reply here will go through without the code, but I don't know why the code post refused to go through.

Hoping this works this time

PS C:\Users\Lilne> & "$Env:APPDATA\ArduinoCreateAgent\Arduino_Create_Agent.exe" 2>&1 | Out-String -Stream
time="2024-01-30T15:35:51-06:00" level=info msg="using config from default: C:\\Users\\Lilne\\AppData\\Roaming\\ArduinoCreateAgent\\config.ini"
time="2024-01-30T15:35:51-06:00" level=info msg="additional config file not found in config.ini"
time="2024-01-30T15:35:51-06:00" level=info msg="Version:1.3.6"
time="2024-01-30T15:35:51-06:00" level=info msg="Hostname: DESKTOP-O0JRHK7"
time="2024-01-30T15:35:51-06:00" level=info msg="Garbage collection is on using Standard mode, meaning we just let Golang determine when to garbage collect."
time="2024-01-30T15:35:51-06:00" level=info msg="Setting HTTP_PROXY variable to http://your.proxy:port"
time="2024-01-30T15:35:51-06:00" level=info msg="Setting HTTPS_PROXY variable to http://your.proxy:port"
time="2024-01-30T15:35:51-06:00" level=info msg="You specified a serial port regular expression filter: usb|acm|com\n"
time="2024-01-30T15:35:51-06:00" level=info msg="Your serial ports:"
time="2024-01-30T15:35:51-06:00" level=info msg="\t{COM5    0x8054 0x2341 EFED1CCA51544C3954202020FF081635 false}\n"
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /                         --> main.homeHandler (2 handlers)
[GIN-debug] POST   /upload                   --> main.uploadHandler (2 handlers)
[GIN-debug] GET    /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] POST   /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] WS     /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] WSS    /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] GET    /info                     --> main.infoHandler (2 handlers)
[GIN-debug] POST   /killbrowser              --> main.killBrowserHandler (2 handlers)
[GIN-debug] POST   /pause                    --> main.pauseHandler (2 handlers)
[GIN-debug] POST   /update                   --> main.updateHandler (2 handlers)
[GIN-debug] GET    /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] POST   /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] PUT    /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] PATCH  /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] HEAD   /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] OPTIONS /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] DELETE /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] CONNECT /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] TRACE  /v2/*path                 --> github.com/gin-gonic/gin.WrapH.func1 (2 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on 127.0.0.1:8991
time="2024-01-30T15:35:51-06:00" level=error msg="Could not find HTTPS certificate. Using plain HTTP only."
time="2024-01-30T15:36:13-06:00" level=info msg="Starting updated binary:  C:\\Users\\Lilne\\AppData\\Roaming\\ArduinoCreateAgent\\Arduino_Create_Agent.exe-temp"

PS C:\Users\Lilne> 

@trich0802, the anti-spam-bot flagged your posts. They should now all be here. Sorry about the trouble.

Was there anything helpful from that code?

I think so. When you use Arduino Cloud, it checks to see if the version of Arduino Create Agent in use is the latest version. If not, it automatically updates it. It appears that is happening on your system, and when it attempts to run the new version it crashes:

(the -temp suffix on the filename is expected under these conditions)

Which version of Windows do you have installed on your computer?

I'm running on Windows 11

I am also experiencing the same or very similar problem when I try to run the Arduino Create from the Agent version 1.3.8 -d844fbc in that the web program editor opens up apparently perfectly until I want to select a board to download the program to in which case I get "Arduino Cloud Agent Note found" The only other pointer to the problem is that the logo for the agent in the toolbar is a black logo with a white background where as I believe it should have a green blue background. In the agent the Pause Agent option is not greyed out so I assume the agent is running correctly.

As I have seen on other posts that your support team as us to run the Arduino_Create_Agent from the command line in the Windows PowerShell ISE I have done this and below you will find a copy of the output.

PS C:\Users\paulj> & "$Env:APPDATA\ArduinoCreateAgent\Arduino_Create_Agent.exe" 2>&1 | Out-String -Stream
time="2024-02-11T16:14:38Z" level=info msg="using config from default: C:\\Users\\paulj\\AppData\\Roaming\\ArduinoCreateAgent\\config.ini"
time="2024-02-11T16:14:38Z" level=info msg="additional config file not found in config.ini"
time="2024-02-11T16:14:38Z" level=info msg="Version:1.3.8"
time="2024-02-11T16:14:38Z" level=info msg="Hostname: PaulsNewAsone"
time="2024-02-11T16:14:38Z" level=info msg="Garbage collection is on using Standard mode, meaning we just let Golang determine when to garbage collect."
time="2024-02-11T16:14:38Z" level=info msg="You specified a serial port regular expression filter: usb|acm|com\n"
time="2024-02-11T16:14:38Z" level=info msg="Your serial ports:"
time="2024-02-11T16:14:38Z" level=info msg="\t{COM3    0x0010 0x2341 64932343938351108181}\n"
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /                         --> main.homeHandler (2 handlers)
[GIN-debug] POST   /upload                   --> main.uploadHandler (2 handlers)
[GIN-debug] GET    /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] POST   /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] WS     /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] WSS    /socket.io/               --> main.(*WsServer).ServeHTTP-fm (2 handlers)
[GIN-debug] GET    /info                     --> main.infoHandler (2 handlers)
[GIN-debug] POST   /pause                    --> main.pauseHandler (2 handlers)
[GIN-debug] POST   /update                   --> main.updateHandler (2 handlers)
[GIN-debug] GET    /v2/*path                 --> main.loop.WrapH.func4 (2 handlers)
[GIN-debug] POST   /v2/*path                 --> main.loop.WrapH.func4 (2 handlers)
[GIN-debug] PUT    /v2/*path                 --> main.loop.WrapH.func4 (2 handlers)
[GIN-debug] PATCH  /v2/*path                 --> main.loop.WrapH.func4 (2 handlers)
[GIN-debug] HEAD   /v2/*path                 --> main.loop.WrapH.func4 (2 handlers)
[GIN-debug] OPTIONS /v2/*path                 --> main.loop.WrapH.func4 (2 handlers)
[GIN-debug] DELETE /v2/*path                 --> main.loop.WrapH.func4 (2 handlers)
[GIN-debug] CONNECT /v2/*path                 --> main.loop.WrapH.func4 (2 handlers)
[GIN-debug] TRACE  /v2/*path                 --> main.loop.WrapH.func4 (2 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on 127.0.0.1:8991
time="2024-02-11T16:14:38Z" level=error msg="Could not find HTTPS certificate. Using plain HTTP only."
Arduino_Create_Agent.exe : time="2024-02-11T16:14:39Z" level=info msg=" id=mLZ9x9av req=HEAD /v2/pkgs/tools/installed from=127.0.0.1"
At line:1 char:1
+ & "$Env:APPDATA\ArduinoCreateAgent\Arduino_Create_Agent.exe" 2>&1 | O ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (time="2024-02-1...from=127.0.0.1":String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
time="2024-02-11T16:14:39Z" level=info msg=" id=mLZ9x9av status=200 bytes=0 time=802.3µs"
time="2024-02-11T16:14:39Z" level=info msg=" id=m1xj6TEx req=HEAD /v2/pkgs/tools/installed from=127.0.0.1"
time="2024-02-11T16:14:39Z" level=info msg=" id=m1xj6TEx status=200 bytes=0 time=497.3µs"
time="2024-02-11T16:14:41Z" level=info msg=" id=qSxT_Y1V req=HEAD /v2/pkgs/tools/installed from=127.0.0.1"
time="2024-02-11T16:14:41Z" level=info msg=" id=qSxT_Y1V status=200 bytes=0 time=0s"
time="2024-02-11T16:15:39Z" level=info msg=" id=Fjb1PmHk req=HEAD /v2/pkgs/tools/installed from=127.0.0.1"
time="2024-02-11T16:15:39Z" level=info msg=" id=Fjb1PmHk status=200 bytes=0 time=0s"
time="2024-02-11T16:15:41Z" level=info msg=" id=Kfu_GZES req=HEAD /v2/pkgs/tools/installed from=127.0.0.1"
time="2024-02-11T16:15:41Z" level=info msg=" id=Kfu_GZES status=200 bytes=0 time=0s"

If you can solve this that would be great.  Note I am running Windows 11.

Many thanks
Paul

Hi @trich0802. I apologize for my slow response. I don't have a strong hypothesis about what the problem could be. Unfortunately we aren't getting any information about what is causing it to crash.

It might be that something is wrong with your current installation of Arduino Create Agent. So I will suggest that you try reinstalling a fresh copy. I'll provide instructions you can follow to do that:

  1. Click the following link to open the page for the latest release in the Arduino Create Agent GitHub repository:
    https://github.com/arduino/arduino-create-agent/releases/latest
  2. Click the "ArduinoCreateAgent-1.3.8-windows-amd64-installer.exe" link under the "Assets" section of the page.
    The "1.3.8" is specific to the latest release at the time I write these instructions. For anyone following these instructions at some time in the future, the important part is to click the link with the "-windows-amd64-installer.exe" suffix.
  3. Wait for the download to finish.
  4. Run the downloaded file.
    The Arduino Create Agent" installer will open.
  5. Complete the installation as usual.

Now try using Arduino Cloud again as you were before when you experienced the problem. Hopefully this time everything will work as expected.


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

Hi @paul2022.

There is some old information on the Internet about the icon color. The color was changed some time ago. It now has a white background with black foreground when Arduino Create Agent is active:

image

And a gray background when it is paused:

image

So, as you guessed, the color you are seeing is the good one and you don't need to worry about that.

This looks alarming, but I also get it from my perfectly working Arduino Create Agent so I think it is nothing to worry about. My hypothesis is that PowerShell is choking on the µ character in µs

Your situation is different than @trich0802's in that your Arduino Create Agent continues running, which dictates a different troubleshooting approach. I'm going to ask you to post some additional information that might help us to identify the problem.

  1. In your Windows "notification area", click the Arduino logo.
  2. Click "Open Debug Console". This should open the "Arduino Create Agent Debug Console" in your browser.
  3. Uncheck the box next to " Enable List Command" near the bottom right corner of the "Arduino Create Agent Debug Console" window.
  4. Click the "Clear Log" button near the bottom right corner of the "Arduino Create Agent Debug Console" window.
  5. Leaving the Arduino Create Agent Debug Console browser tab open, attempt to select a board in Arduino Cloud, just as you did before.
  6. Once you get that Arduino Cloud Agent Not found" message, switch to the Arduino Create Agent Debug Console browser tab.
  7. Click the "Export Log" button in the bottom right corner of the "Arduino Create Agent Debug Console" window.
  8. Open the downloaded "agent-log.txt" file in a text editor.
  9. Press the Ctrl+A keyboard shortcut to select all the text.
  10. Press the Ctrl+C keyboard shortcut.
    This will copy the selected text to the clipboard.
  11. Open a forum reply here by clicking the "Reply" button.
  12. Click the <CODE/> 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 icon on toolbar
  13. Press the Ctrl+V keyboard shortcut. 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.

Hi Ptillisch

I’ve solved the problem! Stopped using Microsoft Edge and started using Chrome! But I have also tried to do the debug work you suggested and even that has gone wrong in Edge although it works fine in Chrome.

The following is what happens when I tried to do what you asked for in Edge

Your explanation as to what to do next seems perfectly clear but I get absolutely nothing recorded in the debug console no matter what I do. It is as though the debug console is not attempting to debug the Arduino Create. To avoid any confusion I have rebooted the computer stopped all other applications running and then opened up the debug Console de ticked the Enable List Command and cleared the log. I have then gone back to the Black and White Arduino logo in the notifications tray in the bottom right hand corner and selected the “Go to Arduino Create” and then in the Arduino Create screen selected a script and tried to Select a Device to produce the error but there is nothing showing in the Debug screen. I guess I am asking how do I get the debug screen to be debugging the Arduino Create app I am running?

The other bits of information which may Help. I have noticed that the Ardunio Create reports the error as soon as I click on New_Sketch_XXX it come up with “To upload a new sketch via USB port, make sure the Cloud Agent is installed and running on your computer”

As I would prefer to run Microsoft Edge because I get less adverts I am prepared to do more research if that would also help you. Alternatively can you suggest another browser that you know the Arduino cloud works well with?

Many thanks

Paul

Thanks for bringing this to our attention @paul2022. I am able to reproduce the problem of Arduino Create Agent not being recognized by Arduino Cloud Editor when using the Microsoft Edge browser and have submitted a report to the Arduino Cloud developers.

As a provisional workaround, I can suggest you use the "old" Arduino Cloud editor until we find a solution for using the "new" Cloud Editor with the Edge browser. I verified that Arduino Create Agent is detected as expected when using the "old" editor.

I'll provide instructions you can follow to switch to the "old" editor:

  1. Open Arduino Cloud Editor in your web browser.
  2. Click the "Settings" icon at the bottom left corner of the page:
    image
    The "Settings" panel will open.
  3. Click the "REVERT TO OLD EDITOR" link in the "Settings" panel.
    The "old" Cloud Editor will open.

Arduino Cloud will now always use the "old" editor. In case you want to switch back to the "new" editor, you can do that at any time by clicking the link in the "New Cloud Editor is out, try it now! notification you will see at the bottom right corner of the Arduino Cloud Editor page.

I would say "Chrome", but I know you are already aware of this.

Hi @paul2022. I'm happy to report that the Arduino Cloud developers have fixed the bug in the "new" Cloud Editor that caused it to be unable to communicate with Arduino Create Agent when the Edge browser was used.

So you can now switch back to using Edge with the "new" editor if you like. Please let us know if you still encounter the problem.

Thanks again for your report @paul2022!

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