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

Software caused connection abort #86

Open
iandees opened this issue Jul 26, 2023 · 2 comments
Open

Software caused connection abort #86

iandees opened this issue Jul 26, 2023 · 2 comments

Comments

@iandees
Copy link

iandees commented Jul 26, 2023

I'm running bluetti-mqtt with:

bluetti-mqtt --broker 127.0.0.1 70:B8:F6:80:97:xx --interval 30

and get the following error every second or two:

Traceback (most recent call last):
  File "/home/iandees/bluetti-venv/lib/python3.8/site-packages/bluetti_mqtt/bluetooth/client.py", line 78, in _connect
    await self.client.connect()
  File "/home/iandees/bluetti-venv/lib/python3.8/site-packages/bleak/__init__.py", line 471, in connect
    return await self._backend.connect(**kwargs)
  File "/home/iandees/bluetti-venv/lib/python3.8/site-packages/bleak/backends/bluezdbus/client.py", line 190, in connect
    assert_reply(reply)
  File "/home/iandees/bluetti-venv/lib/python3.8/site-packages/bleak/backends/bluezdbus/utils.py", line 20, in assert_reply
    raise BleakDBusError(reply.error_name, reply.body)
bleak.exc.BleakDBusError: [org.bluez.Error.Failed] Software caused connection abort
@iandees
Copy link
Author

iandees commented Jul 26, 2023

It seems that this might have been solved by cycling bluetooth on/off on the AC500 it's connecting to.

@ceredoandy
Copy link

I'm having the same problem cycling blutooth did not help

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