fullstorydev / grpcui

An interactive web UI for gRPC, along the lines of postman
MIT License
5.24k stars 388 forks source link

The browser displays a connection error. #252

Open 19231224lhr opened 1 year ago

19231224lhr commented 1 year ago

like this picture, all things have passed, but the browser has a white paper. image image

jhump commented 1 year ago

grpcui uses a Go library to open the browser, and that library delegates to xdg-open. If your Linux install does not include this program you could add it by installing xdg-utils:

sudo apt-get install --reinstall xdg-utils

If you're not using Debian or Ubuntu, you'd need to use a different incantation than above.

One thing I noticed is that the latest version of the browser package also supports programs named x-www-browser and www-browser. Could you check to see if either of those is in your PATH? If so, this may be as simple as updating the dependency in grpcui, via something like so in this repo:

go get github.com/pkg/browser@master