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

C++ helloworld example does not work properly #21273

Closed
chenicel opened this issue Nov 22, 2019 · 5 comments
Closed

C++ helloworld example does not work properly #21273

chenicel opened this issue Nov 22, 2019 · 5 comments

Comments

@chenicel
Copy link

chenicel commented Nov 22, 2019

What version of gRPC and what language are you using?

1.25.0 c++

What operating system (Linux, Windows,...) and version?

ubuntu18.04

What runtime / compiler are you using (e.g. python version or version of gcc)

gcc7.4.0

What did you do?

If possible, provide a recipe for reproducing the error. Try being specific and include code snippets if helpful.
Compiled/installed gRPC according to the installation instructions.
Compiled examples/cpp/helloworld example.
Tried running ./greeter_server

What did you expect to see?

Received return information from the server

What did you see instead?

D1122 19:58:44.703447994    7907 ev_posix.cc:174]            Using polling engine: epollex
D1122 19:58:44.703681146    7907 dns_resolver_ares.cc:503]   Using ares dns resolver

The client runs without any output

@yjkhtddx
Copy link

I have the same problem
Server: BuildAndStart hangs
Client: CreateChannel hangs

Wireshark cannot grab any network packets to the destination IP

@yjkhtddx
Copy link

yjkhtddx commented Dec 5, 2019

#21280 (comment)

It solves my problem in this way, but I'm not sure if this modification will generate other bugs.

@kingsenye
Copy link

I have the same problem too~ what shuod i do...

@luojiego
Copy link

I have the same problem too

@veblush
Copy link
Contributor

veblush commented Jan 29, 2020

Duplicate of #21280

@veblush veblush marked this as a duplicate of #21280 Jan 29, 2020
@veblush veblush closed this as completed Jan 29, 2020
@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants