Get Credential completely freezes UiPath

A workflow that’s been working for weeks stopped working since today. The problem is the flow does not yield any errors and just completely freezes UiPath. Both the ‘Stop’ button and F12 can be clicked a million times, nothing will happen. The only way to close UiPath is by ending the process through Windows Task Manager.

After doing some debugging I found the problem was in ‘Get Credential’. I’ve set up a simplified workflow to identify the problem. Unfortunately, it’s still not working. Here’s what I’ve set up:

FULL WORKFLOW
image

GET CREDENTIAL DETAILS
image

VARIABLES

SecuredString to String conversion
New System.Net.NetworkCredential(string.Empty, PassWord).Password

The only work-around for now, is adding the credentials as unsecured strings.

Hope someone can help me with this one.

Hi @stevenvd

Can you please create a test workflow and just test get credentials there?

Try to remove the activity and have a new one

Thanks,
Prankur

3 Likes

Thanks for your reply @PrankurJoshi

I started a complete new project to build this debug workflow.

It seems to be a persisting problem.

Hi @stevenvd

Was this issue ever fixed? My best bet would be that the Robot service and Studio were having a version mismatch (it was an issue in the past due to something stopping auto-updater from properly restarting the Robot service).

Typically the solution was to restart your Machine / the Robot process.

Let us know thought if the issue kept on happening/was never resolved :slight_smile:

1 Like

Hello!

Thanks for following up on this one.

I solved the issue by using Get secure credential instead of Get Credential.

image

1 Like