Yakifo/amqtt

Timeout when connecting to my broker

rabejens opened this issue · 1 comments

I have this:

    config = {
        "listeners": {
            "default": {
                "type": "tcp",
                "bind": f"127.0.0.1:{port}",
            }
        },
        "sys_interval": 10,
        "auth": {
            "allow-anonymous": True,
            "plugins": ["auth_anonymous"],
        },
        "topic-check": {"enabled": False},
    }
    brk = Broker(config)
    await brk.start()
    await asyncio.sleep(600) # just for test

When trying to connect to my broker, I only run into timeouts.

What am I missing?

This should work, please try with the newest version if you still encounter the issue: https://pypi.org/project/amqtt/0.11.0b1/