Hello, I've been having difficulty connecting my photon at my school network. It connects fine at home.
When I put it in listening mode and go through the setup process, it give "checkmarks" for each step and then give me a yellow triangle error that says
Your device has been successfully claimed to your account, however it is offline. If the device was already claimed before this setup, then the Wi-Fi connection may have failed and you should try setup again
Oddly enough, it sometimes blinks green, and sometimes blinks cyan with orange bursts, like in this thread ( Photon flashing cyan and blinking orange ) but resetting keys in DFU mode didn't help.
I'm kind of confused because in the setup process it says it was able to get to the cloud, and then moments later says it couldn't.
TL;DR Is there documentation somewhere about how to configure an enterprise firewall that I could pass on to my network administrator?
I can tell you it definitely is the firewall. I have the same issue.
So far I have not found information about any port I can open an exception with, in order to get it to connect. Turning off the firewall immediately gets past the issue you experienced.
One thing that is mentioned multiple times in the forum here (I know since I’ve written many of these posts ;-)) is the CoAP port 5683 - at least once in the second link in the OP too.
And other ports are also mentioned in that thread.
Just to clarify a point about opening firewall port 5683. Some managed service providers in the education sector seem to not want to open ports on URL but rather want a specific IP address. The IP address(es) for device.particle.io OR device.spark.io seem to be continually changing (I guess because they are being load balanced and managed). If I do a lookup on device.particle.io I get this IP address Name:
device.particle.io
Address: 92.242.132.16
whereas if I do a lookup on device.spark.io I get this range of IP addresses:
The Photon looks up device.spark.io using DNS. It is load balanced by DNS, and you’ll get one of the following addresses. Ideally it’s best to allow unlimited outbound TCP 5683, or whitelist by Photon MAC address, but if this is not possible, you should whitelist all of the addresses, as they change about once a minute.
This list is subject to change as servers are added or removed, which is why whitelisting by destination IP address is not recommended.