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

The browser displays a connection error. #252

Open
19231224lhr opened this issue Jun 18, 2023 · 1 comment
Open

The browser displays a connection error. #252

19231224lhr opened this issue Jun 18, 2023 · 1 comment

Comments

@19231224lhr
Copy link

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

@jhump
Copy link
Contributor

jhump commented Jun 19, 2023

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

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

2 participants