Issue wuth MQTT someone help me ?
here the log:
parallels@debian-gnu-linux-vm:~$ cd /
parallels@debian-gnu-linux-vm:/$ cd rhasspy/
parallels@debian-gnu-linux-vm:/rhasspy$ sudo ./run-venv.sh
[sudo] password di parallels:
Using pre-compiled binaries.
- Serving Flask app âapp.pyâ
- Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
- Debug mode: off
DEBUG:app:Namespace(profile=None, set=[])
DEBUG:RhasspyCore:Loaded profile from profiles/en/profile.json
INFO:root:++++ Actor System gen (3, 9) started, admin @ ActorAddr-(T|:1900)
DEBUG:root:Thespian source: /rhasspy/.venv/lib/python3.7/site-packages/thespian/init.py
DEBUG:DialogueManager: -> started
DEBUG:DialogueManager:started -> loading_mqtt
DEBUG:DialogueManager:Loading MQTT first
DEBUG:DialogueManager:LoadingâŠwill time out after 30 second(s)
DEBUG:HermesMqtt: -> started
DEBUG:HermesMqtt:started -> connecting
DEBUG:HermesMqtt:Connecting to MQTT broker localhost:1883
DEBUG:DialogueManager:loading_mqtt -> loading
ERROR:HermesMqtt:connecting
Traceback (most recent call last):
File â/rhasspy/rhasspy/mqtt.pyâ, line 98, in do_connect
ret = self.client.connect(self.host, self.port)
File â/rhasspy/.venv/lib/python3.7/site-packages/paho/mqtt/client.pyâ, line 839, in connect
return self.reconnect()
File â/rhasspy/.venv/lib/python3.7/site-packages/paho/mqtt/client.pyâ, line 962, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File â/usr/lib/python3.7/socket.pyâ, line 727, in create_connection
raise err
File â/usr/lib/python3.7/socket.pyâ, line 716, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
DEBUG:HermesMqtt:Reconnecting in 5 second(s)
DEBUG:DialogueManager:Loading actors
DEBUG:DialogueManager:Actors created. Waiting for [ârecorderâ, âplayerâ, âwakeâ, âcommandâ, âdecoderâ, ârecognizerâ, âhandlerâ, âhass_handlerâ, âsentence_generatorâ, âspeech_trainerâ, âintent_trainerâ, âword_pronouncerâ] to start.
DEBUG:PhonetisaurusPronounce: -> started
DEBUG:JsgfSentenceGenerator: -> started
DEBUG:HomeAssistantIntentHandler: -> started
DEBUG:FuzzyWuzzyRecognizer: -> started
DEBUG:HermesCommandListener: -> started
DEBUG:PocketsphinxSpeechTrainer: -> started
DEBUG:FuzzyWuzzyRecognizer:Loaded examples from profiles/en/intent_examples.json
DEBUG:FuzzyWuzzyRecognizer:started -> loaded
DEBUG:HomeAssistantIntentHandler:started -> started
DEBUG:APlayAudioPlayer: -> started
DEBUG:ARecordAudioRecorder: -> started
DEBUG:DialogueManager:word_pronouncer started
DEBUG:DialogueManager:speech_trainer started
DEBUG:DialogueManager:sentence_generator started
DEBUG:DialogueManager:command started
DEBUG:FuzzyWuzzyIntentTrainer: -> started
DEBUG:DialogueManager:handler started
DEBUG:DialogueManager:player started
DEBUG:DialogueManager:recorder started
DEBUG:DialogueManager:recognizer started
DEBUG:DialogueManager:hass_handler started
DEBUG:DialogueManager:intent_trainer started
DEBUG:PocketsphinxWakeListener: -> started
DEBUG:PocketsphinxWakeListener:Loading wake decoder with hmm=profiles/en/acoustic_model, dict=profiles/en/dictionary.txt
DEBUG:PocketsphinxWakeListener:started -> loaded
DEBUG:DialogueManager:wake started
DEBUG:PocketsphinxDecoder: -> started
INFO:PocketsphinxDecoder:Loading decoder with hmm=profiles/en/acoustic_model, dict=profiles/en/dictionary.txt, lm=profiles/en/language_model.txt
DEBUG:PocketsphinxDecoder:started -> loaded
DEBUG:DialogueManager:decoder started
DEBUG:PocketsphinxWakeListener:loaded -> listening
DEBUG:ARecordAudioRecorder:started -> recording
INFO:DialogueManager:Actors loaded
DEBUG:DialogueManager:loading -> ready
DEBUG:ARecordAudioRecorder:[âarecordâ, â-qâ, â-râ, â16000â, â-fâ, âS16_LEâ, â-câ, â1â, â-tâ, ârawâ, â-Dâ, âdefaultâ]
DEBUG:ARecordAudioRecorder:Recording from microphone (arecord)
INFO:DialogueManager:Automatically listening for wake word
DEBUG:DialogueManager:ready -> asleep
INFO:werkzeug: * Running on http://0.0.0.0:12101/ (Press CTRL+C to quit)
ERROR:HermesMqtt:connecting
Traceback (most recent call last):
File â/rhasspy/rhasspy/mqtt.pyâ, line 98, in do_connect
ret = self.client.connect(self.host, self.port)
File â/rhasspy/.venv/lib/python3.7/site-packages/paho/mqtt/client.pyâ, line 839, in connect
return self.reconnect()
File â/rhasspy/.venv/lib/python3.7/site-packages/paho/mqtt/client.pyâ, line 962, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File â/usr/lib/python3.7/socket.pyâ, line 727, in create_connection
raise err
File â/usr/lib/python3.7/socket.pyâ, line 716, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
DEBUG:HermesMqtt:Reconnecting in 5 second(s)
ERROR:HermesMqtt:connecting
Traceback (most recent call last):
File â/rhasspy/rhasspy/mqtt.pyâ, line 98, in do_connect
ret = self.client.connect(self.host, self.port)
File â/rhasspy/.venv/lib/python3.7/site-packages/paho/mqtt/client.pyâ, line 839, in connect
return self.reconnect()
File â/rhasspy/.venv/lib/python3.7/site-packages/paho/mqtt/client.pyâ, line 962, in reconnect
sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0))
File â/usr/lib/python3.7/socket.pyâ, line 727, in create_connection
raise err
File â/usr/lib/python3.7/socket.pyâ, line 716, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
DEBUG:HermesMqtt:Reconnecting in 5 second(s)