Run a grpc application not working
See original GitHub issueAccording to link http://www.grpc.io/docs/quickstart/java.html#run-a-grpc-application , I must follow the below steps to execute a hello world sample client and server.
From the examples directory:
$ ./gradlew installDist
$ ./build/install/examples/bin/hello-world-server
$ ./build/install/examples/bin/hello-world-client
I am using Windows machine , so gradlew installDist
command works for me. But after that, there is no build/install/examples/bin
folder structure to execute hello-world-server.
There is a hello-world-server in examples\build\tmp
folder, but that too gives following error
Error: Could not find or load main class io.grpc.examples.helloworld.HelloWorldServer
Please help
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Troubleshoot gRPC on .NET Core - Microsoft Learn
This document discusses commonly encountered problems when developing gRPC apps on .NET. Mismatch between client and service SSL/TLS ...
Read more >Trouble-Shooting | grpc-spring-boot-starter - GitHub Pages
The Problem · The application is already running · Another application is using that port · The grpc server uses a port that...
Read more >Troubleshooting Response Errors | Cloud Endpoints with gRPC
This page describes how to troubleshoot errors that you receive in a response from a request to your API. Upstream backend unavailable.
Read more >Re: Unable to connect to Cloud Run gRPC server
I believe the problem is in the network setting but can't find the way to connect and call a gRPC function from the...
Read more >gRPC client not working when called from within gRPC service
The UNKNOWN message is an exception on the server side that was not passed to the client. You probably need to increase the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am not sure what is wrong. I am on linux, so the commands seem to work on my machine. As a sanity check could you verify the following things:
\
instead of/
, could you replace the command with that, and remove the./
at the beginning of the command?dir
while in the the examples directory?./gradlew clean installDist
?I found the solution!!!I had to run
hello-world-client
andhello-world-server
frombuild/install/examples/bin/
folder and nothello-world-client.bat
andhello-world-server.bat