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

[Bug]: @ledgerhq/hw-transport-web-ble throws error on Transport.create() #6746

Open
navFooh opened this issue Apr 25, 2024 · 5 comments
Open
Labels
bug Something isn't working libraries Impacts the Libraries triage In need of triage

Comments

@navFooh
Copy link

navFooh commented Apr 25, 2024

Impacted Library name

@ledgerhq/hw-transport-web-ble

Impacted Library version

6.28.4

Describe the bug

An error occurs when setting up a Bluetooth connection with the Ledger using the @ledgerhq/hw-transport-web-ble

import TransportWebBle from '@ledgerhq/hw-transport-web-ble'

await TransportWebBle.create() // Throws error

Error:
Uncaught (in promise) DOMException: Failed to execute 'stopNotifications' on 'BluetoothRemoteGATTCharacteristic': GATT Server is disconnected. Cannot perform GATT operations. (Re)connect first with device.gatt.connect. (monitorCharacteristic.js:23)

Expected behavior

A new Transport instance should be returned that can be used to interface with the ledger device

Additional context

Google Chrome: Version 122.0.6261.129 (Official Build) (64-bit)
Ledger Nano X V2.0
Secure Element: 2.2.3
Microcontroller: 2.30
Bootloader: 1.16

@navFooh navFooh added bug Something isn't working libraries Impacts the Libraries triage In need of triage labels Apr 25, 2024
@korenskoy
Copy link

I took your demo repository from here https://developers.ledger.com/docs/connectivity/ledgerJS/integration-walkthrough/web-application/web-bluetooth and ran it. Initially, I didn't run the Ethereum app on the Ledger device itself. After encountering the first error which asked me to run the Ethereum app, I did so. However, I then encountered the same issue, as described here.

Ledger.Issue.mov

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label, comment, or consider closing it.

@github-actions github-actions bot added the Stale label Jul 26, 2024
@navFooh
Copy link
Author

navFooh commented Jul 26, 2024

I have not been able to verify if the issue is resolved yet

@github-actions github-actions bot removed the Stale label Jul 27, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label, comment, or consider closing it.

@github-actions github-actions bot added the Stale label Aug 26, 2024
@korenskoy
Copy link

I have not been able to verify if the issue is resolved yet

I did a test just now and the problem is not solved, the error is still present.

@github-actions github-actions bot removed the Stale label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working libraries Impacts the Libraries triage In need of triage
Projects
None yet
Development

No branches or pull requests

4 participants
@korenskoy @navFooh and others