hammer ping is failing with error "Error: Server broke connection"

Solution In Progress - Updated -

Issue

Hammer command is failing in Satellite 6 with below error :

# hammer -u admin -p xxxxxxxxxxxxx -s https://$(hostname -f):443 ping
Could not load the API description from the server:
Server broke connection
  - is the server down?
  - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings)
Warning: An error occured while loading module hammer_cli_foreman.
Could not load the API description from the server:
Server broke connection
  - is the server down?
  - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings)
Warning: An error occured while loading module hammer_cli_foreman_ansible.
Could not load the API description from the server:
Server broke connection
  - is the server down?
  - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings)
Warning: An error occured while loading module hammer_cli_foreman_bootdisk.
Could not load the API description from the server:
Server broke connection
  - is the server down?
  - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings)
Warning: An error occured while loading module hammer_cli_foreman_openscap.
Could not load the API description from the server:
Server broke connection
  - is the server down?
  - was 'foreman-rake apipie:cache' run on the server when using apipie cache? (typical production settings)
Warning: An error occured while loading module hammer_cli_foreman_remote_execution.
Warning: An error occured while loading module hammer_cli_foreman_tasks.
Could not load the API description from the server:
Server broke connection
  - is the server down?

Environment

Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content