POJO jobs failing due to Failure: The server sent HTTP status code 401: Unauthorized
search cancel

POJO jobs failing due to Failure: The server sent HTTP status code 401: Unauthorized

book

Article ID: 392677

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

POJO jobs fail when using encrypted password, but run fine when using plain-text password.
Reviewing this KD shows 3 different methods to encrypt the password using the Agent's password utility.
However, after following steps outlined as option 3, jobs fail with error:

Failure: The server sent HTTP status code 401: Unauthorized

Environment

AutoSys Workload Automation: Any release
Workload Automation Agent: Any release

Cause

Password contains special characters such as dollar sign ($)

Resolution

When encrypting a password that contains special characters, it is advised to either:

  1. Use the interactive menu to generate the password
  2. Surround the password with single quotes. Doing so instructs the Linux shell not to interpret special shell characters.
    Example:
    password 'dollar$sign_password'

Additional Information