@cermak Thank you again! I have taken a look at the serial output. It seems that this is were it is having trouble:
0000073563 [system] ERROR: connection failed to 107.22.156.56:5683, code=-2
Everything else works OK. Below is the full output. What is that code=-2?
0000062601 [hal.wlan] INFO: Bringing WiFi interface up with DHCP
0000068552 [system] INFO: CLR_WLAN_WD 1, DHCP success
0000068553 [system] INFO: Cloud: connecting
0000068553 [system] INFO: Read Server Address = type:1,domain:device.spark.io
0000068563 [system] INFO: Resolved host device.spark.io to 107.22.156.56
0000073563 [system] ERROR: connection failed to 107.22.156.56:5683, code=-2
0000073563 [system] WARN: Cloud socket connection failed: -2
0000078563 [system] WARN: Internet Test Failed!
0000078563 [system] WARN: Resetting WLAN due to 2 failed connect attempts
0000078563 [system] WARN: Handling cloud error: 2
0000078563 [system] WARN: Resetting WLAN due to SPARK_WLAN_RESET
0000078567 [hal.wlan] INFO: Using internal antenna
0000078569 [system] INFO: ARM_WLAN_WD 1
0000093407 [system] INFO: ARM_WLAN_WD 2