# WiFi reconnection issue - what does this trace mean?

**URL:** <https://community.particle.io/t/wifi-reconnection-issue-what-does-this-trace-mean/55703>\
**Category:** Firmware\
**Created:** [April 16, 2020, 12:22am UTC](https://community.particle.io/t/wifi-reconnection-issue-what-does-this-trace-mean/55703 "2020-04-16T00:22:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![UMD](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/umd/32/5850_2.png) [@UMD](https://community.particle.io/u/UMD)\
**Post date:** [April 16, 2020, 7:49am UTC](https://community.particle.io/t/wifi-reconnection-issue-what-does-this-trace-mean/55703/3 "2020-04-16T07:49:38Z")

</div>

@armor, I should have been more specific!

**DeviceOS 1.5.0 on a P1**.

The issue is when a connection drops for whatever reason.

I am simulating by removing the ethernet cable from the access point (ie loss of internet) and also turning off the access point (loss of WiFi), then re-instating. Problem for me is that the cloud connection does not come back, even though the access point is operational.

Am now circling my coding being at issue (isn't that the case in 90+% of the time!) because I resurrected this solution which works with the tests above:

> [@\[SOLVED\] TCPCLIENT intranet connection fails if no cloud connection](https://community.particle.io/t/solved-tcpclient-intranet-connection-fails-if-no-cloud-connection/24684/8):
>
> This example should be closer to what you want: #include "Particle.h" SYSTEM\_THREAD(ENABLED); SYSTEM\_MODE(SEMI\_AUTOMATIC); const unsigned long SEND\_PERIOD\_MS = 15000; enum WifiState { WIFI\_STATE\_NOT\_CONNECTED, WIFI\_STATE\_CONNECTING, WIFI\_STATE\_CONNECTED, WIFI\_STATE\_RUNNING }; IPAddress serverAddr(192,168,2,186); const int serverPort = 8081; WifiState wifiState = WIFI\_STATE\_NOT\_CONNECTED; unsigned long lastSend = 0; TCPClient client; int seq = 0; void setup() { Serial.begin(9600); WiFi.…

I will report back once I have more to say. Any insights are always appreciated!

---

_[View the full topic](https://community.particle.io/t/wifi-reconnection-issue-what-does-this-trace-mean/55703)._
