Anybody help what’s wrong with this?
mqtt is running properly
lsof -i tcp:1883
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mosquitto 818 mosquitto 3u IPv4 8661 0t0 TCP localhost:1883 (LISTEN)
configuration.yaml
mqtt:
broker: 127.0.0.1
port: 1883
client_id: home-assistant-1
keepalive: 60
16-11-01 12:22:57 homeassistant.components.mqtt: Can't connect to the broker. Please check your settings and the broker itself.
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/mqtt/__init__.py", line 249, in setup
client_cert, tls_insecure, protocol)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/mqtt/__init__.py", line 335, in __init__
self._mqttc.connect(broker, port, keepalive)
File "/root/.homeassistant/deps/paho/mqtt/client.py", line 686, in connect
return self.reconnect()
File "/root/.homeassistant/deps/paho/mqtt/client.py", line 821, in reconnect
ciphers=self._tls_ciphers)
File "/usr/lib/python3.4/ssl.py", line 887, in wrap_socket
ciphers=ciphers)
File "/usr/lib/python3.4/ssl.py", line 577, in __init__
self.do_handshake()
File "/usr/lib/python3.4/ssl.py", line 804, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
16-11-01 12:22:57 homeassistant.bootstrap: component mqtt failed to initialize