-unix does not work and expects a port
in grpcurl ./grpcurl -plaintext -unix /var/run/grpc.sock list does work fine with my server.
But with grpcui it does not start up and outputs an error.
./grpcui -plaintext -unix /var/run/grpc.sock Failed to dial target host "/var/run/grpc.sock": connection error: desc = "transport: error while dialing: dial tcp: address /var/run/grpc.sock: missing port in address"
@mluhmann looking at the code differences between grpcurl and grpcui, it's not obvious what the difference is. Can you try something for me?
- pass in
authority=localhosthttps://github.com/fullstorydev/grpcurl/pull/445
This started happening to me too on version 1.4.3. The same command has worked against the same socket previously.
The equivalent grpcurl command fails with the same error for me, though.
Edit: using version 1.4.1 works for me. There must've been a regression at some point.
yes, I almost forgot about that. I am not working with the newest grpcurl because of this issue. https://github.com/fullstorydev/grpcurl/issues/496 Thanks for the hint, I will go back to an older version.
Duplicates https://github.com/fullstorydev/grpcurl/issues/496
See workaround for current version:
grpcurl -plaintext -authority dummy unix:///tmp/actions.sock list