Why gRPC get InsecureServerCredentials() stucks?

100 views
Skip to first unread message

Siemer Pasch

unread,
Oct 29, 2021, 3:29:17 AM10/29/21
to grpc.io
Hi at all,

I want to port my gRPC based C++ Application from a x64 Linux (Ubuntu/Debian/..) to an ARMv7 based imx6ull Device. The Yocto Environment, SDK and buildtools are already running fine. Now i can run my App for the embeded Device and shes not work.

Every Time´, when the Function grpc::InsecureServerCredentials() is called, my App stucks in this call.

My Application uses gRPC Server and Clients. She has been running well for more than 4 years for the x64 based Distributions. The SourceCode is the Same.

This is the calling Environment:

grpc::ServerBuilder builder;
builder.AddListeningPort(serverAdress, grpc::InsecureServerCredentials()); builder.RegisterService(this);
m_Service = builder.BuildAndStart();

Can someone help me with this Problem?

Thanks for you Reply.

Nagaraj Gidde

unread,
Oct 29, 2021, 3:58:55 AM10/29/21
to grpc.io
Try enabling debug logs and see if that gives any clue. 

export GRPC_TRACE=all
GRPC_VERBOSITY=debug

Siemer Pasch

unread,
Oct 29, 2021, 4:56:31 AM10/29/21
to grpc.io
Thank for your Reply.

I tried this out and the result i can see is this:

D1005 10:10:33.142929667    7194 ev_posix.cc:173]            Using polling engine: epollex
D1005 10:10:33.146301667    7194 lb_policy_registry.cc:42]   registering LB policy factory for "grpclb"
D1005 10:10:33.147191667    7194 lb_policy_registry.cc:42]   registering LB policy factory for "priority_experimental"
D1005 10:10:33.147926334    7194 lb_policy_registry.cc:42]   registering LB policy factory for "weighted_target_experimental"
D1005 10:10:33.149010667    7194 lb_policy_registry.cc:42]   registering LB policy factory for "pick_first"
D1005 10:10:33.149672334    7194 lb_policy_registry.cc:42]   registering LB policy factory for "round_robin"
D1005 10:10:33.150467334    7194 dns_resolver_ares.cc:499]   Using ares dns resolver
D1005 10:10:33.151851334    7194 certificate_provider_registry.cc:33] registering certificate provider factory for "file_watcher"
D1005 10:10:33.152786334    7194 lb_policy_registry.cc:42]   registering LB policy factory for "cds_experimental"
D1005 10:10:33.153309000    7194 lb_policy_registry.cc:42]   registering LB policy factory for "xds_cluster_impl_experimental"
D1005 10:10:33.154050667    7194 lb_policy_registry.cc:42]   registering LB policy factory for "xds_cluster_resolver_experimental"
D1005 10:10:33.154723000    7194 lb_policy_registry.cc:42]   registering LB policy factory for "xds_cluster_manager_experimental"

Unfortunately, I am not able to create a conclusion to a problem.

Can you see some Problem?

Best Regards
Message has been deleted
Message has been deleted

Vu Nguyen

unread,
Jun 24, 2022, 6:37:27 AMJun 24
to grpc.io
Hello Siemer Pasch and folks,
How did you solve this issue? I encountered the same one and would like to learn from your experience!
Thank you!

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages