-
Notifications
You must be signed in to change notification settings - Fork 16
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
obj manager, id:3, get lowest slave failed !!! #1
Comments
http://172.17.0.2:11706/system/slave/add |
关于“mq open 172.17.0.2:5672 failed”,应该是你没有初始化rabiitmq服务器导致,这个不影响测试,只是无法通过mq接收抓拍信息。 |
我刚刚又做了测试的,还是报 “get lowest slave failed“错误,终端打印印象如下: WARRING : FILE -> work.cpp, LINE -> 194, mqOpen, please system init first
} delet failed, original.msgOutParams.type, No suitable servers found (
} DEBUG : FILE -> rest.cpp, LINE -> 287, request_cb, pid:2118, /system/slave/add:{ }}, No servers yet eligible for rescan DEBUG : FILE -> rest.cpp, LINE -> 287, request_cb, pid:2118, /obj/add/gat1400:{ obj manager, id:3, get lowest slave failed |
从你的信息,没有看到“添加slave”命令 |
DEBUG : FILE -> rest.cpp, LINE -> 287, request_cb, pid:2118, /system/slave/add:{ }}, No servers yet eligible for rescan 这个就是的吧? |
http://172.17.0.2:11706/system/slave/add } |
我觉得,你需要在函数_getlowestLoadSlave里面加几条调试信息,看哪个条件导致的异常。参考如下:
} |
hi,@debugger999,When I test gat1400 protocol with postman,The following error occurred:
ERR : FILE -> work.cpp, LINE -> 216, mqOpen, mq open 172.17.0.2:5672 failed
obj manager, id:3, get lowest slave failed
the postman info:
http://172.17.0.2:11706/system/init
{
"masterIp": "172.17.0.2",
"msgOutParams": [
{
"type": "mq",
"host": "172.17.0.2",
"port": 5672,
"userName": "guest",
"passWord": "guest",
"exchange": "aiotc.exchange.message",
"routingKey": ""
}
],
}
http://172.17.0.2:11706/obj/add/gat1400
{
"name":"test",
"type":"camera",
"id":3,
"data":{
"subType":"gat1400",
"deviceId": "32020200002000000003",
"mode": 0,
"slaveIp": "172.17.2.0",
"platformId": "32020200002000000001"
}
}
The text was updated successfully, but these errors were encountered: