addons icon indicating copy to clipboard operation
addons copied to clipboard

Spam at log. Messages like: New connection from 172.30.32.2

Open KitHubek opened this issue 2 years ago • 10 comments

Describe the issue you are experiencing

At log many many logs ad below:

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

Mosquitto broker

What is the version of the add-on?

6.1.2

Steps to reproduce the issue

  1. Go to mosquito logs

...

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?

1661770800: New connection from 172.30.32.2:54258 on port 1883.
1661770800: Client <unknown> closed its connection.
1661770920: New connection from 172.30.32.2:54260 on port 1883.
1661770920: Client <unknown> closed its connection.
1661771040: New connection from 172.30.32.2:54262 on port 1883.
1661771040: Client <unknown> closed its connection.
1661771160: New connection from 172.30.32.2:54264 on port 1883.
1661771160: Client <unknown> closed its connection.
1661771280: New connection from 172.30.32.2:54266 on port 1883.
1661771280: Client <unknown> closed its connection.
1661771400: New connection from 172.30.32.2:54268 on port 1883.
1661771400: Client <unknown> closed its connection.
1661771520: New connection from 172.30.32.2:54270 on port 1883.
1661771520: Client <unknown> closed its connection.
1661771640: New connection from 172.30.32.2:54272 on port 1883.
1661771640: Client <unknown> closed its connection.
1661771760: New connection from 172.30.32.2:54274 on port 1883.
1661771760: Client <unknown> closed its connection.
1661771880: New connection from 172.30.32.2:54276 on port 1883.
1661771880: Client <unknown> closed its connection.
1661772000: New connection from 172.30.32.2:54278 on port 1883.
1661772000: Client <unknown> closed its connection.
1661772120: New connection from 172.30.32.2:54280 on port 1883.
1661772120: Client <unknown> closed its connection.
1661772240: New connection from 172.30.32.2:54282 on port 1883.
1661772240: Client <unknown> closed its connection.
1661772360: New connection from 172.30.32.2:54284 on port 1883.
1661772360: Client <unknown> closed its connection.
1661772480: New connection from 172.30.32.2:54286 on port 1883.
1661772480: Client <unknown> closed its connection.

Additional information

No response

KitHubek avatar Aug 29 '22 12:08 KitHubek

Had the same issue, devices cant connect to the mqtt server ether. After two or three restarts it fixed itself.

martijntinus avatar Aug 29 '22 20:08 martijntinus

If you disable watchdog does it go away?

mdegat01 avatar Aug 29 '22 23:08 mdegat01

Had same issue after installing 6.1.3. Rebooted twice.... came back to normal operation.

klausdm avatar Aug 31 '22 05:08 klausdm

I've got the same problem, ring-mqtt can't connect, it's logs say it's not authorized. Triple checked all configs, everything looks good and this was working for over 2 years before the update last week. Is there any way to roll back the update?

hdprice avatar Sep 04 '22 18:09 hdprice

workaround - Simply edited the file in the Mosquitto Configuration page, using the 3 dots at the top and choosing edit in yaml, delete last space and save

almirus avatar Sep 11 '22 14:09 almirus

Experiencing the same issue - any Home Assistant restart causes the broker to fail.. restarting the broker via the add-on in supervisor, "fixes" the problem, until the next HA restart.

madAndroid avatar Sep 19 '22 05:09 madAndroid

Same for me

jkasten80 avatar Sep 22 '22 08:09 jkasten80

Same for me

SCratORS avatar Oct 07 '22 08:10 SCratORS

Any news here? The problem is still there

jkasten80 avatar Oct 07 '22 08:10 jkasten80

This problem is solved by disabling watchdog

SCratORS avatar Oct 07 '22 12:10 SCratORS

This problem is solved by disabling watchdog

I wouldn't call it "solving" - when you need to disable a functionallity. It is more a workaround in my eyes...

ChristophCaina avatar Oct 12 '22 15:10 ChristophCaina

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[bot] avatar Nov 11 '22 16:11 github-actions[bot]

bad bot - this issue is not resolved - problem remains notwithstanding work arounds

roblatour avatar Oct 31 '23 03:10 roblatour

problem still exsist

KitHubek avatar Dec 02 '23 09:12 KitHubek

Problem still exists in 2023.12.1

ngosang avatar Dec 12 '23 18:12 ngosang

Problem still exists in 2023.12.3

vbueschken avatar Dec 20 '23 09:12 vbueschken

Still exists at 30.1.2024 :-)

Ferrari2 avatar Jan 30 '24 21:01 Ferrari2

Problem besteht immer noch am 7.02.2024

tokken1 avatar Feb 07 '24 21:02 tokken1

Still an issue. Is there a reason we cant either ignore connection and not log them? Or alternatively have a status topic that just is updated every 2 minutes?

starsoccer avatar Feb 26 '24 14:02 starsoccer

So apparently this is not an issue but rather an (annoying) side effect of the hass.io supervisor checking if the add-on is still responding. See also @frenck's response here: https://github.com/home-assistant/core/issues/51603#issuecomment-856523532

Seylox avatar Mar 08 '24 19:03 Seylox

So apparently this is not an issue but rather an (annoying) side effect of the hass.io supervisor checking if the add-on is still responding. See also @frenck's response here: home-assistant/core#51603 (comment)

Ive seen that thread and while I understand this is a semi intended effect, the effect is still an annoyance to many. I think there are alternative options to check for uptime that dont require a log entry.

Or alternatively just simply implementing a filter to not show these logs, or better yet not log this in the first place if its coming from the supervisor would also be a decent solution

starsoccer avatar Mar 08 '24 20:03 starsoccer