Can;t connect to Losant


#1

Hi, I am making a tutorial with Losant from there.

and all is all right but when my Controller wants toConnect to Losant, he can’t I have a MESSAGE FROM: Serial.println(device.mqttClient.state()); // HERE

Connecting to Losant…-1
.-1
.-1
.-1
.-1

I have mqqtClient STATE = -1 - What is this?

in Logs in dashboard in Losant Website I have only message:
Device [RoomSensor1] authenticated with Losant
Authentication succeeded
ndz 16 gru 2018 20:32:08 GMT+01:00

Could you help me with that? Please


#2

Sorry that we were not timely in responding to this post, but I responded to your new post here: Can't connect to Losant MESSAGE: mqttClient.state -1