Support > Forums > OpenBots Server > Cannot run a scheduled bot

Cannot run a scheduled bot

Nisala Jayasinghe

  • Reporter
  • Calender Icon September 16,2021 at 10:15 AM

I'm getting following error when run a bot in a schedule "Exception when calling CredentialsApi.GetCredentials: Error calling GetCredential with status Unauthorized: Unauthorized Access. Request must be HTTPS"

Thanks.

This forum has 65 topics, 191 replies, and was last updated one month ago by Ghouse Shaik

Nataly Alvarado...

  • Participant
  • Calender Icon September 16,2021 at 4:45 PM

Hi Nisala,

We have a security requirement in Server version 1.5.0 or higher. In order to be able to call the credential commands or use the Active Directory agent credentials (which happens when a job runs) you will need to use an https connection. Meaning, you will need to bind a certificate to your OpenBots Server. This was added as a safety measure, to ensure credentials are always shared through a secure protocol.

If you are enrolled to OpenBots Academy, you can access our guide on Self Signed Certification and binding. To Access it, please navigate to OpenBots Academy > OpenBots Setup and Configuration > Self-Signed Certification Creation and Binding for Sandbox Environment.

Direct Link: Self-Signed Certification Creation and Binding for Sandbox Environment

After binding your process, make sure to update the AppSettings server file located at: C:\Program Files (x86)\OpenBots Inc\OpenBots Server\appsettings.json. The WebAppURL should point to the newly binded url.

Restart your IIS service after the steps are completed.

You are not authorized to reply, please click here to login and add your reply to this topic.