Error using Get Credential

Hello guys, I’m currently facing this error when I try to use the “Get Credential” activity.

System.Threading.Tasks.TaskCanceledException: "The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.

I’ve tried to increase the timeout up until 5 minutes and I get this error then:

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.

We already have some other processes that use the same activity and have no problems.

I don’t really know how to approach it further. Any help is very welcome.

Kind Regards,
Rodrigo Simão

Hi,

Are you using a 3rd party credential store? if so, check with your infrastructure team as there might be a firewall or policy giving you a hard time.

If your credentials are hosted in Orchestrator’s vault, and Orchestrator is indeed working normally, I would suggest to raise a ticket to UiPath.

Also consider the following questions,
which version of UiPath.System.Activities are you using?
is it the same version you have in other projects?
does it happen only in dev?
is your orchestrator on premise? if so, is your dev machine on the same network? do you need to use a vpn?

Check Orchestrator Connection: Ensure your robot is connected to Orchestrator. If disconnected, reconnect it.

Network & Firewall: Verify that there are no network issues or firewall blocking communication between the robot and Orchestrator.

Restart UiPath Service: Restart the UiPath Robot service on the machine to reset any connection issues.

Might open ticket then…

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