Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout when connecting to my broker #120

Open
rabejens opened this issue Sep 5, 2022 · 1 comment
Open

Timeout when connecting to my broker #120

rabejens opened this issue Sep 5, 2022 · 1 comment

Comments

@rabejens
Copy link

rabejens commented Sep 5, 2022

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?

@not-f-elsner
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants