Can';t在FIWARE IoAgent上通过http添加设备

Can';t在FIWARE IoAgent上通过http添加设备,fiware,Fiware,我正在学习IoT,并尝试在项目中使用Fiware,但在遵循Fiware IoTAgent Cplusplus部署指南的同时尝试运行一些命令时遇到了问题 我可以成功运行: curl-X GEThttp://172.17.0.4:8080/iot/about 发送上述命令时,我得到以下结果: 欢迎使用IoAgents标识符:qa:8080 1.3.1提交124.g0b78609于2016年9月14日提交 当我尝试运行以下命令时,它返回“pidfile not found[FAILED]”,因此我一定

我正在学习IoT,并尝试在项目中使用Fiware,但在遵循Fiware IoTAgent Cplusplus部署指南的同时尝试运行一些命令时遇到了问题

我可以成功运行:
curl-X GEThttp://172.17.0.4:8080/iot/about

发送上述命令时,我得到以下结果:
欢迎使用IoAgents标识符:qa:8080 1.3.1提交124.g0b78609于2016年9月14日提交

当我尝试运行以下命令时,它返回“pidfile not found[FAILED]”,因此我一定错过了一些配置
服务代理启动协议

任何其他请求返回“请求的格式不正确”:

curl -X POST http://x.x.x.x:8080/iot/services \
-i \
-H "Content-Type: application/json" \
-H "Fiware-Service: service2" \
-H "Fiware-ServicePath: /srvpath2" \
-d '{"services": [{ "apikey": "apikey2", "token": "token2", "cbroker":           "http://127.0.0.1:1026", "entity_type": "thing", "resource": "/iot/d" }]}'
有什么办法吗?
谢谢。

您正在尝试使用不再受支持的IoTAgents的旧版本。请尝试使用一个新的Node.js版本(例如:)