Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] connect_callback called repeatedly

Hi All,

I have a very odd issue.

I have four different computers all runiing Linux, of one flavour or another and I've built an app, the ame code, on each.  These computers are:

A: Laptop running Ubuntu 18.04 64 bit
B: Nano-itx running Debian 8 (Jessie)
C: Friendly Arm NanoPi NEO runing Ubuntu 16.04.5 LTS
D: Raspberry PI3 B+ Running Raspbian

All are as up to date as they can be, and all are on 182.168.10.0/24 subnet

The mosquitto broker is running on Raspberry Pi 0 and on subnet 192.168.0.0/24

The command line tools (mosquitto_pub/_sub) work fine on all four devices.

My software runs fine on A-C. However on D I have the connect_callback beeing called multiple times.  All it does is print an identifying string, and the status code (which is always 0)

I have a disconnect callback that does the same, but is never called.  Any ideas as to a possible cause ?

Thanks,
Andrew



Back to the top