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

mqtt 6.0.1 Socket errors and device disconnecting #2027

Closed
Tomax77 opened this issue May 21, 2021 · 5 comments
Closed

mqtt 6.0.1 Socket errors and device disconnecting #2027

Tomax77 opened this issue May 21, 2021 · 5 comments

Comments

@Tomax77
Copy link

Tomax77 commented May 21, 2021

The problem

Newest mosquitto mqtt addon not working properly as it produces many errors when connecting to a client in log:

1621617441: New connection from 172.30.32.1 on port 1883.
1621617441: Socket error on client , disconnecting.
1621617456: New connection from 172.30.32.1 on port 1883.
1621617456: Socket error on client , disconnecting.
1621617471: New connection from 172.30.32.1 on port 1883.
....

HA Core messages are:
21-05-21 17:26:07 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqtt'
21-05-21 17:26:08 WARNING (MainThread) [supervisor.auth] Unauthorized login for 'mqtt'

Environment

HA Supervised
core-2021.5.5
supervisor-2021.04.3
OS: Debian Buster 10
Docker: 20.10.6

  • Add-on with the issue: mosquitto mqtt
  • Add-on release with the issue: 6.0.1
  • Last working add-on release (if known): 5.1.1
  • Operating environment (OS/Supervised): Debian Buster HA Supervised

Problem-relevant configuration

#Mosquito config:
logins:
username: mqtt
password: XXXXX
customize:
active: false
folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false

#zigbee2mqtt config:
data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://192.168.XXX.XXX:1883'
user: mqtt
password: XXXXXXX
serial:
port: >-
/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B001938C45E-if00
advanced:

@Mariusthvdb
Copy link

duplicate? see: #2025

@Tomax77
Copy link
Author

Tomax77 commented May 21, 2021

Ok, didn't see this messages in version 5.1.1. But if it is normal behaviour my issue can be closed

@Tomax77 Tomax77 closed this as completed May 21, 2021
@Tomax77 Tomax77 reopened this May 26, 2021
@Tomax77
Copy link
Author

Tomax77 commented May 26, 2021

Repeating HA core messages are strange and consulting. Any clue to solve it?

@mhzawadi
Copy link

I found that a reconfig of the integration to use the user I setup for MQTT sorted out any issues I had

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants