Failed to install package

Hi

  1. I was able to publish the package from Uipath Studio to Orchestrator (In company server).
  2. After running the robot from the orchestrator, the job “faulted” and the UiPath Robot failed to install the package.
  3. When checked the “.nugget/packages” only two files (AllDependencies.json and nugget.cache) was downloaded. The rest of the files (lib, nupkg.sha512, nuspec) are not installed/downloaded .

Studio used: Enterprise Edition (licensed) 18.3.3
Orchestrator(licensed) : 18.3.3
Robot: 18.4.4

Any suggestions/help regarding what might have gone wrong will help.
Thanks in advance.

1 Like

Hi,

Are you by any chance under a proxy connection ?

-Andrei

Hi @andreiT,
yeah. But Uploading of package from Uipath studio to orchestrator has no issues. There is only issue in downloading package from orchestrator to Uipath Robot while running a job.

Thanks

1 Like

@andreiT @loginerror @cosmin.sandulescu

As the orchestrator is in their comapny’s server, they might be using their company’s business network connection which might have a proxy/firewall blocking the packages to be downloaded to the robot machine. Is there any workaround for this?

Doesn’t matter, publish and download are done in separate ways, and under different users.
It’s most likely that you did not update the proxy for the Local System’s nuget.config file, the one from :

c:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\NuGet

See points 7 to 11 from this link :

If the problem still persists, it might be that Local System account does not have the right to use the proxy server. To verify this, put the robot in user-mode and try to download the packages again:

How to put a robot in usermode:
1- stop uirobot.service
2. close Studio and robot tray (settings > quit)
3. elevated cmd > sc delete UiRobotSvc
4. Start tray > UiPath.Agent
then you verify that it is running as a process, not as a service

2 Likes

Hi @andreiT,

  1. Navigate to C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\NuGet if you have a 64-bit operating system or C:\Windows\System32\config\systemprofile\AppData\Roaming\NuGet if you have a 32-bit operating system.

Inside Roaming, NuGet folder is not present. Please help. Why is this so?

Do you not have robot installed as a service (enterprise MSI installer) ?

Are you having this problem on a community edition ?

Hi @andreiT,

Do we want to manually install Robot as a service? How we ensure, Robot installed as service?

I have tried publishing the package from both enterprise and community edition. The installation of package faulted in both the cases.

If you install via msi it’s automatically installed as a service.
If you install via community edition, it’s running in user mode.
Just never have these two installed together (MSI and community).

If you say you cannot download packages when using community edition, the problem might be on Orchestrator side.
What Orchestrator are you using ?
When you Open Studio > Package manager, are you able to see the activities from Orchestrator feed or from Official Feed?