Photon 2 won't connect to cloud

Works to local network, won't connect to my account. Was connected at one time. I have tried the on line doctor from both Windows and Linux. Log info:
Device ID:
0000001500 [ncp.rltk.client] INFO: rltkOff
0000001544 [ncp.rltk.client] INFO: rltkOff done
0000001184 [system.nm] INFO: State changed: DISABLED -> IFACE_DOWN
0000003929 [app] INFO: Auto-connect disabled
0000004624 [app] INFO: doing wifiScan
0000004666 [app] INFO: Doing Wi-fi scan
0000008755 [app] INFO: wiFiScan resultCount=6
0000037150 [app] INFO: setting credentials
0000037361 [system.nm] INFO: State changed: IFACE_DOWN -> IFACE_REQUEST_UP
0000037439 [net.ifapi] INFO: Netif wl3 state UP
0000037488 [system.nm] INFO: State changed: IFACE_REQUEST_UP -> IFACE_UP
0000037565 [ncp.rltk.client] INFO: Try to connect to ssid: wireless5
0000037634 [net.lwip_rltk] INFO: is_promisc_enabled
0000037687 [net.lwip_rltk] INFO: get_eap_phase
0000042632 [net.lwip_rltk] INFO: get_eap_phase
0000042930 [net.lwip_rltk] INFO: get_eap_phase
0000043163 [net.ifapi] INFO: Netif wl3 link UP
0000043211 [system.nm] INFO: State changed: IFACE_UP -> IFACE_LINK_UP
0000044691 [hal] INFO: DNS server list changed
0000044738 [hal] INFO: DNS server list changed
0000044855 [system.nm] INFO: State changed: IFACE_LINK_UP -> IP_CONFIGURED
0000044935 [system] INFO: Cloud: connecting
0000044981 [system] INFO: Read Server Address = type:1,domain:$id.udp.particle.io
0000045063 [system] WARN: Failed to load session data from persistent storage
0000045142 [system] INFO: Discarding session data
0000045724 [system] INFO: Cloud socket=0, connecting to 18.214.12.187#5684
0000046023 [system] INFO: Cloud socket connected
0000046073 [system] INFO: Starting handshake: presense_announce=0
0000046140 [comm.protocol.handshake] INFO: Establish secure connection
0000046214 [comm.dtls] INFO: (CMPL,RENEG,NO_SESS,ERR) restoreStatus=2
0000091173 [comm.dtls] ERROR: handshake failed -6800
0000091228 [comm.dtls] ERROR: Invalid handshake state
0000091284 [comm.protocol.handshake] ERROR: Handshake failed: 17
0000091510 [system] WARN: Internet available, cloud not reachable
0000091577 [system] WARN: Cloud handshake failed, code=-220
0000091888 [system] INFO: Cloud: disconnecting
0000091936 [system] INFO: Cloud: disconnected
0000092401 [system] INFO: Cloud: connecting
0000092448 [system] INFO: Read Server Address = type:1,domain:$id.udp.particle.io

repeats over and over.
Thanks for any help.

The error Internet available, cloud not reachable typically occurs when a firewall is blocking UDP access to the Particle cloud on port 5684. Your router typically sets up temporary port forwarding to allow the response from the cloud to come back to the device; the blocking could occur in either direction.

The cloud IP addresses may change as often as every minute. In your log, it used 18.214.12.187 which is a valid cloud IP address, so it does appear that DNS is working correctly. That can sometimes be an issue, but appears to be OK in your case.

The other possibility is a firewall that blocks access until terms of service are accepted. The Photon 2 cannot be used on a network with this type of access control.

2 Likes

Thank you. Case of severe stupidity between the headphones. Short version: connecting to the wrong router. One with very limited access, due to surveillance cameras.
Thanks a bunch for your help and patience with an old fool.
Lou

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.