Getting Gloo error when connecting server and client over VPN from different systems

i running rpc_sync between 1 server and 2 nodes connected over VPN. when i run them as containers from single platform (like server or laptop), there is no error. but if i divide the server container and node containers on a laptop and azure VM both connected to VPN, there is an error " RuntimeError: Gloo connectFullMesh failed with […/third_party/gloo/gloo/transport/tcp/pair.cc:144] no error"

Solved this by adding os.environ[“TP_SOCKET_IFNAME”]=“tun0” os.environ[“GLOO_SOCKET_IFNAME”]=“tun0” to where i called init_rpc. We were also tunnelling the communication through VPN.

1 Like