# Photon doesn´t connect to cloud

**URL:** <https://community.particle.io/t/photon-doesn-t-connect-to-cloud/41492>\
**Category:** Troubleshooting\
**Created:** [April 30, 2018, 6:20pm UTC](https://community.particle.io/t/photon-doesn-t-connect-to-cloud/41492 "2018-04-30T18:20:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChristiJ](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@ChristiJ](https://community.particle.io/u/ChristiJ)\
**Post date:** [April 30, 2018, 6:20pm UTC](https://community.particle.io/t/photon-doesn-t-connect-to-cloud/41492/1 "2018-04-30T18:20:50Z")

</div>

I have tryed connecting photon both by phone and by USB and it´s OK, but it end up not connecting to the cloud. It end up flashing chyan fast - in beginning sometimes with red inbetween. After that I run particle doctor. It says “system firmware update” OK and “Flashing the Device Doctor app” OK but when it comes to “Select antenne” it says “The Doctor didm´t complete succesfully, undefined”. I have tryed both internal and external antenne settings. I be so glad if enyone can help me further.

---

<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:** [April 30, 2018, 6:35pm UTC](https://community.particle.io/t/photon-doesn-t-connect-to-cloud/41492/2 "2018-04-30T18:35:25Z")

</div>

Put the Photon into Listening mode (blinking blue) by holding down SETUP until it blinks blue. Then issue the CLI command:

```auto
particle serial identify

```

Save the Device ID; you’ll need it later.

Then put the Photon in DFU mode by holding down both the RESET and SETUP buttons, releasing RESET and continuing to hold down SETUP until it blinks yellow and issue the commands below, in order.

```auto
particle keys server
particle keys doctor YOUR_DEVICE_ID

```

If you get this error under Windows:

```auto
'openssl' is not recognized as an internal or external command, operable program or batch file.

```

and you have used the CLI installer as described above, it may work if you do:

```auto
cd c:\OpenSSL-Win32\bin
particle keys doctor YOUR_DEVICE_ID

```

There are additional tips for a [missing openssl error on this page](https://github.com/rickkas7/particle_notes/tree/master/installing-openssl), including tips for Mac OS X and Linux.

---

<div class="post-metadata">

**Author:** ![ChristiJ](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@ChristiJ](https://community.particle.io/u/ChristiJ)\
**Post date:** [May 1, 2018, 7:34am UTC](https://community.particle.io/t/photon-doesn-t-connect-to-cloud/41492/3 "2018-05-01T07:34:56Z")

</div>

Thank you so much. I am back on line again.
