When I look at 'events' device constantly going offline coming online

When I look at “events”, it says my Cores are going online/offline every few minutes - but the “last handshake” timestamp on “my devices” tells a different story - what’s the difference between these two events, please?

Secondly, I am still suffering from the bug whereby a device can show as offline in console but still respond happily to pings from that self self console and publish/receive pub/sub events. Not massively problematic but still odd - and something I’ve been reporting as a bug for years. Should I log this officially somewhere? It might be my fault for not filing it as a bug properly.

1 Like

Let me ping someone that might be able to help, @rickkas7 or @ParticleD are you able to assist?

Any updates? I have the same, some of my devices going online/offline a lot of times.

There are any number of reasons they could be going offline. Do they stay breathing cyan, or switch to breathing green? If breathing green happens, its blocking the loop (or not using threading).

A bad Internet connection could cause problems as well, as the Photon likes to keep the connection open. Every time the connection is interrupted, you’ll go offline.

The same thing can happen with Wi-Fi if you have a bad Wi-Fi signal, or a problem with your Wi-Fi access point.

The best way to troubleshoot this is to get a log while connected by USB. This will sometimes show what’s causing the disconnection.

2 Likes

Hi,
thanks for your quick replay.
I think my problem is related to the code, but I cant understand why. The device usually start blinking green but get back online. Sometimes this only takes a few sec, sometimes a couple of hours. Normally, the setup is not runned when the device get back online.
So, by using phton.clouddebug I will not get any help if the isue is in my code…

I have tips for breathing green, too:

3 Likes

well, as I have seen (some are not at my location) they are blinking green, not breathing greeen.
The wifi signal is strong.