Closed FlorianCodes closed 2 years ago
Hi, the provisioning does not work because "application_server" data does not exist. Lorawan Agent try to connect to the mqtt server and found nothing. The device is registered in mongo db but fails when creating the connection. If you want to test without a real sensor you can do it with the procedure described in https://github.com/Atos-Research-and-Innovation/IoTagent-LoRaWAN/blob/master/docs/users_manual.md#testing-the-lorawan-iot-agent-with-dummy-devices or creating a real instance in loraserver.io. There is no http response but a curl response
Regards, Ignacio.
Hi,
I am not sure if this is an issue with the IoTAgent itself or with the way I am using it. Please correct me if I am doing something wrong.
I am using the provided docker container (image
ioeari/iotagent-lora:latest
with ID9868f18157d4
). After a successful startup, I try to configure the southport using cURL with theConfiguration Provisioning
as described in the docs.According to the logs of the IoTAgent, the device group could not be found and therefore has been created. I can confirm the creation by having a look into the Mongo database.
However, the IoTAgent does not respond to my cURL request. The cURL terminal gets unresponsive and waits for a response, until the session times out.
This is unexpected behavior, because I expect the IoTAgent to respond with a HTTP 2xx status code in case of success or with a HTTP 4xx status code in case of failure.
I am not sure if this is important: The loraserver.io instance stated in the request does not yet exist.
My questions are: Why does the IoTAgent not respond? How can I fix this?
In the following I will show my cURL request, its output and the IoTAgent logs.
My cURL request is:
The cURL output is:
The IoTAgent logs are: