# \[Photon\] Particle Android app error: "Setup process couldn't disconnect..."

**URL:** <https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961>\
**Category:** Troubleshooting\
**Created:** [July 2, 2015, 11:26pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961 "2015-07-02T23:26:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrkale](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mrkale/32/5870_2.png) [@mrkale](https://community.particle.io/u/mrkale)\
**Post date:** [July 2, 2015, 11:26pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/1 "2015-07-02T23:26:39Z")

</div>

I received two Photons last week. One of them works correctly and I was able to set it up in the Android app, connect to it, and switching D7. But at second one after choosing device, choosing wifi network, and setting up the password the Android app stops at the message “Setup process counldn’t disconect from the Photon Wi-Fi network. This is an internal problem with the device, so …”. I reset the device a couple of times including factory reset but the situation has not changed. The device always flashes green after connecting to USB port, but after 3s pressing the Setup button it flashes blue. Please is it a hardware problem or a matter of setting?

---

<div class="post-metadata">

**Author:** ![mumblepins](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mumblepins/32/3857_2.png) [@mumblepins](https://community.particle.io/u/mumblepins)\
**Post date:** [July 2, 2015, 11:33pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/2 "2015-07-02T23:33:14Z")

</div>

- After the setting the password, and things, what does the Photon do? Does it go to blinking green? or does it go straight back to slow binking blue?
- Update the [firmware via dfu to 0.4.2](https://github.com/spark/firmware/releases)

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [July 3, 2015, 1:22am UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/3 "2015-07-03T01:22:36Z")

</div>

@mrkale,

are you able to resolve it? Another way is to use a PC to do that.

I have written a guide here: [[Howto] Setup photon if docs step fail](https://community.particle.io/t/howto-setup-photon-if-docs-step-fail/12964)

@mumblepins, the updates are not a must unless there’s an issue. It looks more like setup process hiccups in this case.

---

<div class="post-metadata">

**Author:** ![mrkale](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mrkale/32/5870_2.png) [@mrkale](https://community.particle.io/u/mrkale)\
**Post date:** [July 3, 2015, 3:13pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/4 "2015-07-03T15:13:53Z")

</div>

The Photon always blinks blue and steadily during setup. Application fails at second step of setting up (As I remember at the time Connecting to wifi network for credentials or so) after cca 1 minute delay. The Photon blinks green only after reconecting USB cable.  
Yes, I will try reflash the Photon, but when less “invasive” methods fails.

---

<div class="post-metadata">

**Author:** ![mrkale](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mrkale/32/5870_2.png) [@mrkale](https://community.particle.io/u/mrkale)\
**Post date:** [July 3, 2015, 3:15pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/5 "2015-07-03T15:15:46Z")

</div>

Not yet. Thank you for the guide. However, I will be able to test it on Monday at the earliest.

---

<div class="post-metadata">

**Author:** ![mrkale](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mrkale/32/5870_2.png) [@mrkale](https://community.particle.io/u/mrkale)\
**Post date:** [July 7, 2015, 8:49pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/6 "2015-07-07T20:49:09Z")

</div>

I tried connection with Arduino IDE serial monitor. The command “i” works, but the command “w” skips line with “SSID:” without waiting for network name and goes to “Security:” directly, so that it does not connect to wifi after writing the password.

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [July 8, 2015, 12:11am UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/7 "2015-07-08T00:11:36Z")

</div>

Opps… maybe suggesting the Arduino serial monitor is a bad choice.

Can you use something like Putty?

---

<div class="post-metadata">

**Author:** ![mrkale](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mrkale/32/5870_2.png) [@mrkale](https://community.particle.io/u/mrkale)\
**Post date:** [July 8, 2015, 6:34am UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/8 "2015-07-08T06:34:11Z")

</div>

Yes, I used Putty and writing wifi credentials went well, however the Photon did not connect to wifi. Then I tried all the methods from published guides:

- I installed photon driver in order to connect the Photon via USB - success.
- I installed particle-cli and after setting wifi the cli endlessly gained data from. I had to break the script by Ctrl+C - unsuccess.
- I installed photon-dfu driver - success I refleshed the Photon with 0.4.2 firmware. At second part the final line was error about getting status. - Maybe success.
- Now the Photon blinks blue right after reboot (reconnection USB cable).
- However, mobile app fails at first step now with error that it couldn’t get wifi credentials. - unsucess.
- After refleshing the Photon does not report as USB device more in PC.
- I tried reset, factory reset, firmware reset with buttons several times with aforementioned procedures at secured wifi (wpa2-psk(aes)) as well as at unsecured wifi without success.

I am afraid that it is a hardware problem. I hope it is just the software one and can be resolved. During weekend I am going to experiment with different wifi network and PC at my weekend house.

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [July 8, 2015, 8:24am UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/9 "2015-07-08T08:24:02Z")

</div>

Is the Photon blinking green continuously?

---

<div class="post-metadata">

**Author:** ![mrkale](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mrkale/32/5870_2.png) [@mrkale](https://community.particle.io/u/mrkale)\
**Post date:** [July 8, 2015, 3:07pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/10 "2015-07-08T15:07:19Z")

</div>

After writing wifi credential the Photon blinks cyan (not green) rapidly and continuously with very short yellow blink cca every 1 minute.

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [July 9, 2015, 6:13am UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/11 "2015-07-09T06:13:14Z")

</div>

Hmm… Havent’ seen this behavior before.

Ping @harrisonhjones

---

<div class="post-metadata">

**Author:** ![harrisonhjones](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/harrisonhjones/32/4132_2.png) [@harrisonhjones](https://community.particle.io/u/harrisonhjones)\
**Post date:** [July 9, 2015, 7:14pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/12 "2015-07-09T19:14:32Z")

</div>

Thanks @kennethlimcp, sounds like it might be a key issue no?

@mrkale can you PM me your device ID? You can follow this [tutorial](http://support.particle.io/hc/en-us/articles/202958234-How-do-I-find-my-Core-ID-) to get it (it works for both Photon and Spark Core)

---

<div class="post-metadata">

**Author:** ![kennethlimcp](https://avatars.discourse-cdn.com/v4/letter/k/c0e974/32.png) [@kennethlimcp](https://community.particle.io/u/kennethlimcp)\
**Post date:** [July 10, 2015, 1:22am UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/13 "2015-07-10T01:22:19Z")

</div>

@harrisonhjones you missed out the link above in your post and i have never seen a blinking cyan with YELLOW flashes before.

---

<div class="post-metadata">

**Author:** ![harrisonhjones](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/harrisonhjones/32/4132_2.png) [@harrisonhjones](https://community.particle.io/u/harrisonhjones)\
**Post date:** [July 10, 2015, 2:33am UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/14 "2015-07-10T02:33:05Z")

</div>

Fixed the tutorial issue and I agree, cyan with yellow is a bit weird. I’ll look into it

---

<div class="post-metadata">

**Author:** ![mdma](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mdma/32/1924_2.png) [@mdma](https://community.particle.io/u/mdma)\
**Post date:** [July 10, 2015, 10:43am UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/15 "2015-07-10T10:43:15Z")

</div>

Fast flashing cyan with intermittent orange means a problem with the client key. I don’t think flashing blue with intermittent yellow is possible. Could it be the colors are just being confused a little or perhaps appear differently on that unit?

---

<div class="post-metadata">

**Author:** ![mrkale](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mrkale/32/5870_2.png) [@mrkale](https://community.particle.io/u/mrkale)\
**Post date:** [July 10, 2015, 10:49am UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/16 "2015-07-10T10:49:40Z")

</div>

Yes, It could have been orange, not yellow. But it blinks just 2 or 3 times after long cyan blinking period. From support page: Orange flashing: Connection failure, bad handshake

---

<div class="post-metadata">

**Author:** ![harrisonhjones](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/harrisonhjones/32/4132_2.png) [@harrisonhjones](https://community.particle.io/u/harrisonhjones)\
**Post date:** [July 10, 2015, 1:15pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/17 "2015-07-10T13:15:16Z")

</div>

Entirely possible. You can either PM me your device ID and I can check or you can go ahead and perform the [keys doctor](https://github.com/spark/particle-cli/#particle-keys-doctor) command.

---

<div class="post-metadata">

**Author:** ![mrkale](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mrkale/32/5870_2.png) [@mrkale](https://community.particle.io/u/mrkale)\
**Post date:** [July 10, 2015, 6:56pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/18 "2015-07-10T18:56:57Z")

</div>

At keys doctor command openssl fails several times with error “unable to load Private Key” and many subsequent errors 2916, but key files (pem, der) have been created on the PC drive. However, the reseting the Photon and setting up wifi with particle it blinks cyan steadily.

---

<div class="post-metadata">

**Author:** ![harrisonhjones](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/harrisonhjones/32/4132_2.png) [@harrisonhjones](https://community.particle.io/u/harrisonhjones)\
**Post date:** [July 10, 2015, 6:58pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/19 "2015-07-10T18:58:44Z")

</div>

Can you PM me with the exact output from the terminal? Thanks

---

<div class="post-metadata">

**Author:** ![mrkale](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mrkale/32/5870_2.png) [@mrkale](https://community.particle.io/u/mrkale)\
**Post date:** [July 10, 2015, 7:15pm UTC](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961/20 "2015-07-10T19:15:54Z")

</div>

The terminal output is too long for PM so that I am PMing the dropbox link to listing file to you.

[Next page](https://community.particle.io/t/photon-particle-android-app-error-setup-process-couldnt-disconnect/12961.md?page=2)
