Mother host process running as user A. Plugin process running with sudo i.e root.
Plugin creates a unix domain socket at /tmp/plugin226668393 but mother host is unable to connect.
rpc error: code = Unavailable desc = connection error: desc = "transport: error while dialing: dial unix /tmp/plugin226668393: connect: permission denied" 
Possible solutions:
Shared directory
Use tcp instead in linux