iDash CLI fails to connect with HTTP 400 error
search cancel

iDash CLI fails to connect with HTTP 400 error

book

Article ID: 441907

calendar_today

Updated On:

Products

iDash Workload Automation

Issue/Introduction

When running iDash command-line tools like idgencsv, the command fails with the following error: Cannot connect to specified primary server url:http://[HOSTNAME]:8453 Additionally, logs may show java.io.IOException: Server returned HTTP response code: 400.

Resolution

To resolve this issue, update the protocol in the iDash configuration file:

1. Navigate to the iDash configuration directory: /opt/CA/idash/etc/ (or your specific IDASH_HOME/etc/).
2. Open the idash.conf file in a text editor.
3. Locate the server URL properties:
         - idash.server.url
         - idash.server.url.2 (if applicable)
4. Change http:// to https:// for both entries.
5. Save the file.
6. Run the CLI command again to verify connectivity. No service restart is typically required for CLI tools to pick up this change.