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

按照PaddleClas2.5中的PaddleClas/deploy/paddleserving/recognition下的Readme部署C++Serving,部署后请求失败(inference call failed, message: [E112]1/1 channels failed, fail_limit=1 [C0][E1014]Got EOF of Socket...) #1952

Closed
yguofirst opened this issue Jul 4, 2023 · 1 comment

Comments

@yguofirst
Copy link

yguofirst commented Jul 4, 2023

环境:ubuntu20.04;python3.8;paddlepaddle==2.3.2;PaddleClas2.5;cmake:3.16.3;gcc:9.4.0
使用CPU,与原build_server.sh相比,删除了CUDA相关命令,并对一些命令做出调整
cmake命令如下,
cmake命令
执行后的输出,
cmake_1
cmake_2
cmake_3
cmake_4
cmake_5
存在几处Failed和not found,忽略。
make后的部分输出,
make_1
make_2
make_3
make_4
make_5
make_6
开启服务后,生成的logPPShiTu.txt如下,
log_PPShiTu
执行test_cpp_serving_client.py发送识别请求后,
logPPShiTu.txt如下,
log_PPShiTu_发送请求后
终端显示如下,
发送请求后的终端_1
发送请求后的终端_2
报错如下:inference call failed, message: [E112]1/1 channels failed, fail_limit=1 [C0][E1014]Got EOF of Socket{id=1 fd=4 addr=127.0.0.1:9400:45838} (0x0x561c4ca330b0) [R1][E111]Fail to connect Socket{id=8589934594 addr=127.0.0.1:9400} (0x0x561c4ca332b0): Connection refused [R2][E112]Fail to select server from list://127.0.0.1:9400 lb=la
E0703 21:52:48.302803 79137 general_model.cpp:370] failed call predictor with req: tensor
请问是cmake或make部分出现错误导致识别失败,还是什么原因导致?

@github-actions
Copy link

github-actions bot commented Jul 4, 2023

Message that will be displayed on users' first issue

@yguofirst yguofirst changed the title 按照PaddleClas2.5中的PaddleClas/deploy/paddleserving下的Readme部署C++Serving,部署失败(inference call failed, message: [E112]1/1 channels failed, fail_limit=1 [C0][E1014]Got EOF of Socket...) 按照PaddleClas2.5中的PaddleClas/deploy/paddleserving下的Readme部署C++Serving,部署后请求失败(inference call failed, message: [E112]1/1 channels failed, fail_limit=1 [C0][E1014]Got EOF of Socket...) Jul 4, 2023
@yguofirst yguofirst changed the title 按照PaddleClas2.5中的PaddleClas/deploy/paddleserving下的Readme部署C++Serving,部署后请求失败(inference call failed, message: [E112]1/1 channels failed, fail_limit=1 [C0][E1014]Got EOF of Socket...) 按照PaddleClas2.5中的PaddleClas/deploy/paddleserving/recognition下的Readme部署C++Serving,部署后请求失败(inference call failed, message: [E112]1/1 channels failed, fail_limit=1 [C0][E1014]Got EOF of Socket...) Jul 4, 2023
@paddle-bot paddle-bot bot closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant