Kuper-Tech / grpc-wiremock

Other
34 stars 2 forks source link

Fixed invalid header field name :authority error in sbermarkettech/grpc-wiremock:v1.1.1 #9

Closed rogzy closed 6 months ago

rogzy commented 6 months ago

Hi, guys! I used to GRPC_WIREMOCK_IMAGE=sbermarkettech/grpc-wiremock:v1.1.1 and faced with next problem with grpc call.

grpcurl \
    -d '{"uuid": "1234", "message": "foo"}' \
    --authority "push-sender" --plaintext \
    localhost:3010 push_sender.PushSender/Notify
ERROR:
  Code: Unknown
  Message: do http response: Post "http://localhost:80/PushSender/Notify": net/http: invalid header field name ":authority"

But in commit story I found fix "Fixed invalid header field name :authority error" from Kutenkova Tatyana. I think this commit wasn't add to last build.

Screenshot 2024-02-26 at 10 46 48

Can you help me?

wtertius commented 6 months ago

Hi, Alex @rogzy! Please try sbermarkettech/grpc-wiremock:1.1.2 (released today on 2024-03-11). It should be fixed there.

wtertius commented 6 months ago

I close the issue, hope the solution above works. Please reopen if the problem repeated.