Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mosquitto broker: many unknown connections closed #3138

Closed
spanzetta opened this issue Jul 16, 2023 · 2 comments
Closed

Mosquitto broker: many unknown connections closed #3138

spanzetta opened this issue Jul 16, 2023 · 2 comments
Labels

Comments

@spanzetta
Copy link

Describe the issue you are experiencing

I see into Mosquitto broker logs a lot of connections (closed).. almost every 2 minutes..
Where to look at to understand what's happening?
Or is all of that normal?
See below

2023-07-16 16:54:28: New connection from 172.30.32.2:42692 on port 1883.
2023-07-16 16:54:28: Client closed its connection.
2023-07-16 16:56:28: New connection from 172.30.32.2:41220 on port 1883.
2023-07-16 16:56:28: Client closed its connection.
2023-07-16 16:58:29: New connection from 172.30.32.2:44536 on port 1883.
2023-07-16 16:58:29: Client closed its connection.
2023-07-16 16:58:32: Saving in-memory database to /data//mosquitto.db.
2023-07-16 17:00:29: New connection from 172.30.32.2:58626 on port 1883.
2023-07-16 17:00:29: Client closed its connection.
2023-07-16 17:02:30: New connection from 172.30.32.2:33680 on port 1883.
2023-07-16 17:02:30: Client closed its connection.
2023-07-16 17:04:31: New connection from 172.30.32.2:52472 on port 1883.
2023-07-16 17:04:31: Client closed its connection.
2023-07-16 17:06:33: New connection from 172.30.32.2:53638 on port 1883.
2023-07-16 17:06:33: Client closed its connection.
2023-07-16 17:08:33: New connection from 172.30.32.2:55766 on port 1883.
2023-07-16 17:08:33: Client closed its connection.
2023-07-16 17:10:34: New connection from 172.30.32.2:58440 on port 1883.
2023-07-16 17:10:34: Client closed its connection.
2023-07-16 17:12:34: New connection from 172.30.32.2:53200 on port 1883.
2023-07-16 17:12:34: Client closed its connection.
2023-07-16 17:14:35: New connection from 172.30.32.2:42502 on port 1883.
2023-07-16 17:14:35: Client closed its connection.
2023-07-16 17:16:35: New connection from 172.30.32.2:51376 on port 1883.
2023-07-16 17:16:35: Client closed its connection.
2023-07-16 17:18:35: New connection from 172.30.32.2:43192 on port 1883.
2023-07-16 17:18:35: Client closed its connection.
2023-07-16 17:20:35: New connection from 172.30.32.2:40344 on port 1883.
2023-07-16 17:20:35: Client closed its connection.
2023-07-16 17:22:35: New connection from 172.30.32.2:42534 on port 1883.
2023-07-16 17:22:35: Client closed its connection.
2023-07-16 17:24:36: New connection from 172.30.32.2:57400 on port 1883.
2023-07-16 17:24:36: Client closed its connection.
2023-07-16 17:26:36: New connection from 172.30.32.2:51858 on port 1883.
2023-07-16 17:26:36: Client closed its connection.
2023-07-16 17:28:33: Saving in-memory database to /data//mosquitto.db.
2023-07-16 17:28:36: New connection from 172.30.32.2:42928 on port 1883.
2023-07-16 17:28:36: Client closed its connection.
2023-07-16 17:30:36: New connection from 172.30.32.2:43298 on port 1883.
2023-07-16 17:30:36: Client closed its connection.
2023-07-16 17:32:36: New connection from 172.30.32.2:52304 on port 1883.
2023-07-16 17:32:36: Client closed its connection.
2023-07-16 17:34:37: New connection from 172.30.32.2:60394 on port 1883.
2023-07-16 17:34:37: Client closed its connection.
2023-07-16 17:36:39: New connection from 172.30.32.2:59110 on port 1883.
2023-07-16 17:36:39: Client closed its connection.
2023-07-16 17:38:39: New connection from 172.30.32.2:43102 on port 1883.
2023-07-16 17:38:39: Client closed its connection.
2023-07-16 17:40:39: New connection from 172.30.32.2:44386 on port 1883.
2023-07-16 17:40:39: Client closed its connection.
2023-07-16 17:42:39: New connection from 172.30.32.2:50524 on port 1883.
2023-07-16 17:42:39: Client closed its connection.
2023-07-16 17:44:40: New connection from 172.30.32.2:48352 on port 1883.
2023-07-16 17:44:40: Client closed its connection.
2023-07-16 17:46:40: New connection from 172.30.32.2:41834 on port 1883.
2023-07-16 17:46:40: Client closed its connection.
2023-07-16 17:48:40: New connection from 172.30.32.2:42186 on port 1883.
2023-07-16 17:48:40: Client closed its connection.
2023-07-16 17:50:40: New connection from 172.30.32.2:55682 on port 1883.
2023-07-16 17:50:40: Client closed its connection.
2023-07-16 17:52:40: New connection from 172.30.32.2:36286 on port 1883.
2023-07-16 17:52:40: Client closed its connection.
2023-07-16 17:54:40: New connection from 172.30.32.2:37182 on port 1883.
2023-07-16 17:54:40: Client closed its connection.
2023-07-16 17:56:41: New connection from 172.30.32.2:36678 on port 1883.
2023-07-16 17:56:41: Client closed its connection.
2023-07-16 17:58:34: Saving in-memory database to /data//mosquitto.db.
2023-07-16 17:58:41: New connection from 172.30.32.2:59136 on port 1883.
2023-07-16 17:58:42: Client closed its connection.
2023-07-16 18:00:43: New connection from 172.30.32.2:57386 on port 1883.
2023-07-16 18:00:43: Client closed its connection.
2023-07-16 18:02:43: New connection from 172.30.32.2:56034 on port 1883.
2023-07-16 18:02:43: Client closed its connection.
2023-07-16 18:04:43: New connection from 172.30.32.2:57244 on port 1883.
2023-07-16 18:04:43: Client closed its connection.
2023-07-16 18:06:43: New connection from 172.30.32.2:40052 on port 1883.
2023-07-16 18:06:43: Client closed its connection.
2023-07-16 18:08:43: New connection from 172.30.32.2:51730 on port 1883.
2023-07-16 18:08:43: Client closed its connection.
2023-07-16 18:10:44: New connection from 172.30.32.2:33406 on port 1883.
2023-07-16 18:10:44: Client closed its connection.
2023-07-16 18:12:44: New connection from 172.30.32.2:36166 on port 1883.
2023-07-16 18:12:44: Client closed its connection.
2023-07-16 18:14:44: New connection from 172.30.32.2:52670 on port 1883.
2023-07-16 18:14:44: Client closed its connection.
2023-07-16 18:16:44: New connection from 172.30.32.2:38090 on port 1883.
2023-07-16 18:16:44: Client closed its connection.
2023-07-16 18:18:44: New connection from 172.30.32.2:49244 on port 1883.
2023-07-16 18:18:44: Client closed its connection.
2023-07-16 18:20:44: New connection from 172.30.32.2:54072 on port 1883.
2023-07-16 18:20:44: Client closed its connection.
2023-07-16 18:22:45: New connection from 172.30.32.2:51634 on port 1883.
2023-07-16 18:22:45: Client closed its connection.
2023-07-16 18:24:45: New connection from 172.30.32.2:51778 on port 1883.
2023-07-16 18:24:45: Client closed its connection.
2023-07-16 18:26:45: New connection from 172.30.32.2:44094 on port 1883.
2023-07-16 18:26:45: Client closed its connection.
2023-07-16 18:28:35: Saving in-memory database to /data//mosquitto.db.
2023-07-16 18:28:45: New connection from 172.30.32.2:58196 on port 1883.
2023-07-16 18:28:45: Client closed its connection.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Other (e.g., Raspbian/Raspberry Pi OS/Fedora)

Which add-on are you reporting an issue with?

Mosquitto broker

What is the version of the add-on?

6.2.1

Steps to reproduce the issue

...

System Health information

System Information

version core-2023.7.2
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.4
os_name Linux
os_version 6.1.21-v7
arch armv7l
timezone Europe/Rome
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content pending
GitHub Web pending
GitHub API Calls Remaining 5000
Installed Version 1.32.1
Stage running
Available Repositories 1280
Downloaded Repositories 13
HACS Data pending
Home Assistant Cloud
logged_in false
can_reach_cert_server pending
can_reach_cloud_auth pending
can_reach_cloud pending
Home Assistant Supervisor
host_os Home Assistant OS 10.3
update_channel stable
supervisor_version supervisor-2023.07.1
agent_version 1.5.1
docker_version 23.0.6
disk_total 28.7 GB
disk_used 12.5 GB
healthy true
supported true
board rpi3
supervisor_api ok
version_api ok
installed_addons File editor (5.6.0), Watchdog Dev (0.0.10), SQLite Web (3.9.0), Duck DNS (1.15.0), Home Assistant Google Drive Backup (0.111.1), Glances (0.19.2), Advanced SSH & Web Terminal (15.0.3), Firefox (1.0.7), Ring-MQTT with Video Streaming (5.4.1), Mosquitto broker (6.2.1), Samba share (10.0.2), Network UPS Tools (0.12.0)
Dashboards
dashboards 9
resources 8
views 9
mode storage
Recorder
oldest_recorder_run July 6, 2023 at 05:18
current_recorder_run July 16, 2023 at 09:28
estimated_db_size 278.20 MiB
database_engine sqlite
database_version 3.41.2
Sonoff
version 3.5.1 (122751c)
cloud_online 1 / 1
local_online 1 / 1

Anything in the Supervisor logs that might be useful for us?

No response

Anything in the add-on logs that might be useful for us?

2023-07-16 16:54:28: New connection from 172.30.32.2:42692 on port 1883.
2023-07-16 16:54:28: Client <unknown> closed its connection.
2023-07-16 16:56:28: New connection from 172.30.32.2:41220 on port 1883.
2023-07-16 16:56:28: Client <unknown> closed its connection.
2023-07-16 16:58:29: New connection from 172.30.32.2:44536 on port 1883.
2023-07-16 16:58:29: Client <unknown> closed its connection.
2023-07-16 16:58:32: Saving in-memory database to /data//mosquitto.db.
2023-07-16 17:00:29: New connection from 172.30.32.2:58626 on port 1883.
2023-07-16 17:00:29: Client <unknown> closed its connection.
2023-07-16 17:02:30: New connection from 172.30.32.2:33680 on port 1883.
2023-07-16 17:02:30: Client <unknown> closed its connection.
2023-07-16 17:04:31: New connection from 172.30.32.2:52472 on port 1883.
2023-07-16 17:04:31: Client <unknown> closed its connection.
2023-07-16 17:06:33: New connection from 172.30.32.2:53638 on port 1883.
2023-07-16 17:06:33: Client <unknown> closed its connection.
2023-07-16 17:08:33: New connection from 172.30.32.2:55766 on port 1883.
2023-07-16 17:08:33: Client <unknown> closed its connection.
2023-07-16 17:10:34: New connection from 172.30.32.2:58440 on port 1883.
2023-07-16 17:10:34: Client <unknown> closed its connection.
2023-07-16 17:12:34: New connection from 172.30.32.2:53200 on port 1883.
2023-07-16 17:12:34: Client <unknown> closed its connection.
2023-07-16 17:14:35: New connection from 172.30.32.2:42502 on port 1883.
2023-07-16 17:14:35: Client <unknown> closed its connection.
2023-07-16 17:16:35: New connection from 172.30.32.2:51376 on port 1883.
2023-07-16 17:16:35: Client <unknown> closed its connection.
2023-07-16 17:18:35: New connection from 172.30.32.2:43192 on port 1883.
2023-07-16 17:18:35: Client <unknown> closed its connection.
2023-07-16 17:20:35: New connection from 172.30.32.2:40344 on port 1883.
2023-07-16 17:20:35: Client <unknown> closed its connection.
2023-07-16 17:22:35: New connection from 172.30.32.2:42534 on port 1883.
2023-07-16 17:22:35: Client <unknown> closed its connection.
2023-07-16 17:24:36: New connection from 172.30.32.2:57400 on port 1883.
2023-07-16 17:24:36: Client <unknown> closed its connection.
2023-07-16 17:26:36: New connection from 172.30.32.2:51858 on port 1883.
2023-07-16 17:26:36: Client <unknown> closed its connection.
2023-07-16 17:28:33: Saving in-memory database to /data//mosquitto.db.
2023-07-16 17:28:36: New connection from 172.30.32.2:42928 on port 1883.
2023-07-16 17:28:36: Client <unknown> closed its connection.
2023-07-16 17:30:36: New connection from 172.30.32.2:43298 on port 1883.
2023-07-16 17:30:36: Client <unknown> closed its connection.
2023-07-16 17:32:36: New connection from 172.30.32.2:52304 on port 1883.
2023-07-16 17:32:36: Client <unknown> closed its connection.
2023-07-16 17:34:37: New connection from 172.30.32.2:60394 on port 1883.
2023-07-16 17:34:37: Client <unknown> closed its connection.
2023-07-16 17:36:39: New connection from 172.30.32.2:59110 on port 1883.
2023-07-16 17:36:39: Client <unknown> closed its connection.
2023-07-16 17:38:39: New connection from 172.30.32.2:43102 on port 1883.
2023-07-16 17:38:39: Client <unknown> closed its connection.
2023-07-16 17:40:39: New connection from 172.30.32.2:44386 on port 1883.
2023-07-16 17:40:39: Client <unknown> closed its connection.
2023-07-16 17:42:39: New connection from 172.30.32.2:50524 on port 1883.
2023-07-16 17:42:39: Client <unknown> closed its connection.
2023-07-16 17:44:40: New connection from 172.30.32.2:48352 on port 1883.
2023-07-16 17:44:40: Client <unknown> closed its connection.
2023-07-16 17:46:40: New connection from 172.30.32.2:41834 on port 1883.
2023-07-16 17:46:40: Client <unknown> closed its connection.
2023-07-16 17:48:40: New connection from 172.30.32.2:42186 on port 1883.
2023-07-16 17:48:40: Client <unknown> closed its connection.
2023-07-16 17:50:40: New connection from 172.30.32.2:55682 on port 1883.
2023-07-16 17:50:40: Client <unknown> closed its connection.
2023-07-16 17:52:40: New connection from 172.30.32.2:36286 on port 1883.
2023-07-16 17:52:40: Client <unknown> closed its connection.
2023-07-16 17:54:40: New connection from 172.30.32.2:37182 on port 1883.
2023-07-16 17:54:40: Client <unknown> closed its connection.
2023-07-16 17:56:41: New connection from 172.30.32.2:36678 on port 1883.
2023-07-16 17:56:41: Client <unknown> closed its connection.
2023-07-16 17:58:34: Saving in-memory database to /data//mosquitto.db.
2023-07-16 17:58:41: New connection from 172.30.32.2:59136 on port 1883.
2023-07-16 17:58:42: Client <unknown> closed its connection.
2023-07-16 18:00:43: New connection from 172.30.32.2:57386 on port 1883.
2023-07-16 18:00:43: Client <unknown> closed its connection.
2023-07-16 18:02:43: New connection from 172.30.32.2:56034 on port 1883.
2023-07-16 18:02:43: Client <unknown> closed its connection.
2023-07-16 18:04:43: New connection from 172.30.32.2:57244 on port 1883.
2023-07-16 18:04:43: Client <unknown> closed its connection.
2023-07-16 18:06:43: New connection from 172.30.32.2:40052 on port 1883.
2023-07-16 18:06:43: Client <unknown> closed its connection.
2023-07-16 18:08:43: New connection from 172.30.32.2:51730 on port 1883.
2023-07-16 18:08:43: Client <unknown> closed its connection.
2023-07-16 18:10:44: New connection from 172.30.32.2:33406 on port 1883.
2023-07-16 18:10:44: Client <unknown> closed its connection.
2023-07-16 18:12:44: New connection from 172.30.32.2:36166 on port 1883.
2023-07-16 18:12:44: Client <unknown> closed its connection.
2023-07-16 18:14:44: New connection from 172.30.32.2:52670 on port 1883.
2023-07-16 18:14:44: Client <unknown> closed its connection.
2023-07-16 18:16:44: New connection from 172.30.32.2:38090 on port 1883.
2023-07-16 18:16:44: Client <unknown> closed its connection.
2023-07-16 18:18:44: New connection from 172.30.32.2:49244 on port 1883.
2023-07-16 18:18:44: Client <unknown> closed its connection.
2023-07-16 18:20:44: New connection from 172.30.32.2:54072 on port 1883.
2023-07-16 18:20:44: Client <unknown> closed its connection.
2023-07-16 18:22:45: New connection from 172.30.32.2:51634 on port 1883.
2023-07-16 18:22:45: Client <unknown> closed its connection.
2023-07-16 18:24:45: New connection from 172.30.32.2:51778 on port 1883.
2023-07-16 18:24:45: Client <unknown> closed its connection.
2023-07-16 18:26:45: New connection from 172.30.32.2:44094 on port 1883.
2023-07-16 18:26:45: Client <unknown> closed its connection.
2023-07-16 18:28:35: Saving in-memory database to /data//mosquitto.db.
2023-07-16 18:28:45: New connection from 172.30.32.2:58196 on port 1883.
2023-07-16 18:28:45: Client <unknown> closed its connection.

Additional information

No response

@martinh78
Copy link

I have the same messages in the log.
172.30.32.2 seems to be home assistant supervisor, so I assume, this is normal (but still annoying).

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Aug 24, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants