Cloud Connection error -160

Hi! I have a Photon currently with poor wifi signal. I will buy an antenna with better gain to solve it, but I noticed the device vitals has some error code connecting to the cloud:

  "connection": {
    "status": "connected"
    "error": 0
    "disconnects": 0
    "attempts": 1
    "disconnect_reason": "none"
  }
}
"cloud": {
  "connection": {
    "status": "connected"
    "error": -160
    "attempts": 1
    "disconnects": 5
    "disconnect_reason": "error"
  }

I haven’t find any information about the error code, is it related to the poor WiFi Signal or its something else?

Hi there,

-160 is a timeout error: device-os/system_error.h at develop · particle-iot/device-os · GitHub

Looks consistent to me with poor WiFi signal!

Thank you for the error code link! :grinning: i