I'm new to Microsoft Azure IoT Hub. Is there any way I can change or convert HTTPS to HTTP? I use NodeMCU esp8266 to send Data to Azure IoT Hub. But It only said " Connected " and it didn't monitor or return value Json in Device Explorer.
Asked
Active
Viewed 651 times
1 Answers
1
Any traffic to Azure IoT Hub has to be over SSL (be it HTTP, AMQP or MQTT). So I guess the answer is no, you can't switch from HTTPS to HTTP.
Can you give more details on what sample code you're using, how you're building it for NodeMCU, etc?

pierreca - MSFT
- 183
- 8
-
Well actually, we were used LUA for the NodeMCU with some sensors. We tried to sent the data from the NodeMCU but seems like the Microsoft Azure was not received the data that has been sent from NodeMCU. Some said that the NodeMCU doesn't support HTTPS. – Alecks Dang Apr 05 '16 at 05:02
-
Got it. I'm not familiar with NodeMCU but I'll be looking forward to other folks contributing to the answer. if I get my hands on one, i'll try. – pierreca - MSFT Apr 05 '16 at 21:52
-
If it has to be always SSL, why port 8883 or for webscokets - 443 open? (ref: https://learn.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support ) – HydTechie Jan 09 '17 at 08:57