K6 gRPC: unable to resolve google.protobuf.Any

Hi,

I am using k6 version v0.54.0 (commit/baba871c8a, go1.23.1, linux/amd64). I am running into an issue where k6 grpc module is unable to parse messages/payload where the type is google.protobuf.Any. The request i’m trying to parse is (sharing for reproduction purposes):

Endpoint: grpc.hongbai.mantrachain.io:443
Path: cosmos.auth.v1beta1.Query/Accounts
Data: {}

I am using the k6 grpc module in javascript: k6/net/grpc.

I see that with release v0.39.0, this was fixed, but I am still encountering this issue in a much later version. (k6/release notes/v0.39.0.md at master · grafana/k6 · GitHub)

Hi @amman

Welcome to the community forums! :wave:

What error message do you get? Would it be possible to share (without business details) how does your proto looks like?