#2377 Improving CLI error message on connection problems
Closed: Duplicate None Opened 7 years ago by edewata.

Currently if the CLI cannot connect to the server for any reason it will show the same generic error message:

$ pki -d ~/.dogtag/pki-tomcat/ca/alias/ -c Secret123 -n caadmin ca-user-find
ProcessingException: Unable to invoke request

To help troubleshooting the problem it should display a more descriptive error message (e.g. server not responding, untrusted certificate).


Per PKI Bug Council of 06/23/2016: 10.3.4

Fixed in master:

  • 4bdb8793eddd8d6c26a08c8f871249aa9a5bde7a

The error message will now look like the following:

$ pki -d ~/.dogtag/pki-tomcat/ca/alias/ -c Secret123 -n caadmin ca-user-find
ConnectException: Connection refused

Closed as a duplicate of ticket #2399.

Metadata Update from @edewata:
- Issue assigned to edewata
- Issue set to the milestone: 10.3.5

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/2497

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Login to comment on this ticket.

Metadata