v1.9.4 times out instead of reporting "connection refused"
Author: mxeyCreated Sep 1, 2026Updated Sep 9, 2026
As I understand https://github.com/fullstorydev/grpcurl/commit/4ea1554ec7da978bc64ccd534984409cedcea42a, it should do the exact opposite of the behavior change I am seeing:
the old version fails instantly
$ time go run github.com/fullstorydev/grpcurl/cmd/[email protected] localhost:50052 list
Failed to dial target host "localhost:50052": connection error: desc = "transport: error while dialing: dial tcp [::1]:50052: connect: connection refused"
exit status 1
go run github.com/fullstorydev/grpcurl/cmd/[email protected] localhost:50052 lis 0,23s user 0,40s system 117% cpu 0,535 totalthe new version times out
$ time go run github.com/fullstorydev/grpcurl/cmd/[email protected] localhost:50052 list
Failed to dial target host "localhost:50052": context deadline exceeded
exit status 1
go run github.com/fullstorydev/grpcurl/cmd/[email protected] localhost:50052 lis 0,30s user 0,59s system 7% cpu 11,192 totalThis reproduction was done on macOS, but I noticed the same behavior on Linux (Docker for Mac)
Source: fullstorydev/grpcurl