07-10-2017 7:18 AM - edited 02-03-2024 10:14 PM
Hi,
I would like to configure a HTTP handler to process the IoT Message sent from the device. I maintained the configuration as per the documentation here but I am not receiving any requests to my http endpoint. . Can you please help me with some guidance on how to troubleshoot this issue.
Here are few things I verified:
- My end point is an HCP url and I am able to successfully make POST requests to it.
- My message mode is synchronous "sync"
- Checked MMS logs for error, didn't see any errors.
- Turned on traces for component com.sap.iotservices.mms.processing, I don't see any attempt made by MMS to invoke my endpoint.
- Verified through Message Processing API if my handler is active, and I see the correct endpoint in the response.
Figure 1: Message Processing API showing the "http" processor is active for the device/message combination.
Figure 2: Request/Response of the Message request showing device-id, message-id and response.
On a separate note, why is that the logger has a separate component defined for each processing type like
com.sap.iotservices.mms.processing.sql
com.sap.iotservices.mms.processing.sds
but there is nothing for com.sap.iotservices.mms.processing.http?
Thank you!
Hello Ram, you have configured your mapping but used the device ID where device type ID was expected. Please, adapt. Regards, Anton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.