Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
35k stars 1.98k forks source link

No connection established on gRPC with server-side TLS, self-signed certs #6267

Open krixlion opened 1 year ago

krixlion commented 1 year ago

Expected Behavior

A gRPC call goes through and either succeeds or a descriptive error is returned.

Actual Behavior

Error 14 No connection established is returned with no further messages or logs.

The only log from main.log that appeared after the request: [2023-08-13 16:43:46.269] [info] [gRPC] connecting to url=localhost:50055 with TLS

image image

Reproduction Steps

  1. Set up basic gRPC server with server-side TLS configured using my repo.
  2. Create a new collection and a gRPC request.
  3. Prefix the url with grpcs:// e.g grpcs://localhost:50055.
  4. Add the CA cert in the collection settings.
  5. Send the request.

Is there an existing issue for this?

Additional Information

I've encountered this issue when testing locally my own gRPC server written in Go.

Everything was working as expected until I configured server-side TLS using self-signed certificates. I can confirm the request is handled just fine when using a different client like grpcurl.

A minimal example including the certs I've used is here.

Insomnia Version

2023.4.0

What operating system are you using?

Windows

Operating System Version

Windows_NT x64 10.0.19045

Installation method

Downloaded from insomnia.rest

Last Known Working Insomnia version

No response

afluegge commented 1 year ago

I have the same problem.

zhutoutou commented 2 months ago

I also met this problem today

apptio-speravali commented 2 months ago

Hi, Is there a timeline when this can be fixed?