Service appears to have stopped working today at around 11/01/23 04:45 GMT - all my devices are unable to send messages.
Devices lost connection to MyQttHub
Just confirm everything is working as expected and no failure has been reported.
We are handling this directly at firstname.lastname@example.org (we have just replied about this)
I have had over two hundred devices connected for many months which have all stopped sending via MyQttHub - a similar number sending via another service are all working OK.
There does appear to be a problem.
Just to confirm that the issue is now resolved. The public IP address of our 4g SIM network (1nce) had been blocked by MyQttHub - once unblocked the devices were able to communicate again.
I wrote code to connect, and I am using MQTTBox. I am seeing it connect and disconnect repeatedly
Reviewing your case we see connection replace events that explain those reconnections:
MYQTT: 03-04-2023 16:08:53 INFO [MyQtt-akka.actor.default-dispatcher-8] e.a.r.m.l.MyQttConn - CONNECT : ACCEPTED : reason=ClassicAuth: ClientId+UserName+Passsword : cs=true : d=hub-xxx : u=xxx : email@example.com : role=server : r=74.xxx.xxx.xxx
MYQTT: 03-04-2023 16:08:53 INFO [MyQtt-akka.actor.default-dispatcher-3] e.a.r.m.l.MyQttContext - CONNECT : SHUTDOWN : d=hub-xxxx : firstname.lastname@example.org : r=74.xxx.xxx.xxx : reason=connection replaced by connection from r=74.xxxx.xxx.xxxx (0x20073)
If you are using MQTTBox, then it means you are connecting with it several times, causing next connection to close the previous one due to connction replace.
You have an explanation here:
- Do not use same credencials for two devices connecting a the same time. See article
- In case you write code, remember to disconnect before connecting again, otherwise next CONNECT will replace previous session.