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

[Bug]: HUBL "unknown service grpc.reflection.v1.ServerReflection" panic error #16533

Closed
Tracked by #16220
bizk opened this issue Jun 13, 2023 · 3 comments · Fixed by #16534
Closed
Tracked by #16220

[Bug]: HUBL "unknown service grpc.reflection.v1.ServerReflection" panic error #16533

bizk opened this issue Jun 13, 2023 · 3 comments · Fixed by #16534
Labels

Comments

@bizk
Copy link
Contributor

bizk commented Jun 13, 2023

Summary of Bug

Trying to connect to a zone like evmos or cosmos-hub through hubl, will panic with the error message:

panic: rpc error: code = Unimplemented desc = unknown service grpc.reflection.v1.ServerReflection

Version

main version

Steps to Reproduce

System: MacOS - m1 chipset

Build hubl: make
Run hubl ./hubl init evmos
Select any endpoint i.e "grpc-evmos-ia.cosmosia.notional.ventures:443"

It will fail to connect through GRPC.

@bizk bizk added the T:Bug label Jun 13, 2023
@bizk
Copy link
Contributor Author

bizk commented Jun 13, 2023

I've been playing around with HUBL code to adapt it to rosetta, in order to solve this issue, we need to use "grpc_reflection_v1alpha" reflection service instead of "grpc_reflection_v1". This approach is not desirable since v1alpha is deprecated.

Based on my experience, this might break other behaviour as msgType reflection. For instance.

@julienrbrt
Copy link
Member

julienrbrt commented Jun 13, 2023

You are correct, it does not work anymore, due to this: #16055

This approach is not desirable since v1alpha is deprecated.

We should at least revert, for fixing hubl immediately and then investigate how to use grpc_reflection_v1.

@bizk
Copy link
Contributor Author

bizk commented Jun 13, 2023

Idk if there is a straight forward solution on hubl end, since I believe it is something related to the grpc server, but I have to play around some more to find out

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

Successfully merging a pull request may close this issue.

2 participants