You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] DOMException: GATT Server is disconnected. Cannot retrieve services. (Re)connect first with device.gatt.connect. #56
OS: Windows 11Issues that only occur on Windows 11 (or 10)software: pybricks-codeIssues with https://code.pybricks.com application
Sometime, when try to connect to the hub, this error happened:
This is the report from console:
DOMException: GATT Server is disconnected. Cannot retrieve services. (Re)connect first with device.gatt.connect.
kn @ error-log.ts:20
changed the title [-][Bug] Unexpected error while trying to connect[/-][+][Bug] DOMException: GATT Server is disconnected. Cannot retrieve services. (Re)connect first with device.gatt.connect.[/+]on Jul 18, 2020
OS: Windows 11Issues that only occur on Windows 11 (or 10)software: pybricks-codeIssues with https://code.pybricks.com application
Activity
[-][Bug] [/-][+][Bug] Unexpected error while trying to connect[/+][-][Bug] Unexpected error while trying to connect[/-][+][Bug] DOMException: GATT Server is disconnected. Cannot retrieve services. (Re)connect first with device.gatt.connect.[/+]dlech commentedon Oct 10, 2020
If this happens again, can you please collect Bluetooth logs and post them here?
Open an administrator command prompt (search start menu for
cmdthen right click and select "Run As Administrator")Change to the directory where you want to save the file (e.g.
cd %HOMEPATH%/Downloads)Run the command:
Reproduce your issue.
Run the command:
Open the directory in File Explorer
Right-click the file and select "Send To > Compressed (zipped) Folder"
Upload the zip file here
mwinkler commentedon Nov 3, 2020
Hi
I have the same issue with a LEGO City hub (Windows 10 - 2004 / Chrome 86).
Flashing works without a issue, but I cannot connect after.
Here the logman zip:
bth_hci.zip
dlech commentedon Nov 3, 2020
City hub is a known issue: #48 (comment)
dlech commentedon Jan 29, 2021
We've made some changes around this, so lets start a new issue if the same error message is seen again.
xblanch commentedon Mar 8, 2021
Hi,
I ave the same problem with City Hub. I have hub flashed but now I can't connect.
Thanks.
dlech commentedon Mar 9, 2021
Hi @xblanch, can you please start a new issue with more details on your OS, web browser and what you did that lead up to the problem?
vdespa commentedon Jul 19, 2024
In case it helps anyone:
I also encountered this error. It turned out that the batteries were at about 1V each. After replacing them, it worked without any issues.