Skip to content

obj manager, id:3, get lowest slave failed !!! #1

@tp111222

Description

@tp111222

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": ""
}
],

"gat1400Params": {
    "localGatHostIp": "34010000002000000001",
    "localGatServerId": "32020200002000000002",
    "localGatPort": 7100,
    "platform": [
        {
            "id": "32020200002000000001",
            "ip": "172.17.0.2",
            "port": 7200,
            "username": "admin",
            "password": "admin",
            "extra": {
                "manufactor": "hik"
            }
        }
    ]
}

}

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"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions