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

Running reflect on a tls endpoint gives porting error #694

Open
michealroberts opened this issue Oct 3, 2024 · 0 comments
Open

Running reflect on a tls endpoint gives porting error #694

michealroberts opened this issue Oct 3, 2024 · 0 comments
Labels

Comments

@michealroberts
Copy link

Describe the bug

To reproduce

So I have deployed a very simple connect-go service to Google Cloud Run, whereby I receive an endpoint. I then run the following command e.g.,

evans --tls --host https://service-name-***.region.run.app -r

And I receive this error:

evans: failed to run REPL mode: failed to instantiate a new spec: failed to instantiate the spec: failed to list packages by gRPC reflection: failed to list services from reflection enabled gRPC server: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: address https://service-name-***.region.run.app:50051: too many colons in address"

Please note, in the above I have changed the default URL endpoint in this example.

However, as you can see evans is looking at: https://service-name-***.region.run.app:50051: ...

I have confirmed that it is running by using a simple client:

Screenshot 2024-10-03 at 13 27 48

This also logs on the server:

Screenshot 2024-10-03 at 13 28 26

So I feel I have confirmed that the service is running, healthy and can call the rpc I am targeting.

I think how evans extracts the default port here is an issue ... perhaps it is the command I am using? It might need some extra blanked port information?

Expected behavior

Evans should be able to detect the reflection from that service.

Screenshots

n/a

Environment

  • OS: macOS Sanoma Version 14.5 (23F79)
  • Terminal: Hyper but also default Mac Terminal, and vscode terminal
  • Evans version: evans 0.10.11

Additional context

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant