Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic for unix:/// addresses #9

Open
howardjohn opened this issue Jun 9, 2021 · 0 comments
Open

panic for unix:/// addresses #9

howardjohn opened this issue Jun 9, 2021 · 0 comments

Comments

@howardjohn
Copy link

$ grpcdebug unix:///home/howardjohn/kube/local/proxy/XDS channelz servers
panic: Address type not supported for uds_address:<filename:"/home/howardjohn/kube/local/proxy/SDS" >

goroutine 1 [running]:
github.com/grpc-ecosystem/grpcdebug/cmd.prettyAddress(0xc000113440, 0xc0006813e0, 0xc000595cf8)
        /home/howardjohn/go/pkg/mod/github.com/grpc-ecosystem/grpcdebug@v1.0.1/cmd/channelz.go:40 +0x145
github.com/grpc-ecosystem/grpcdebug/cmd.channelzServersCommandRunWithError(0x16ceba0, 0x170ca70, 0x0, 0x0, 0x0, 0x0)
        /home/howardjohn/go/pkg/mod/github.com/grpc-ecosystem/grpcdebug@v1.0.1/cmd/channelz.go:320 +0x170
github.com/spf13/cobra.(*Command).execute(0x16ceba0, 0x170ca70, 0x0, 0x0, 0x16ceba0, 0x170ca70)
        /home/howardjohn/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:850 +0x472
github.com/spf13/cobra.(*Command).ExecuteC(0x16cf380, 0xc000000180, 0x200000003, 0xc000000180)
        /home/howardjohn/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:958 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
        /home/howardjohn/go/pkg/mod/github.com/spf13/cobra@v1.1.1/command.go:895
github.com/grpc-ecosystem/grpcdebug/cmd.Execute()
        /home/howardjohn/go/pkg/mod/github.com/grpc-ecosystem/grpcdebug@v1.0.1/cmd/root.go:107 +0xc5
main.main()
        /home/howardjohn/go/pkg/mod/github.com/grpc-ecosystem/grpcdebug@v1.0.1/main.go:160 +0x25

other commands seem to work with UDS, so this seems unexpected, especially since its just on trying to print the address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant