Skip to content

Unix sockets do not work with v1.9.3 #546

@SQUIDwarrior

Description

@SQUIDwarrior

I am unable to use the latest grpcurl binary via a Unix socket using the -unix flag. I am using the Linux x86_64 versions from the .tar.gz files.

Here is what I get with 1.8.7:

[root@ip-10-61-110-147 ~]# grpcurl -version
grpcurl v1.8.7
[root@ip-10-61-110-147 ~]# grpcurl -plaintext -unix /var/run/myservice/service.sock list
my.service.api.v1.MyServiceAPI
grpc.health.v1.Health
grpc.reflection.v1.ServerReflection
grpc.reflection.v1alpha.ServerReflection

Here is what I get with 1.9.3:

[root@ip-10-61-110-147 ~]# grpcurl -version
grpcurl v1.9.3
[root@ip-10-61-110-147 ~]# grpcurl -plaintext -unix /var/run/myservice/service.sock list
Failed to dial target host " /var/run/myservice/service.sock": connection error: desc = "transport: error while dialing: dial tcp: address /var/run/myservice/service.sock: missing port in address"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions