question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TransportException: trezord: post/96 failed with code 400: other call in progress

See original GitHub issue

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

  File "site-packages\trezorlib\client.py", line 98, in cancel
  File "site-packages\trezorlib\client.py", line 107, in _raw_write
  File "site-packages\trezorlib\transport\bridge.py", line 168, in write
  File "site-packages\trezorlib\transport\bridge.py", line 72, in write_buf
  File "site-packages\trezorlib\transport\bridge.py", line 136, in _call
  File "site-packages\trezorlib\transport\bridge.py", line 49, in call_bridge

TransportException: trezord: post/96 failed with code 400: other call in progress

Reporter

This issue was reported by 17 user(s):

Electron Cash Version Python Version Operating System Wallet Type Locale
3.3.5 3.5.4 (v3.5.4:3f56838, Aug 8 2017, 02:07:06) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134 standard en_US
3.3.6 3.5.4 (v3.5.4:3f56838, Aug 8 2017, 02:07:06) [MSC v.1900 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard en_GB
4.0.0 3.5.4 (v3.5.4:3f56838, Aug 8 2017, 02:07:06) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17134 standard de_DE
3.3.5 3.5.4 (v3.5.4:3f56838, Aug 8 2017, 02:07:06) [MSC v.1900 32 bit (Intel)] Windows-10-10.0.17763 standard en_US
4.0.3 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.17134-SP0 standard en_GB
4.0.8 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362 standard en_US
4.0.8 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US
4.0.8 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US
4.0.8 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US
4.0.8 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US
4.0.11 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.17134-SP0 standard en_US
4.0.11 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-7-6.1.7601-SP1 standard en_US
4.0.12 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard en_US
4.0.15 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)] Windows-10-10.0.18362-SP0 standard sl_SI
4.2.0 3.6.9 (default, Oct 21 2020, 19:43:27) [GCC Clang 10.0.1 ] Darwin-19.6.0-x86_64-i386-64bit standard
4.2.5 3.8.9 (default, Aug 19 2021, 21:46:46) [Clang 11.0.0 (clang-1100.0.33.17)] macOS-11.5.2-x86_64-i386-64bit standard
4.2.5 3.8.9 (default, Aug 19 2021, 21:46:46) [Clang 11.0.0 (clang-1100.0.33.17)] macOS-12.0.1-x86_64-i386-64bit standard

Additional Information

Closing 1st window during PIN prompt in 2nd window.


Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:17

github_iconTop GitHub Comments

1reaction
EchterAgocommented, Aug 6, 2019

Yea, OS version is version 1903 (10.0.18362). I think it will fix it, but Trezor need to update their bridge to use the libusb fixes.

0reactions
ProfessorVenkmancommented, Oct 14, 2021

Good afternoon @cculianu,

I just received another crash report related to this issue. The crash occured on Electron Cash 4.2.5. I’m not sure which versions of Electron Cash include the fix but this is the first report from anything newer than 4.2.0 since you closed the issue.

Could you please check if this issue really is resolved? Here is the traceback that I just collected:

  File "electroncash_gui/qt/main_window.py", line 103, in onPress
  File "/Applications/Electron-Cash.app/Contents/MacOS/electroncash_plugins/trezor/qt.py", line 250, in show_settings_dialog
    device_id = self.choose_device(window, keystore)
  File "/Applications/Electron-Cash.app/Contents/MacOS/electroncash_plugins/hw_wallet/qt.py", line 273, in choose_device
    info = self.device_manager().select_device(self, keystore.handler, keystore)
  File "electroncash/plugins.py", line 936, in select_device
  File "electroncash/plugins.py", line 925, in unpaired_device_infos
  File "electroncash/plugins.py", line 801, in create_client
  File "/Applications/Electron-Cash.app/Contents/MacOS/electroncash_plugins/trezor/trezor.py", line 188, in create_client
    return TrezorClientBase(transport, handler, self)
  File "/Applications/Electron-Cash.app/Contents/MacOS/electroncash_plugins/trezor/clientbase.py", line 60, in __init__
    self.client = TrezorClient(transport, ui=self)
  File "trezorlib/client.py", line 93, in __init__
  File "trezorlib/tools.py", line 229, in wrapped_f
  File "trezorlib/client.py", line 97, in open
  File "trezorlib/transport/bridge.py", line 148, in begin_session
  File "trezorlib/transport/bridge.py", line 135, in _call
  File "trezorlib/transport/bridge.py", line 44, in call_bridge

TransportException: trezord: acquire/8/null failed with code 400: wrong previous session

~ With robotic wishes

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wrong previous session · Issue #37 · trezor/connect - GitHub
TransportException : trezord: post/96 failed with code 400: other call in progress Electron-Cash/Electron-Cash#1150.
Read more >
Error: Device call in progress : r/TREZOR - Reddit
Error : Deivce call in progress when I click "stardand seed backup" What's the solution?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found