We are trying to use an Argon board at a customer site and we are having trouble connecting to the Particle cloud. The chip blinks cyan quickly but never connects. We thought it was a firewall issue so we had the customer open ports 53 & 5684. I put debug logging on in the application by calling:
SerialLogHandler g_logSerial(LOG_LEVEL_ALL);
On a call to Particle.connect(); - we get the following errors:
0000060401 [comm.dtls] ERROR: handshake failed -6800
0000060403 [comm.protocol.handshake] ERROR: handshake failed with code 17
The protocol the customer is using is a hidden network with a specific port to allow us access to the internet instead of their standard WPA2 enterprise authentication which is not allowed using Argon.
The full log for the session is below, any help you can give us would be appreciated, we at a standstill with this customer now.
Attempting to connect to the Particle cloud…
0000014961 [system] INFO: Cloud: connecting
0000014963 [system] INFO: Read Server Address = type:1,domain:$id.udp-mesh.particle.io
0000014963 [system] ERROR: Failed to load session data from persistent storage
0000014964 [system] INFO: Discarding session data
0000014966 [system] TRACE: Resolving e00fce6874abb64447808eb1.udp-mesh.particle.io#5684
0000015093 [system] TRACE: Address type: 3
0000015094 [system] TRACE: Cloud socket=0, family=2, type=2, protocol=17
0000015094 [system] INFO: Cloud socket=0, connecting to 18.214.75.38#5684
0000015095 [system] TRACE: Cloud socket=0, connected to 18.214.75.38#5684
0000015095 [system] TRACE: Updating cloud keepalive for AF_INET: 30000 -> 30000
0000015097 [system] TRACE: Applying new keepalive interval now
0000015097 [system] INFO: Cloud socket connected
0000015098 [system] INFO: Starting handshake: presense_announce=0
0000015098 [comm.protocol.handshake] INFO: Establish secure connection
0000015362 [ncp.at] TRACE: > AT+MVER
0000015393 [ncp.at] TRACE: < 5
0000015394 [ncp.at] TRACE: < OK
0000015396 [comm.dtls] INFO: (CMPL,RENEG,NO_SESS,ERR) restoreStatus=2
0000060401 [comm.dtls] ERROR: handshake failed -6800
0000060403 [comm.protocol.handshake] ERROR: handshake failed with code 17
0000060403 [system] WARN: Cloud handshake failed, code=17
0000060654 [system] INFO: Cloud: disconnecting
0000060654 [system] INFO: Cloud: disconnected
0000061454 [system] INFO: Cloud: connecting