Failed to install packages - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (*.blob.core.windows.net:443)

We are receiving the below error when trying to run process in UiPath Assistant. we checked the user rights and package all seem ok.

IAgentOperations.InstallProcess threw System.Exception: “Failed to install package ‘PU.AVG1001Extract.1.0.11’”.

Close details

Hello @TiMike, check if any of these steps can help you:

  1. Check Package Version: Ensure that you have the correct version of the automation package that matches the process you’re trying to run. If the package version doesn’t match, you might encounter installation issues.
  2. Package Dependencies: Check if your automation package has any dependencies that need to be installed separately. Make sure all dependencies are installed correctly.
  3. Publish Package: Confirm that the automation package was successfully published from UiPath Studio. You can check the Publish settings to ensure it’s being generated correctly.
  4. User Rights: Although you mentioned that user rights seem okay, double-check that the user running UiPath Assistant has the necessary permissions to install packages and access the required directories.
  5. Antivirus or Security Software: Sometimes, security software can interfere with package installations. Ensure that your antivirus or security software is not blocking the installation process.
  6. UiPath Assistant Version: Make sure that you are using a compatible version of UiPath Assistant with the packages you’re trying to install. Sometimes, older versions of UiPath Assistant may not be compatible with packages created with newer versions of UiPath Studio.
  7. Logs: Check the logs for more detailed error messages. The error message you provided is quite generic, so there might be more information available in the logs.
  8. Reinstallation: In some cases, reinstalling UiPath Assistant can resolve package installation issues.

Cheers! :slight_smile:

hi

try to put the robot in user mode and are if it works to download the package?

1- stop uirobot.service
2. close tray/studio
3. cmd > sc delete UiRobotSvc
4. Start tray > UiPath.Agent
then you verify that it uiservice.host is running as a process, not as a service (you can are this in the windows process explorer)

Try to download the package now.

To put it back in service mode you close everything and type uirobot.exe --restart in your installation path, în cmd.

Cheers @TiMike

Thank you for responded to my post,

Here are more error logs.

{“$id”:“1”,“innerException”:null,“message”:“The resource UiPath.uiautomation.activities.22.10.4.nupkg’. for package ‘UiPath.uiautomation.activities 22.10.4’ doesn’t exist. Did you mean UiPath.uiautomation.activities.22.10.4.nupkg?”,“typeName”:“Microsoft.VisualStudio.Services.NuGet.WebApi.Exceptions.PackageSubresourceNotFoundException, Microsoft.VisualStudio.Services.NuGet.WebApi”,“typeKey”:“PackageSubresourceNotFoundException”,“errorCode”:0,“eventId”:3000}

System.Exception: “Failed to download package ‘UiPath.UIAutomation.Activities.22.10.4’ from 'https://pkgs.dev.azure.com/uipath/5b98d55c-1b14-4a03-893f-7a59746f1246/_packaging/1c781268-d43d-45ab-9dfc-0151a1c740b7/nuget/v3/flat2/uipath.uiautomation.activities/22.10.4/uipath.uiautomation.activities.22.10.4.nupkg’.
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (323vsblobprodsu6weus26.blob.core.windows.net:443)
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.”

Check with your network team. You aren’t able to access the feed.

From the error that you provided, your company machine(s) is not allowed to access the *.blob.core.windows.net hostnames on port 443. This you can check with your network/infrastructure team.

pkgs.dev.azure.com is a DevOps hostname. When you try to pull a package from DevOps it’s getting pulled from an Azure Storage account which is dynamically generated.

To ensure that all necessary redirects are allowed by your firewall, you should consider whitelisting the following hostnames and domains:

  1. *.dev.azure.com – This will allow access to the Azure DevOps organization where UiPath packages are hosted.
  2. *.blob.core.windows.net – This will permit access to the Azure Blob storage hosting the NuGet packages.

The below configuration of the C:\Program Files\UiPath\Studio\NuGet.config file can help in case the external feeds from it are accessible. After getting the needed access to *.dev.azure.com and *.blob.core.windows.net you can uncomment the line with <add key="Official" value="https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json" /> .

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <!-- Add this repository to the list of available repositories -->
  <add key="Local" value="./Packages" />
  <!--  <add key="Official" value="https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json" /> -->
  <add key="Connect" value="https://gallery.uipath.com/api/v3/index.json" />
  <add key="MyGet" value="https://www.myget.org/F/workflow/api/v3/index.json" />
  <add key="MyGetOrg" value="https://www.myget.org/F/workflow/" />
  <add key="Marketplace" value="https://gallery.uipath.com/api/v2" />
  <add key="UiPath Packages" value="https://packages.uipath.com/activities" />
  <add key="nugetv3.org" value="https://api.nuget.org/v3/index.json" />
  <add key="UiPath Official" value="https://uipath.pkgs.visualstudio.com/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json" />
  <!--<add key="My Private NuGet Server" value="http://myprivatenuget.com:8080/nuget" />-->
  </packageSources>
  <config>
    <add key="signatureValidationMode" value="accept" />
  </config>
</configuration>

More details can be found here: Allowed address lists and network connections - Azure DevOps | Microsoft Learn