# 3 Photons Fail On Verify Device Ownership - Two Yellow(or Orange) Blinks - Setup Failed \[SOLVED\]

**URL:** <https://community.particle.io/t/3-photons-fail-on-verify-device-ownership-two-yellow-or-orange-blinks-setup-failed-solved/57273>\
**Category:** Firmware\
**Created:** [August 4, 2020, 1:42pm UTC](https://community.particle.io/t/3-photons-fail-on-verify-device-ownership-two-yellow-or-orange-blinks-setup-failed-solved/57273 "2020-08-04T13:42:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaysettle](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jaysettle/32/3694_2.png) [@jaysettle](https://community.particle.io/u/jaysettle)\
**Post date:** [August 4, 2020, 1:42pm UTC](https://community.particle.io/t/3-photons-fail-on-verify-device-ownership-two-yellow-or-orange-blinks-setup-failed-solved/57273/1 "2020-08-04T13:42:45Z")

</div>

I couldn’t categorize this post under “Troubleshooting” or “General” so here it is.

I have 3 photons that eventually all ended up in the same state. These were used in different projects.

They all fail in the setup process at the “Verify Device Ownership” and from boot they fast blink green, fast blink cyan, and then two yellow blinks.  
So far I have tried:

1. Setup mode with iPhone 11 Particle app.
2. DFU mode with CLI using the “particle flash --usb tinker”
3. Resetting to DHCP uploading a bin file via DFU. The file was success in the upload, photon restarted but still stuck.
4. I’ve done the keys doctor thing.

```auto
particle keys server
particle keys doctor YOUR_DEVICE_ID

```

1. Clearing credentials.

```auto
particle serial wifi

```

1. Reading…  
[https://github.com/rickkas7/photonreset](https://github.com/rickkas7/photonreset)  
[[SOLVED] Photon stuck with blinking cyan LED](https://community.particle.io/t/solved-photon-stuck-with-blinking-cyan-led/33689/4)  
[Photon Setup Fail last step "verify device ownership" fail](https://community.particle.io/t/photon-setup-fail-last-step-verify-device-ownership-fail/42933/2)  
[Can not factory reset photon](https://community.particle.io/t/can-not-factory-reset-photon/20099)  
[Photon can't claim](https://community.particle.io/t/photon-cant-claim/26344/8)

No luck yet. What am I missing?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/6/6/66eeb3657ae645b8675ea5b3b3cd11720119b3af.jpeg)  

> **[New video by Jay Settle](https://photos.google.com/share/AF1QipPGqMqHLnOYC8u66Zo5crUsSBImqE3lGc04IkoOP8FfYvjjjlrDYLxspUcUFl8AgA?key=R1FEU0t1aEV1TlhNQ0NNbUY3RzhCVEQ0UUVyZ193)**

  

> **[New video by Jay Settle](https://photos.google.com/share/AF1QipO6N61GnkzQuOAa2WXFSxRwhYCJD0lXDLzWwwt9AvhPFiwhnvSDyYD98bhqHeIViQ?key=SzYxb25CWWtWZ1ptdmpYTGhtNDJMQUNBbmxfOEJR)**

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [August 4, 2020, 2:54pm UTC](https://community.particle.io/t/3-photons-fail-on-verify-device-ownership-two-yellow-or-orange-blinks-setup-failed-solved/57273/2 "2020-08-04T14:54:55Z")

</div>

That might be 2 orange blinks, which means the Photon could not reach the Internet. The most likely cause of this is that a firewall is blocking all access from the Photon, a static IP address is incorrectly configured, or other similar network issues.

- 1 orange blink: Decryption error.
- 2 orange blinks: Could not reach the internet.
- 3 orange blinks: Connected to the internet, but could not reach the Particle Device Cloud (This sometimes is seen as yellow or red and indicates bad server keys).
- 1 magenta blink: Authentication error.
- 1 red blink: generic handshake error (device could have the wrong keys or has just encountered a generic error in the handshake process)

Getting a [Photon Cloud Debug Log](https://github.com/rickkas7/photon-clouddebug) may help figure out what’s actually failing.

---

<div class="post-metadata">

**Author:** ![Zmioimz](https://avatars.discourse-cdn.com/v4/letter/z/b782af/32.png) [@Zmioimz](https://community.particle.io/u/Zmioimz)\
**Post date:** [August 5, 2020, 3:12am UTC](https://community.particle.io/t/3-photons-fail-on-verify-device-ownership-two-yellow-or-orange-blinks-setup-failed-solved/57273/3 "2020-08-05T03:12:29Z")

</div>

The issue may have been caused with a static IP being assigned to the particle’s Wi-Fi controller.  
Note: before proceeding to the additional steps below, I tried flashing the resetsettings.bin to the photon. This didn’t resolve my issue until I first went and specifically flashed version 0.5.5 firmware to the photon.  
[SOLVED] – What I did to resolve the issue:  
1.) Download [system-part1-0.5.5-photon.bin](https://github.com/particle-iot/device-os/releases/download/v0.5.5/system-part1-0.5.5-photon.bin) & [system-part2-0.5.5-photon.bin](https://github.com/particle-iot/device-os/releases/download/v0.5.5/system-part2-0.5.5-photon.bin)  
Paste them in the location “C:\Users\yourusername\AppData\Local\particle”  
2.) Open the particle software console, create new app and call it “resetsettings”, paste the contents of the [Resetsettings.ino](https://raw.githubusercontent.com/rickkas7/photonreset/master/resetsettings.ino) file into the code designer. Click save. Click the download icon to download the resetsettings.ino.  
 ![Picture1](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/6/9/69b14560cb887d680fccfa8ab7e575b771368677.png)  
Paste the resetsettings.ino file in location “C:\Users\yourusername\AppData\Local\particle”  
3.) Download [Particle CLI Windows CLI Installer](https://binaries.particle.io/cli/installer/windows/ParticleCLISetup.exe), install the application (it will take several minutes and might look like it is freezing up, but just let it run until it’s finished. Click ok and yes to any promts.)  
4.) Connect particle photon to your computer via USB  
5.) Put the particle photon into DFU mode.  
6.) Open CMD prompt on windows and type: “cd C:\Users\yourusername\AppData\Local\particle”  
7.) Type: “particle flash --usb system-part1-0.5.5-photon.bin”  
8.) Type: “particle flash --usb system-part2-0.5.5-photon.bin”  
9.) Type: “particle compile photon --target 0.5.5 resetsettings.ino --saveTo resetsettings.bin” into the CMD. Run it and it will create a Hex file that can be flashed to the photon. (resetsettings.bin)  
10.) Type: “particle flash --usb resetsettings.bin”  
11.) At this point the particle should reboot and the D7 pin LED should light up.  
12.) Proceed to putting the particle in setup mode and continue with setup as normal.

---

<div class="post-metadata">

**Author:** ![jaysettle](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jaysettle/32/3694_2.png) [@jaysettle](https://community.particle.io/u/jaysettle)\
**Post date:** [August 5, 2020, 2:37pm UTC](https://community.particle.io/t/3-photons-fail-on-verify-device-ownership-two-yellow-or-orange-blinks-setup-failed-solved/57273/4 "2020-08-05T14:37:33Z")

</div>

Zmioimz is a friend of mine who fixed the first photon using the method above and the other two were fixed soon after that the same way. Thanks!

---

<div class="post-metadata">

**Author:** ![ctmorrison](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ctmorrison/32/7396_2.png) [@ctmorrison](https://community.particle.io/u/ctmorrison)\
**Post date:** [September 30, 2020, 3:51pm UTC](https://community.particle.io/t/3-photons-fail-on-verify-device-ownership-two-yellow-or-orange-blinks-setup-failed-solved/57273/5 "2020-09-30T15:51:23Z")

</div>

I don’t know if this is the best thread to use, but the reference to “two orange” blinks certainly applies. I have two Photons at a site and they’ve stopped pushing data to the cloud and are exhibiting the two orange blink pattern (cycling through listening, connecting to WiFi, etc.). I have flashed the `photon.bin` WiFi debug application which yields the following output (snippet):

```auto
0000035789 [hal.wlan] INFO: Bringing WiFi interface up with DHCP
connected to WiFi!
localIP=10.187.64.56
subnetMask=255.255.248.0
gatewayIP=10.187.64.1
dnsServerIP=10.193.100.2 (often 0.0.0.0)
dhcpServerIP=10.193.100.160 (often 0.0.0.0)
ping gateway=1
ping dnsServerIP=1
ping addr 8.8.8.8=1
device.spark.io=3.216.239.14
0000035878 [wiring] TRACE: TCPClient socket=200092c8
could not connect to device server by CoAP
connecting to cloud
0000060889 [hal.wlan] TRACE: connect cancel
0000060891 [hal] TRACE: 20015a54 socket list: 0 active sockets closed
0000060892 [hal] TRACE: 20015a5c socket list: 0 active sockets closed
0000061425 [hal.wlan] INFO: Using external antenna

```

Does `ping 8.8.8.8=1` indicate it successfully pinged the Google DNS server? This would at least mean that traffic is making it to/from the Internet.

I’m rather at a loss, as the network manager at the site is insisting they are not blocking any traffic at the firewall. I’ve most recently asked if there’s a chance the WiFi controller is blocking, as I experienced that at another site a few weeks ago. This was a revelation to me as well as the network manager. So, others should be aware of this possibility.

Any thoughts would be greatly appreciated as I have an Argon at yet another site that’s also having similar problems, but was previously communicating just fine. It simply looks to me that TCP traffic on 5683 is being blocked.

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [September 30, 2020, 5:04pm UTC](https://community.particle.io/t/3-photons-fail-on-verify-device-ownership-two-yellow-or-orange-blinks-setup-failed-solved/57273/6 "2020-09-30T17:04:17Z")

</div>

It looks like DNS succeeded:

```auto
ping addr 8.8.8.8=1
device.spark.io=3.216.239.14

```

That is a [valid cloud server IP address](https://docs.particle.io/tutorials/device-cloud/introduction/#gen-2-and-gen-1-wi-fi) so a firewall is not intercepting and redirecting DNS.

However this message

```auto
Could not connect to device server by CoAP 

```

indicates that when a test TCP connection was made to 3.216.239.14 port 5683, it failed. That typically means a firewall is blocking outbound TCP access to that port. That’s just a raw TCP connection in cloud debug, so it’s not device keys or anything like that. A TCP connection can’t be made at all.

---

<div class="post-metadata">

**Author:** ![ctmorrison](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ctmorrison/32/7396_2.png) [@ctmorrison](https://community.particle.io/u/ctmorrison)\
**Post date:** [September 30, 2020, 5:08pm UTC](https://community.particle.io/t/3-photons-fail-on-verify-device-ownership-two-yellow-or-orange-blinks-setup-failed-solved/57273/7 "2020-09-30T17:08:12Z")

</div>

@rickkas7, that’s what I’ve conveyed to them. Let’s hope they will take a closer look at their WiFi controller. He did indicate all he can see is it pinging Google’s DNS IP at their firewall. I’m guessing the WiFi controller also has some form of firewall capability as well and it’s stopping the 5683 traffic. At least that’s where it was surprisingly stopped at another customer’s site.

Thanks for confirming my perception.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/3/2/3291e3c9351789fe8620ae5bcec8d3fec67ff221.png) [@system](https://community.particle.io/u/system)\
**Post date:** [April 1, 2021, 5:08am UTC](https://community.particle.io/t/3-photons-fail-on-verify-device-ownership-two-yellow-or-orange-blinks-setup-failed-solved/57273/8 "2021-04-01T05:08:17Z")

</div>

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