iSpy icon indicating copy to clipboard operation
iSpy copied to clipboard

MQTT can't connect

Open faspina opened this issue 1 month ago • 4 comments

I am running the last version of mosquito docker,all other MQTT device are working.

ispyagentdrv 7.0.0.0 docker version can't sustain a connection to MQTT

in the MQTT I see it connecting then it disconnects

logs(4).txt

faspina avatar Dec 15 '25 23:12 faspina

Looking at the mosquitto logs it looks like the agentdvr client is expiring and never reconnecting

faspina avatar Dec 15 '25 23:12 faspina

it says it's trying to connect to Unspecified/192.168.7.11:8883 and never does connect to it - check your settings you should just have an ip address or host name in the mqtt server setting

ispysoftware avatar Dec 16 '25 01:12 ispysoftware

Here is the lastest

logs.txt

scroll to the bottom. I am not using authentication

I see it login in on the mosquito logs

1765850321: New connection from 192.168.20.10:58934 on port 1883. 1765850321: New client connected from 192.168.20.10:58934 as 6fa5642a-1b6e-4ac7-8444-f26356d2f7d3 (p5, c1, k15). 1765850343: Client 6fa5642a-1b6e-4ac7-8444-f26356d2f7d3 has exceeded timeout, disconnecting.

192.168.20.10 is the the IP of the agentdvr its on a different vlan , all of this was working in previous releases

faspina avatar Dec 16 '25 02:12 faspina

none of the mqtt code has been changed recently, or the library it's using.

you can install an older version https://www.ispyconnect.com/docs/agent/about#installing-older-versions

and check which version introduced the issue and i can check for code changes but i can't see anything that would account for it.

ispysoftware avatar Dec 16 '25 02:12 ispysoftware