E: Cloud MQTT input error: -128 // Socket is not connected

Hello there,

I'm trying to connect to the AWS cloud. However, when I attempt to connect, it gives out error 128. Which, accoring to this table, means there's no connected socket.

The complete error message:

AWS_IOT_EVT_CONNECTING
+CSCON: 1
RRC mode: Connected
AWS_IOT_EVT_DISCONNECTED
E: Cloud MQTT input error: -128
+CSCON: 0
RRC mode: Idle
Next connection retry in 30 seconds

I've also taken a look in this thread. Here, the issue was that OP didn't use CA1 when connecting. I do.

There's also some success. According to the AWS monitor, there's a "Get thing shadow" success rate of about 25%(15-6). Could this indicate a signal issue? I know my reception isn't great. Or should I look somewhere in my code or AWS settings?

Parents Reply Children
No Data
Related