synesthesiam / rhasspy

Rhasspy voice assistant for offline home automation
https://rhasspy.readthedocs.io
MIT License
950 stars 101 forks source link

HermesMqtt: Reconnecting every 5 seconds #105

Closed raufis27 closed 4 years ago

raufis27 commented 4 years ago

This continues error happens when I enable MQTT microphone:

[DEBUG:5350314] HermesMqtt: Reconnecting in 5 second(s) [ERROR:5350313] HermesMqtt: connecting Traceback (most recent call last): File "/usr/share/rhasspy/rhasspy/mqtt.py", line 129, in do_connect ret = self.client.connect(self.host, self.port) AttributeError: 'NoneType' object has no attribute 'connect' [DEBUG:5345309] HermesMqtt: Reconnecting in 5 second(s) [ERROR:5345309] HermesMqtt: connecting Traceback (most recent call last): File "/usr/share/rhasspy/rhasspy/mqtt.py", line 129, in do_connect ret = self.client.connect(self.host, self.port) AttributeError: 'NoneType' object has no attribute 'connect' [DEBUG:5340304] HermesMqtt: Reconnecting in 5 second(s) [ERROR:5340303] HermesMqtt: connecting Traceback (most recent call last): File "/usr/share/rhasspy/rhasspy/mqtt.py", line 129, in do_connect ret = self.client.connect(self.host, self.port) AttributeError: 'NoneType' object has no attribute 'connect' [DEBUG:5335301] HermesMqtt: Reconnecting in 5 second(s) [ERROR:5335301] HermesMqtt: connecting Traceback (most recent call last): File "/usr/share/rhasspy/rhasspy/mqtt.py", line 129, in do_connect ret = self.client.connect(self.host, self.port)

raufis27 commented 4 years ago

Fixed by restarting.