bruno icon indicating copy to clipboard operation
bruno copied to clipboard

cryptic error message when request fails SSL cert validation

Open crosbyb opened this issue 1 year ago • 2 comments

I have checked the following:

  • [X] I use the newest version of bruno.
  • [X] I've searched existing issues and found nothing related to my issue.

Describe the bug

Bruno v1.13.1 running on Windows

When the "SSL/TLS Certificate Validation" setting is enabled and I send a request to an endpoint with an untrusted certificate, I get a cryptic message in the UI:

Error invoking remote method 'send-http-request': TypeError: Cannot read properties of undefined (reading 'data')

It would be great to instead get a message indicating that the server certificate was untrusted instead.

I confirmed this as a cert validation issue by disabling "SSL/TLS Certificate Validation" setting, after which the request succeeded.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

bruno-ssl-cert-validation-failure-cryptic-error

crosbyb avatar Apr 18 '24 16:04 crosbyb

probably the same issue: https://github.com/usebruno/bruno/issues/2107

thegitty avatar Apr 18 '24 18:04 thegitty

I am facing the same issue.

haagtobias avatar Apr 29 '24 07:04 haagtobias