arm - 为什么 gRPC 会出现 InsecureServerCredentials() 卡住
问题描述
我想将基于 gRPC 的 C++ 应用程序从 x64 Linux (Ubuntu/Debian/..) 移植到基于 ARM 的设备。Yocto 环境、SDK 和构建工具已经运行良好。现在我可以为嵌入式设备运行我的应用程序并且她不工作。
每次调用 Function grpc::InsecureServerCredentials() 时,我的应用程序都会卡在此调用中。
我的应用程序使用 gRPC 服务器和客户端。对于基于 x64 的发行版,她已经运行了 4 年多。源代码是相同的。
这是环境:
grpc::ServerBuilder builder;
builder.AddListeningPort(serverAdress, grpc::InsecureServerCredentials());
builder.RegisterService(this);
m_Service = builder.BuildAndStart();
有人可以帮我解决这个问题吗?
谢谢你的回复。
解决方案
推荐阅读
- sql-server - 长期运行的分阶段后端处理的 SQL 完整性问题
- powershell - 对于包含哈希 (#) 的文件夹名称,Add-PnPFolder 失败
- javascript - 渲染过程中 IPCRenderer 的电子错误
- python - 如何创建一个数据框,其中包含一个键下的二维列表?
- python - 如何从大文件名数组中测试文件是否存在,如果文件名不以一致的方式存在,如何从数组中删除文件名?
- python - 无法将数据框转换为 stata 格式
- javascript - javascript 验证 lang, lat 为 dmc 格式
- qt - QApplication 从分段错误中恢复
- php - 如何获取artifactsrequests 表的ID,而不是我加入的表的ID
- python - 如何找到一维数组/向量的自相关矩阵