Skip to content

MQTT Default User and Password #6

@MrRemmers

Description

@MrRemmers

on an initial setup, I was getting an error code 5 on connection attempts. I found that a username of 'username' and password of 'password' was being used. Even though those lines were never on my configuration.

I removed these lines:
if self.config['username'] and self.config['password']:
self.mqttClient.username_pw_set(self.config['username'], password=self.config['password'])
and the necessary edits to setup.py and ext.conf

That got it working for me. It's my assumption that mopidy requires a default value for all configurable variables, I didn't happen to have a username and password on my MQTT server and providing one won't allow it to connect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions