# Diagnosing Cloud Disconnect Issues

**URL:** <https://community.particle.io/t/diagnosing-cloud-disconnect-issues/45170>\
**Category:** Troubleshooting\
**Created:** [November 11, 2018, 11:49pm UTC](https://community.particle.io/t/diagnosing-cloud-disconnect-issues/45170 "2018-11-11T23:49:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chargeMan](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@chargeMan](https://community.particle.io/u/chargeMan)\
**Post date:** [November 11, 2018, 11:49pm UTC](https://community.particle.io/t/diagnosing-cloud-disconnect-issues/45170/1 "2018-11-11T23:49:36Z")

</div>

Hi  
We have around 70 P1 module boards out in the field  
The current firmware is running 0.8.0-rc.11.  
Many devices are running perfectly with no cloud disconnects.  
However I have some devices which report Good WiFi signal strength but have high levels of disconnects (which often results in periods of offline status’s in the Particle console)  
Is there any recommended tools to help diagnose why the disconnects are occurring or know issues with wifi connections in 0.8.0-rc.11?

Thanks  
Dave

---

<div class="post-metadata">

**Author:** ![armor](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/armor/32/18398_2.png) [@armor](https://community.particle.io/u/armor)\
**Post date:** [November 12, 2018, 3:34pm UTC](https://community.particle.io/t/diagnosing-cloud-disconnect-issues/45170/2 "2018-11-12T15:34:57Z")

</div>

@chargeMan

My experience is on photons all with external ariels. At the moment I do not have many devices on 0.8.0-RC.11 - since I am waiting for the proper release - for a long time now!

I am assuming you have downloaded the Diagnostics History file? Looking at the log for a photon that is on my desk I can see that it has disconnected 58 times but why? I have attached a part of the log here - you may be able to see. Memory is not an issue, AFAIK the loop cadence is not an issue but is one to watch.  
What is happening with this Photon is the WiFi signal is very variable and in particular, although the RSSI appears Good the data quality is not good at all. So what is happening is a large number of network disconnections causing the cloud connection to be lost. The reasons are always 1006 or 1023 - authentication failure (bad data) or out of range of AP (poor signal).

 ![image](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/e/9/e948d6cf70033f20668faa8a5a975f03530dedfe.png)

Hope that helps.

---

<div class="post-metadata">

**Author:** ![ninjatill](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ninjatill/32/17370_2.png) [@ninjatill](https://community.particle.io/u/ninjatill)\
**Post date:** [November 12, 2018, 4:05pm UTC](https://community.particle.io/t/diagnosing-cloud-disconnect-issues/45170/3 "2018-11-12T16:05:26Z")

</div>

Not sure if it helps in your particular case but there is a Cloud debug library created by @rickkas7. You could try using it to debug a test unit to find the root cause:

> **[rickkas7/photon-clouddebug](https://github.com/rickkas7/photon-clouddebug)**
>
> Special code for debugging cloud connection issues with the Particle Photon - rickkas7/photon-clouddebug

---

<div class="post-metadata">

**Author:** ![chargeMan](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@chargeMan](https://community.particle.io/u/chargeMan)\
**Post date:** [November 12, 2018, 8:48pm UTC](https://community.particle.io/t/diagnosing-cloud-disconnect-issues/45170/4 "2018-11-12T20:48:49Z")

</div>

Thanks guys:grinning:. Many thanks for the advice. I will try the Cloud debug library
