You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to have a setup in which machine A connects to machine B, but A is the gRPC server and B is the client.
My approach was to use a multiplexing library like yamux in order to first establish a regular TCP connection, and then to create a server stream on the client (machine A) and have the server (machine B) connect to it.
All of this would've been possible if gRPC had a way of dialing over an existing connection instead of necessarily receiving a target address. I wanted to know if there's a way to get this done, or altogether a different approach to solve this problem.
Thanks.
The text was updated successfully, but these errors were encountered:
there several use cases for this technique and examples in the community, there is this old discussion in the repo about how to achieve this (#484 (comment))
I still could not pinpoint what broke my example in 1.46, I suspected it was related to #5274
Anyway, if you think I can still make the dial over reverse connection work in 1.46+ by changing the Dialer options it will be of great help
@elongl if you can use older grpc versions, 1.45 should work for your use case if I understood it correctly
I want to have a setup in which machine A connects to machine B, but A is the gRPC server and B is the client.
My approach was to use a multiplexing library like yamux in order to first establish a regular TCP connection, and then to create a server stream on the client (machine A) and have the server (machine B) connect to it.
All of this would've been possible if gRPC had a way of dialing over an existing connection instead of necessarily receiving a target address. I wanted to know if there's a way to get this done, or altogether a different approach to solve this problem.
Thanks.
The text was updated successfully, but these errors were encountered: