Skip to content

When retrieving a certificate with timeout the underlying error is hidden #171

@barucoh

Description

@barucoh

PROBLEM SUMMARY
When retrieving a certificate with timeout set to anything other than 0 the returned error does not include the status code or the actual errors that occurred when trying to retrieve the certificate.
All we get is an "Operation timed out" and for all we know this could just mean a "slow network", but in the case there were at least more than 1 retries we need to know all the errors that occurred during every retry.
More specifically, every retry attempt we need to know the actual underlying error with its status code (if any).

This will greatly help troubleshooting errors

STEPS TO REPRODUCE

  • Create a certificate
  • Try to retrieve that certificate with timeout > 0 (Make sure it is impossible to actually retrieve the certificate so the request to retrieve it fails)

EXPECTED RESULTS
Seeing a number of errors as the number of retries, each with it's status code

ACTUAL RESULTS
Just seeing a plain "Operation timed out" error

ENVIRONMENT DETAILS

COMMENTS/WORKAROUNDS

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions