Closed minioff closed 1 year ago
Honestly, this seems like the Jade code being the culprit interrupting the standard Trezor flow.
@achow101 Is there a way how to turn off support of a particular HW wallet at start? Maybe via --skip-jade
switch or something like that.
// cc @JamieDriver
I'm guessing the trezor has already enumerated successfully, but then the enumerate loop moves onto jade ?
ERROR:jade:a bytes-like object is required, not 'str'
File "hwilib/devices/jade.py", line 542, in enumerate
...
This is where the code is probing for the test jade simulator by trying to connect to the simulator port, tcp:127.0.0.1:2222
.
It would appear that maybe there is something running on this port ?
Saying that, everything inside 'test for simulator' is supposed to catch any errors and just ignore/continue - but it's possible it is hanging trying to disconnect.
Maybe we need to ignore (not try to enumerate) simulators by default, and only probe for them if a certain flag is present (which the tests would set) ?
I don't think 'device detected as jade' is true - I think the trezor device is detected fine (from that enumerate
output) - I think the issue is when it gets in a pickle trying to probe for a 'jade simulator' (ie. completely separate from trezor).
It would appear that maybe there is something running on this port ?
I suggest you use a different port (5 digits to decrease chance of collisions). There is a high chance you will have collisions on low ports and especially 2222 is very bad since lot of people use it to run sshd (originally 22).
Yeah, that may be the simplest option! Will look into it asap.
Jade master branch updated to run simulator on 30121 - hwi test client updated in #645
@minioff please reopen if you still encounter the issue
Hi,
having issues with HWI on Ubuntu 18.04.6 LTS and Trezor T and HWI 2.1.1.
Observe:
So it seems like two issues:
Tested different cable, different usb port, different hw wallet (also model t). Do not see any issues with bridge, trezord or trezor suite.