jamiehoward430 / mycroft-mymqtt

mqtt for MycroftAI
Apache License 2.0
17 stars 13 forks source link

No auth in MQTT #1

Closed marksev1 closed 7 years ago

marksev1 commented 7 years ago

I have this problem MyMQTTSkill Traceback (most recent call last): File "/home/msev/mycroft-core/mycroft/skills/core.py", line 200, in receive_handler handler(message) File "/home/msev/mycroft-core/mycroft/skills/MyMQTT/init.py", line 49, in handle_single_command mqttc.connect(self.mqtthost,self.mqttport) File "/home/msev/.virtualenvs/mycroft/local/lib/python2.7/site-packages/paho/mqtt/client.py", line 686, in connect return self.reconnect() File "/home/msev/.virtualenvs/mycroft/local/lib/python2.7/site-packages/paho/mqtt/client.py", line 808, in reconnect sock = socket.create_connection((self._host, self._port), source_address=(self._bind_address, 0)) File "/usr/lib/python2.7/socket.py", line 557, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): error: getaddrinfo() argument 2 must be integer or string

The mqtt-user and mqtt-pass i left empty "" , like this. I think that is the problem.

marksev1 commented 7 years ago

Any feedback? I tried commenting out the user and password parts and it still didn't work...dunno what i'm doing wrong...

marksev1 commented 7 years ago

Problem solved was a conf problem i will post PR later to the readme :D