grpc-websocket-proxy
grpc-websocket-proxy copied to clipboard
A proxy to transparently upgrade grpc-gateway streaming endpoints to use websockets
This adds [buf](buf.build) configuration for building the examples. It also upgrades the grpc-gateway version used in the example to version 2. Asides: For some reason, I'm not able to run...
Doesn't work with grpc-gateway/v2/runtime I was unable to start with v2. Is there an example of the work? The connection attempt ends ```json { "code": 12, "message": "Method Not Allowed",...
I am unable to find a good example to understand how the streaming works via web sockets. Any link reference or example code would help a lot. Thanks in advance.
Probably the example service should be. ``` service EchoService { rpc Echo(stream EchoRequest) returns (stream EchoResponse) { option (google.api.http) = {get: "/echo"}; } rpc Stream(Empty) returns (stream EchoResponse) { option...
I was having some weird behavior here when I set up ping/pong to keep the connection alive, where even with that, I was getting disconnected after some time. Them I...
Thanks for the work on this proxy! I'm wondering if there is any example of client-side streaming implemented with this proxy. So far, I was able to send all the...
according to https://pkg.go.dev/github.com/gorilla/websocket#hdr-Concurrency, concurrency is not supported by WriteMessage. fixes issue with nginx proxy: SSL routines:ssl3_get_record:decryption failed or bad record mac
Hey there, I see there are some docs about passing authorization using the `Sec-Websocket-Protocol` header. While this is a clever workaround, it doesn't appear as though it'll actually work for...
I'd like to get this merged into the gateway as it's very closely related to it.
I'm using server side stream, when client ws closed python server side call context.is_active() is always True, the proxy is not correctly released.