Customers unable to sign in
Postmortem

Customer Impact

On May 22 at 8:07 UTC, there was an issue impacting all customers of UiPath Automation Cloud Public Sector. Users were either unable to sign in, received timeouts, or their sign in took greater than a minute. The issue was resolved by 10:00 UTC.

Root Cause

To ensure the health of our products, UiPath runs automated testing against all of our services. At the time of the issue, a feature flag was activated. The automated tests then generated a lot of data, which exceeded the capacity of our licensing service. In particular, there were many expensive SQL queries, which maxed out the resources of a critical SQL database. Consequently, all new authentications had degraded performance.

Detection

Our automated monitoring system detected the issue within minutes, and our engineers immediately started investigating.

Response

Engineers were able to quickly narrow down the problem to an issue with the SQL database. They then further identified the specific query which was causing performance impact. They performed the following actions in parallel:

  • Deactivate the feature flag
  • Scale up the database to mitigate performance issues and lower customer impact
  • Purge the database of the excessive test data to bring query performance back into normal parameters.

After these actions were performed, the database returned to a health state and users could sign in normally.

Follow-Up

We are continuing to analyze this incident to identify all possible improvements:

  • We have enabled an optimization mechanism which helps mitigate similar issues in the future.
  • Further analysis is being done on the processing capacity of the licensing service.
  • We will investigate why the feature flag caused a large amount of test data. The feature flag will not be reenabled until a full analysis is made.
  • We will re-evaluate our pre-production validation systems and deployment procedures to understand why this issue was not captured before reaching a production environment.
Posted May 24, 2024 - 16:31 UTC

Resolved
Customers are unable to sign in to UiPath Automation Cloud Public Sector due to degraded performance of the authentication service.
This issue was quickly investigated and repaired. Please see the postmortem for more information.
Posted May 22, 2024 - 08:00 UTC