fullstorydev / grpcui

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

-open-browser=true doesn't work properly on faulty open handlers #230

Closed nedsociety closed 1 year ago

nedsociety commented 1 year ago

Running grpcui doesn't work and the browser keeps trying connection... until you close the browser! If the browser is closed and another is opened then it starts working.

The default open handler is faulty for google-chrome since it blocks until the browser exits. As consequence browser.OpenURL() is a blocking call preventing grpcui process to do its job. A workaround might be to make the call asynchronously.