Starting with v2021.4.4, the Robot can work with proxy configurations that use Authentication via Windows Credentials.
To enable this functionality, add the UiPath_PROXY_USE_DEFAULT_CREDENTIALS system environment variable on the machine with the value set to true."
Do you have any idea where these settings were kept, I did not set or configure the files to see the value we set on my VM
In Windows 10 menu, go to Settings (WinKey+I) and search for “Credential Manager”. Under Windows Credentials, add a new entry for Windows Credentials. Enter the Proxy Server address (without the port number), your domain user name, and the password.
Once these details are active, you should be able to make use of the proxy server under your custom-entered user credentials.
Just remember to deactivate the “Use a Proxy Server” setting (first step) when browsing from outside the network where the proxy is required.
In the Windows 10 menu, I went to settings (WinKey+I) and searched for “Configure Proxy Settings”. Select Internet Settings > Local LAN Settings >Proxy Server Settings.
Select the option to make use of a proxy server, and enter the Server Address and Port
I’m a little confused. What if we are not using Windows Credentials, but our proxy just uses our logged in Windows user?
I was recently switched over to user mode in Studio, and started getting the “407 authentication required” error. I added the UiPath_USE_DEFAULT_CREDENTIALS environment variable which made the error go away, but it seems like I’m still unable to load packages from the official feed.
Again, we are not using Windows Credentials (ie Credential Manager) just normal Windows authentication. Does that mean I do not need the environment variable? Do I still need to do the UiPath.config portion?
Shouldn’t UiPath just be able to function normally through our proxy without any specific configuration? Everything else does, as the proxy is configured at the Windows level.
Thank you for the information. I’m not sure I’m even on the right track. For background…
For whatever reason my Studio was originally installed in service mode and everything worked fine for a long time. Last week, in preparation for moving to modern folders in Orchestrator I was switched to user mode and started having problems with the feeds. I realized the 407 error was only occurring for the marketplace feed - but that’s because in our environment we do not allow non-official packages.
However, I am still having issues with some of the feeds. Here are the feeds and the errors I’m getting:
We are currently waiting on these URLs to be added to our whitelist. Currently we only have https://www.myget.org/F/workflow whitelisted, but it appears newer packages don’t exist here, they only exist in the pkgs.dev.azure.com feed (for example, I can’t find the Windows compatibility versions of UiPath.PDF.Activities in the official feed https://api.nuget.org/v3/index.json)
From cmd.exe as Administrator to set them in the Environment variables:
setx http_proxy=http://user:password@proxyIP:proxyPort
setx https_proxy=http://user:password@proxyIP:proxyPort
SET HTTP_PROXY=http://user:password@proxyIP:proxyPort
SET HTTPS_PROXY=http://user:password@proxyIP:proxyPort
When specific hostnames should not go through proxy:
SET NO_PROXY=*.what;*.the;*.hell;*.i.should;*.not.have;*.todo;*.this
SET no_proxy=*.what;*.the;*.hell;*.i.should;*.not.have;*.todo;*.this
The official online UiPath feed, where you can find the activity packages that are officially supported by us. This feed has the following source: https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json .
· Go to Control Panel → Programs → Apps and Features → Uninstall the UiPath Platform Installer (if exists) and UiPath Studio
After the UiPath Studio/Robot uninstallation, delete the below folders if exists:
· The settings in the folders %PROGRAMDATA%\UiPath, %LOCALAPPDATA%\UiPath, and %APPDATA%\UiPath
· The packages folder %USERPROFILE%.nuget\packages
· The NuGet cache folder %LOCALAPPDATA%\NuGet\v3-cache
· The Assistant processes folder in the Windows Start menu %APPDATA%\Microsoft\Windows\Start Menu\Programs\UiPath Assistant Automations and %APPDATA%\Microsoft\Windows\Start Menu\Programs\UiPath Assistant Processes
· The content from the %temp% folder
Install again the UiPath Studio/Robot using this installer https://download.uipath.com/versions/23.4.4/UiPathStudio.msi
We are having the same issue on all computers/servers. We were pointed to this document by someone else at UiPath. This is important information, it isn’t just the feed URL that needs to be whitelisted. We are working on whitelisting the additional URLs, and I will report back here when we know if it worked or not.
The additional URLs (the redirected ones) which are not whitelisted, will appear as the connection was refused on port 443 in the error logs (in Event Viewer logs for example, or in other network monitoring tools). You will need to provide access to those.
We whitelisted everything according to your documentation. I’m still getting “cannot load service index” for the official pkgs.dev.azure.com feed.
In the index.json that is returned by that feed, there is:
When I try to browse to schema.nuget.org I get “host is not resolvable.” Even on my cell phone which has nothing to do with our corporate network, I get the same error. There is no such domain as schema.nuget.org so is the index.json wrong?