I have trouble using arduinoCloud

Hi @lsj10147,

mqtt.arduino.cc does not have an HTTPS server running, only MQTTS. To properly test you'll have to change the port in the sketch from 443 to 8883.