grpcui icon indicating copy to clipboard operation
grpcui copied to clipboard

Fails to get gRPC method information

Open saemi-park opened this issue 4 years ago • 1 comments

I enabled server reflection as the guide,

but on the gRPC web ui fails to get gRPC method information, so that I can't choose which method to test nor fill the request data. my server is written in go(1.13.7 darwin/amd64), and I'm using Mac OS.

Is there anyone who has same problem?

» grpcui -plaintext localhost:8080                                                                                                                                                           130 ↵ saemi.park@sayongja-mich-geulub
gRPC Web UI available at http://127.0.0.1:59999/          // there's no error message 
스크린샷 2021-04-12 오후 3 29 05

saemi-park avatar Apr 12 '21 06:04 saemi-park

@saemi-park, the error message suggests that there may have been a typo somewhere. But the official releases do not have this problem (and I don't think master ever had a bug like this). Is it possible you were building from source and may have accidentally changed something before running?

This error seems unlikely to be related to the use of server reflection. But I guess I could ascertain for sure if you could actually examine the source of that HTML page. It would be great if you could send the source, so we could see if there's something weird/wrong with how the service and method names are interpolated into the page (which is possible). However, I see you've redacted the screenshot, so you may have to debug the HTML yourself since the error could be in the service and method names that you're trying to redact.

jhump avatar Feb 14 '22 16:02 jhump