gusaul / grpcox Goto Github PK
View Code? Open in Web Editor NEWLike Postman, but for gRPC: web based GUI client for gRPC Development Testing
License: MIT License
Like Postman, but for gRPC: web based GUI client for gRPC Development Testing
License: MIT License
I have been trying to use this to connect to a server behind Traefik connecting to the HTTPS port 443. The issue i found was that it does not work unless i set a breakpoint in the connect javascript for grpcox UI and change use_tls to true when connecting to my server. It sort of feels like this should be a checkbox on the screen not hardcoded as false.
Once i manually changed it everything worked as expected. It would also be nice if it could be auto detected based on connection string if you provide http vs https though both currently get stripped. This is in style.js and the "$('#get-services').click(function()" function.
Currently, the metadata is not sent to the handler when trying to list target services.
This means that we cannot list services using server reflection if the server blocks unauthorized users, only possible to use local proto.
Stumbled across this while trying to access a gRPC service running in GCP CloudRun with default authentication mode (allows only authorized users with Cloud IAM).
Successfully listed the services using grpcurl
with -H
argument but failed to connect using grpcox
with html error 403 even when the auth token is included in the metadata field.
using this gracefully function https://godoc.org/google.golang.org/grpc#Server.GracefulStop
It will stuck forever, until close connection from gRPCox.
Hi,
I got a connection refused error from the grpcox web-interface running inside docker when trying to connect to localhost:<port>
I resolved the issue and just wanted to make sure that it is documented for other docker-beginners like me.
Make sure to connect to the IP where your gRPC server is running, in my case on my host machine. When refering to localhost
in docker, you refer to the container. Use host.docker.internal:<port>
instead, which will connect to your host machine in docker 18.03 and up. See this stackoverflow post for more info.
EDIT:
In case that doesn't work, try setting network_mode: "host"
in docker-compose.yml if you are using that or use the docker---network
option accordingly
I've been running grpcox via docker for a while and it has worked great. Today, I started it, connected to a target, picked a service and then a method. The "schema-body" box on the left side is blank and disabled. The box to the right, labeled "Schema Input" is populated.
Looking at the JS console in Chrome, there are no messages. Looking at the network panel shows no problems. I can even see the request to the describe
endpoint comes back with a template
that appears to be what I'd expect to show up in the UI.
I was running gusaul/grpcox:fc59dfe22681
. If I clone the repo and run make start
, it's working.
Anyone else experience this?
I am able to make requests to my Unary API hosted only server. However, when I make requests to server side streaming/client side streaming/bidirectional streaming grpc API, hosted on my grpc server, it gives an error saying 'stream not found'. Do I need to do something specific on the server hosting grpcox, for accessing the streaming grpc APIs?
Hi, do you have any plan to add support for proto file? I'm willing to open PR for that if that's included in your product path. Thanks!
There's currently no way to add gRPC metadata (https://github.com/grpc/grpc-go/blob/master/Documentation/grpc-metadata.md). It would be really nice to have that.
plaintext support like grpcurl -plaintext?
Hi!
I'm try run application via docker-compose, but I cannot open the link http://localhost:6969/ in Google Chrome - I've get ERR_CONNECTION_REFUSED.
Docker container works fine - this is log output:
Service started on :6969
What I'm doing wrong?
I wanna add this server for my production server for debugging and finding error online, But it to danger to use without password. How can I add one ?
We want to save repetitive request data to the UI, so that we don't have to write them over and over again.
Thanks
I have a service which is like server is streaming some data to client. When I use GRPCOX to test in the UI its continuously showing as loading. Its not showing any error or any success response in the UI. Any suggestion to over com this problem ? (Note : In server side I am not calling onCompleted method. The usecase is send data to client as soon as server received from thirdparty)
Hi,
First off, wanted to say nice job on the gRPCox tool. It's super handy for gRPC development.
I would like to run gRPCox on Kubernetes, in order to test the connection between the client and the server. When I run the gRPC reflection-enabled server on my local machine, I have no problems communicating with it using gRPCox. However, when I run the server in either a Docker container or Kubernetes, I get a strange error.
Using gRPCox I can choose the service. But when I choose one of the methods, I get an error: "Symbol not found: " (see screenshot below).
I suspect it may have to do with the way my server's environment is configured in its Docker container, but I don't know where to start. Could you please advise on this issue?
Thanks!
The docker image doesn't contain the context metadata feature. it should be updated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.