The Issues with the Arduino Cloud Agent

Hello everyone, I have installed the Arduino Create agent multiple times now, and every time, the cloud agent icon appears in the system tray for a day or two, then it disappears but still works for about a week, then it goes out completely. Is there anything on this that anyone knows about? It gets annoying to have to reinstall it every few weeks...

Thank you!

Mine is fine, but I have a Mac LOL

1 Like

Yeah, I've got a windows...

@ptillisch, do you have any ideas?

Thanks.

On the Mac it had to be ver 1.6.1. If you have that then it's a windows problem.

I'm very certain that I installed the windows version...

Yes but what number, click on it, does it look like the following?

I can't click on it right now; the icon is gone even though it's still working.
But yes, it did look something like that.

Hi @rlsieben.

Did you check to see if it is still present in the "hidden icons" area of the Windows notification area? In addition to the icons shown directly on the taskbar, there is another area where icons may be located. It is accessed by clicking the ˄ icon on the taskbar:

image

1 Like

Sure did, it normally goes to the hidden icons part of the taskbar when the icon appears.
But it is not there and it is still working, but like I said earlier in this topic,

So, it is still working right now without the icon, but eventually it will go out completely.

Please try this:

  1. Open the Windows "Start" menu.
  2. Search for task manager
  3. Start the "Task Manager" app.
  4. Find "Arduino_Cloud_Agent.exe" in the list of processes and click on it.
  5. Click on "End task" on the processes toolbar.
  6. Start Cloud Agent again.

After doing that, do you now see the icon in the notification area, or is it still missing?

It's not in the Task Manager.


Yet somehow it is still working :thinking:

Interesting.

What exactly do you mean by "it is still working"?

Is Arduino Cloud Editor able to detect the serial port of your Arduino board?

Yeah, even though the agent is completely invisible the cloud is still able to detect the USB port. :confused:

Do you see the icon in the notification area after you restart your computer?

Nope.

I'm going to ask you to run Arduino Cloud 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 Cloud 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 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\ArduinoCloudAgent\Arduino_Cloud_Agent.exe" 2>&1 | Out-String -Stream; if (-not $?) {& "$Env:APPDATA\ArduinoCreateAgent\Arduino_Create_Agent.exe" 2>&1 | Out-String -Stream}
    
  7. Press the Enter key.
  8. Repeat the operation in Arduino Cloud, 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.
  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.

I can't. There is no icon.
When I typed the command, I got this error:

& : The term 'C:\Users\dcsie\AppData\Roaming\ArduinoCloudAgent\Arduino_Cloud_Agent.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was 
included, verify that the path is correct and try again.
At line:1 char:3
+ & "$Env:APPDATA\ArduinoCloudAgent\Arduino_Cloud_Agent.exe" 2>&1 | Out ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\dcsie\...Cloud_Agent.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
& : The term 'C:\Users\dcsie\AppData\Roaming\ArduinoCreateAgent\Arduino_Create_Agent.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was 
included, verify that the path is correct and try again.
At line:1 char:103
+ ... -not $?) {& "$Env:APPDATA\ArduinoCreateAgent\Arduino_Create_Agent.exe ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\dcsie\...reate_Agent.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Just like I told you, now the create agent has gone out completely now and I will need to reinstall it.

I still am having trouble with the agent.
Any help is appreciated.

Thanks!