caddy-grpc-web icon indicating copy to clipboard operation
caddy-grpc-web copied to clipboard

Not returning any content

Open Zagreus9723 opened this issue 10 months ago • 3 comments

Hello! I have set this up to communicate with an Android Emulator. The requests go through as 200, but no content is returned.

Zagreus9723 avatar Mar 03 '25 02:03 Zagreus9723

:443 { tls { on_demand } route /android.emulation.control* { grpc_web reverse_proxy 127.0.0.1:8554 } reverse_proxy localhost:9091 }

Caddy config

Zagreus9723 avatar Mar 03 '25 02:03 Zagreus9723

Was watching emulator logs, and no errors were thrown, so I do think it is probably this package.

Zagreus9723 avatar Mar 03 '25 03:03 Zagreus9723

Well, honestly, I don't have much gRPC experience and I don't use it personally. I just threw this together real quick to see if it could work. It does for some people, I am not sure what is happening here nor do I have the know-how/time to debug it. But if anyone else wants to pick it up, I would welcome that!

mholt avatar Mar 03 '25 17:03 mholt