# Cloud connection lost and reconnected at a steady pace

**URL:** <https://community.particle.io/t/cloud-connection-lost-and-reconnected-at-a-steady-pace/33653>\
**Category:** Cloud\
**Created:** [June 10, 2017, 9:39am UTC](https://community.particle.io/t/cloud-connection-lost-and-reconnected-at-a-steady-pace/33653 "2017-06-10T09:39:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jenschr](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jenschr/32/4792_2.png) [@jenschr](https://community.particle.io/u/jenschr)\
**Post date:** [June 10, 2017, 9:39am UTC](https://community.particle.io/t/cloud-connection-lost-and-reconnected-at-a-steady-pace/33653/1 "2017-06-10T09:39:10Z")

</div>

After working on a project for a long time, I can no longer program it Over The Air (only via serial). The problem seems to be that the P1 module is incapable of holding a consistent connection the Particle Cloud. Here is a video showing the Cyan(ish?) blink pattern [https://www.youtube.com/watch?v=7thHz2uFME4](https://www.youtube.com/watch?v=7thHz2uFME4)

This repeats forever. The P1 is using the 0.6.2 firmware. Any suggestions as to how I can resolve this and get OTA back? The connection to the internet is not disturbed when this happens as the device streams realtime data every second to an MQTT server.

---

<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:** [June 10, 2017, 9:46am UTC](https://community.particle.io/t/cloud-connection-lost-and-reconnected-at-a-steady-pace/33653/2 "2017-06-10T09:46:17Z")

</div>

I counted 10 seconds cycle for each time the issue happened.

If you flash a empty firmware, is this behavior exhibited as well?

Maybe a `Particle.process()` is needed somewhere to service the cloud connection stuff.

You can try to “catch” it within the 10 second timeframe and hit flash!

---

<div class="post-metadata">

**Author:** ![jenschr](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jenschr/32/4792_2.png) [@jenschr](https://community.particle.io/u/jenschr)\
**Post date:** [June 10, 2017, 10:07am UTC](https://community.particle.io/t/cloud-connection-lost-and-reconnected-at-a-steady-pace/33653/3 "2017-06-10T10:07:46Z")

</div>

@kennethlimcp If I flash with anything else on the same device, it all works. Calling Particle.process is very likely the thing here, so thanks! I’m 99% certain that’s it.

I thought that would be run automatically as part of the main loop, but I guess it’s not since I’m using MANUAL mode. I had a call to process there earlier, but had forgotten that it was required. Brilliant!

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [June 10, 2017, 12:51pm UTC](https://community.particle.io/t/cloud-connection-lost-and-reconnected-at-a-steady-pace/33653/4 "2017-06-10T12:51:51Z")

</div>

The docs clearly state that in MANUAL mode your application code is responsible for calling `Particle.process()` regularly.

---

<div class="post-metadata">

**Author:** ![jenschr](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jenschr/32/4792_2.png) [@jenschr](https://community.particle.io/u/jenschr)\
**Post date:** [June 10, 2017, 3:26pm UTC](https://community.particle.io/t/cloud-connection-lost-and-reconnected-at-a-steady-pace/33653/5 "2017-06-10T15:26:33Z")

</div>

Yes. Entirely my own fault! I implemented this 1+ month ago and simply forgot it was required :-/
