Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display message from "causeError" in rest client #1954

Open
ChrisBoehmCA opened this issue Oct 2, 2019 · 1 comment
Open

Display message from "causeError" in rest client #1954

ChrisBoehmCA opened this issue Oct 2, 2019 · 1 comment
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.

Comments

@ChrisBoehmCA
Copy link
Contributor

ChrisBoehmCA commented Oct 2, 2019

I issued the following command:

$ bright ops show rule TEST TEST1
Command Error:
http(s) request error event called
Error Details:
HTTP(S) client encountered an error. Request could not be initiated to host.
Review connection details (host, port) and ensure correctness.

Host:      xxx
Port:     xxx
Base Path:
Resource:  /opsmvs/api/v1/aof/rulesets/TEST/rules/TEST1/status
Request:   GET
Headers:   [{"Content-Type":"application/json"},{"Accept":"application/json"}]
Payload:   undefined

The true error message was "Error: write EPROTO 34276:error:1408F10B:SSL routines:ssl3_get_record:wrong version number" which was only in the log in a trace level message.

In this function, you could check for the existence of causeErrors and causeErrors.message and append it to the error message https://github.com/zowe/imperative/blob/master/packages/rest/src/client/AbstractRestClient.ts#L596

@awharn awharn added bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex. for-review To be reviewed in an Eng & Prod Mgmt meeting labels Dec 6, 2022
@zFernand0
Copy link
Member

Hey @dkelosky,
Is this still an issue with the OPS plugin?

@zFernand0 zFernand0 removed the for-review To be reviewed in an Eng & Prod Mgmt meeting label Jan 9, 2023
@awharn awharn transferred this issue from zowe/imperative Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Projects
Status: Medium Priority
Development

No branches or pull requests

3 participants