Lora connector warning

0
Hi All! I've installed the LoraConnector and gone through the steps in the readme and notes, but... I won't receive any messages when I check the log from time to time the following warning comes up:  Nov 9 11:50:41.899 127.0.0.1 tr10000: WARNING - KPNLoRa_Connector: Incoming LoRa message could not be processed by microflow I've checked  the securities and role permissions so I'm quite sure that the problem must be something else.  Further there  should be messages coming in every 6min but the warning only comes every few hours. Does anyone have any idea what the problem could be andhow to fix this?
asked
9 answers
0

Hi Tara,

The error you mention occurs when the onMessageMicroflow returns false. How did you configure your After StartUp microflow (like shown below)?

answered
0

As far as I can see the config is the same as in your example, or  am I missing something?

answered
0

An error code 500 (Internal Server Error) and your error log will be returned when this onMessageMicroflow returns false as result. Can you verify which boolean value is returned?

	            Boolean result = Core.execute(ctx, onMessageMicroflow, true, Message);
	            
	            //Return HTTP Status Code 500 (Internal Server Error) when Microflow returns false
	            if (!result) {
	            	logger.warn("Incoming LoRa message could not be processed by microflow");
	            	response.setStatus(500);
	            }

 

answered
0

the boolean result is true

Nov 12 15:12:42.971 127.0.0.1 tr10000: INFO - InitializeKPNLoRaConnector: true: the boolean initializing KpnLoRaConnectior turns out InitializeKPNLoRaConnector: true

answered
0

The initialize microflow, which we looked into is OK. Let's now take a look at the onMessageMicroflow. When that microflow returns false, the error arises. Can you verify the result of the microflow you call on an incoming message? Could it be that it returns true every 6 minutes and false every hour?

answered
0

Tara, did you solve this error ? I cannot get it to work either...

 

answered
0

Tara did you fix this issue ? I have the same problem...

answered
0

Ok there were some troubels with the sensor due to which we couldn't receive messages. Now that is fixed I have the following with the mapping problem left: 

Dec 13 13:42:51.806 127.0.0.1 tr10000: WARNING - XmlImporter: A problem occurred parsing attribute 'Lrcid' of object of type 'KPNLoRa_Connector.DevEUI_uplink'. The value was '0059AC01'. This isn't allowed by the schema.
Dec 13 13:42:51.808 127.0.0.1 tr10000: WARNING - XmlImporter: (1/75) java.lang.NumberFormatException: For input string: "0059AC01"

 Lrcid attribute supposed to be an integer, but in the message I receive from KPN it is a string. Therefore my question is: can I expect trouble with the widget if i map a new xsd?

 

 

 

answered
0

There were some troubles with keys of our sensor, now these are resolved I have one remaining question concerning this error:

Dec 13 13:42:51.806 127.0.0.1 tr10000: WARNING - XmlImporter: A problem occurred parsing attribute 'Lrcid' of object of type 'KPNLoRa_Connector.DevEUI_uplink'. The value was '0059AC01'. This isn't allowed by the schema.
Dec 13 13:42:51.808 127.0.0.1 tr10000: WARNING - XmlImporter: (1/75) java.lang.NumberFormatException: For input string: "0059AC01"

The Lrcid attribute is mapped as an integer but in the message from KPN I receive a string. If I remap with a new xsd should I expect any trouble with the widget?

There were some troubles with keys of our sensor, now these are resolved I have one remaining question concerning this error:

Dec 13 13:42:51.806 127.0.0.1 tr10000: WARNING - XmlImporter: A problem occurred parsing attribute 'Lrcid' of object of type 'KPNLoRa_Connector.DevEUI_uplink'. The value was '0059AC01'. This isn't allowed by the schema.
Dec 13 13:42:51.808 127.0.0.1 tr10000: WARNING - XmlImporter: (1/75) java.lang.NumberFormatException: For input string: "0059AC01"Dec 13 13:42:51.806 127.0.0.1 tr10000: WARNING - XmlImporter: A problem occurred parsing attribute 'Lrcid' of object of type 'KPNLoRa_Connector.DevEUI_uplink'. The value was '0059AC01'. This isn't allowed by the schema.
Dec 13 13:42:51.808 127.0.0.1 tr10000: WARNING - XmlImporter: (1/75) java.lang.NumberFormatException: For input string: "0059AC01"

The Lrcid attribute is mapped as an integer but in the message from KPN I receive a string. If I remap with a new xsd should I expect any trouble with the widget?

answered