我们有一个contextBroker版本1.0.0,昨天我们遇到了以下意外错误。
log directory: '/var/log/contextBroker'
terminate called after throwing an instance of 'mongo::AssertionException'
what(): assertion src/mongo/bson/bsonelement.cpp:392
log directory:'/var/log/contextBroker'
有人可以告诉我们为什么会发生这种情况吗?
我们所做的请愿如下:
HttpUri=http://172.21.0.33:1026/v1/updateContext
HttpMethod=POST
Accept=application/json
Content-Type=application/json
Fiware-Service=tmp_015_adapter
Fiware-ServicePath=/Prueba/Planta_3
{
"contextElements": [{
"type": "device_reading",
"isPattern": "false",
"id": "xxxxx",
"attributes": [{
"name": "timestamp",
"type": "string",
"value": "2016-06-14T12:02:03.000Z"
}, {
"name": "location",
"type": "coords",
"value": "23.295132549930024, 2.1797946491494258"
}, {
"name": "mac",
"type": "string",
"value": "xxxxx"
}, {
"name": "densityPlans",
"type": "string",
"value": "R-B2"
}, {
"name": "floor",
"type": "string",
"value": "Prueba_planta3"
}, {
"name": "manufacturer",
"type": "string",
"value": "Xiaomi+Communications"
}, {
"name": "rssi",
"type": "string",
"value": "9"
}]
}],
"updateAction": "APPEND" }
由于contextBroker的错误而在应用程序中显示的错误是:
org.apache.http.NoHttpResponseException: 172.21.0.33:1026 failed to respond