I have an IP address that Im not familar with connecting to MQTT. How do I find where its coming from?

I have a 172 address connecting to my mosquito broker. I have no idea what it is though. My router is using 192 addresses for all of my network devices. I can ping this 172 address but I have no idea what it is. Using the fing app I don’t see that 172 address on my network. Could there be something in a mosquito config file somewhere that is doing this? Super confused

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] mosquitto.sh: executing... 
[18:02:34] INFO: SSL is not enabled
[cont-init.d] mosquitto.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[18:02:35] INFO: Starting NGINX for authentication handling...
[18:02:36] INFO: Starting mosquitto MQTT broker...
1638324156: mosquitto version 1.6.12 starting
1638324156: |-- *** auth-plug: startup
[18:02:37] INFO: Successfully send discovery information to Home Assistant.
[18:02:37] INFO: Successfully send service information to the Supervisor.
1638324156: Config loaded from /etc/mosquitto/mosquitto.conf.
1638324156: Loading plugin: /usr/share/mosquitto/auth-plug.so
1638324156:  ├── Username/password checking enabled.
1638324156:  ├── TLS-PSK checking enabled.
1638324156:  └── Extended authentication not enabled.
1638324156: Opening ipv4 listen socket on port 1883.
1638324156: Opening ipv6 listen socket on port 1883.
1638324156: Opening websockets listen socket on port 1884.
1638324156: Warning: Mosquitto should not be run as root/administrator.
1638324156: mosquitto version 1.6.12 running
1638324156: New connection from 127.0.0.1 on port 1883.
1638324156: Socket error on client <unknown>, disconnecting.
1638324206: New connection from 172.30.32.2 on port 1883.
1638324206: Socket error on client <unknown>, disconnecting.
1638324215: New connection from 172.30.32.1 on port 1883.
401: Unauthorized1638324215: Socket error on client <unknown>, disconnecting.
1638324239: New connection from 172.30.32.1 on port 1883.
{"result": "ok", "data": {}}1638324240: New client connected from 172.30.32.1 as mqttjs_e431c72d (p2, c1, k60, u'mqtt-user').
1638324326: New connection from 172.30.32.2 on port 1883.
1638324326: Socket error on client <unknown>, disconnecting.
1638324335: New connection from 172.30.32.1 on port 1883.
1638324335: Socket error on client <unknown>, disconnecting.
1638324446: New connection from 172.30.32.2 on port 1883.
1638324446: Socket error on client <unknown>, disconnecting.
1638324455: New connection from 172.30.32.1 on port 1883.
1638324455: Socket error on client <unknown>, disconnecting.
1638324566: New connection from 172.30.32.2 on port 1883.
1638324566: Socket error on client <unknown>, disconnecting.
1638324575: New connection from 172.30.32.1 on port 1883.
401: Unauthorized1638324575: Socket error on client <unknown>, disconnecting.
1638324686: New connection from 172.30.32.2 on port 1883.
1638324686: Socket error on client <unknown>, disconnecting.
1638324695: New connection from 172.30.32.1 on port 1883.

172…. Is likely to be something within a Docker container (or an add on). It’s not an Internet routable address so it’s coming from within your own network.

All the 172.30.32.X addresses are assigned to the add-ons you have installed. (And also core itself)

1 Like

Here is my MQTT error which is occurring repeatedly:

It is the gateway address in all my containers for my hassio network:
hassio_supervisor container:

hassio_dns:

etc., etc.

I am trying to figure out why the error is occurring and how to rectify it…

I am seeing the same errors. I think that it just started after the latest Supervisor release 2022.05.0 but not sure.

Has anyone figured out how to troubleshoot these errors? it’s spamming my Mosquitto logs and while the IP is always the same the port keeps changing. I don’t even see this IP when looking at my Portainer add-on which is odd.