the issue seems to be resolved by using grpc with "grpc.WithDialer" option 
(which then used a net.DialTimeout call to create the connection) in 
grpc.Dial call
Also, i needed to add an extra "/" to the absolute path, so a path line 
"unix:///var/run/xyz" would now become "unix:////var/run/xyz". 
On Monday, January 4, 2021 at 5:33:22 PM UTC-8 Ganesh Sangle wrote:

> hello,
> i am trying to debug using grpc over unix domain socket on linux.
> the server (in c++) starts and creates the sockets and the Wait API call 
> is waiting.
> the client (in go) also connects fine:
>
> conn, err := grpc.Dial("unix:///....)
> if err != nil {
>     /// ...
> }
>
> err is nil so i assume connection works fine. fwiw i use "nc" to connect 
> to it and it works fine as well.
>
> however, when making an rpc call, it returns "all SubConns are in 
> TransientFailure".
>
> how do i debug this ? any pointers will help. thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/663e9171-cd86-4502-9ef8-ad48f83aa2a9n%40googlegroups.com.

Reply via email to