Python example iot_starterkit_push_ui.py fails to send message #9
Comments
Hello, can you please check if you have enabled the "Basic Authentication" for your "iotmms" instance as described here https://github.com/SAP/iot-starterkit/tree/master/src/prerequisites/mms ? In order to enable Basic Authentication the following steps need to be executed:
Regards, |
Hi. I'm ashamed of myself, I just found that I can access the log.
And this:
|
Hi, I'm a bit confused now. To me those are 3 different issues:
May I ask you to check if Push API works for you from the Sample Client (MMS Cockpit, second tile on top)? Thanks, |
Hi, yes, it seems to be different things.
About using the MMS Cockpit, it works perfectly, if I have my test device on it gets the messages and change the led or display text, and if I don't, the messages are stored in the database to be later consumed by the device when running. Thanks. |
Ok, I've tried something and it has worked. Thank you for your time. |
Change-Id: I84f4848303e014708756d1ad5001ab9ea7a7354d
When sending the response is 200 and a html code.
when entering in the website of the html code and sending the form in there, you get this:
{"msg":"Parse error. Expected [messageType] of type [string]"}
Anyway your message doesn't get stored in the database table T_IOT_HTTP_PUSH (where the pushed messages are stored until the sensor device makes a pull request) for late consumption of the sensor device.
The text was updated successfully, but these errors were encountered: