spesmilo / spesmilo/electrum

TimeoutError:

Open
#7,334 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

Crash Report

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

Traceback

  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 347, in mainloop
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 391, in idle
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 342, in dispatch_input
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/base.py", line 308, in post_dispatch_input
  File "kivy/_event.pyx", line 724, in kivy._event.EventDispatcher.dispatch
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/uix/behaviors/button.py", line 179, in on_touch_up
  File "kivy/_event.pyx", line 720, in kivy._event.EventDispatcher.dispatch
  File "kivy/_event.pyx", line 1263, in kivy._event.EventObservers.dispatch
  File "kivy/_event.pyx", line 1147, in kivy._event.EventObservers._dispatch
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/python-installs/Electrum/kivy/lang/builder.py", line 57, in custom_callback
  File "<string>", line 188, in <module>
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/main_window.py", line 791, in popup_dialog
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/main_window.py", line 742, in swap_dialog
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/gui/kivy/uix/dialogs/lightning_channels.py", line 662, in __init__
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Lib/asyncio/runners.py", line 44, in run
  File "/home/user/wspace/electrum/.buildozer/android/platform/build-arm64-v8a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Lib/asyncio/base_events.py", line 616, in run_until_complete
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/submarine_swaps.py", line 439, in get_pairs
  File "/home/user/wspace/electrum/.buildozer/android/app/electrum/network.py", line 1304, in _send_http_on_proxy
  File "/home/user/wspace/electrum/.buildozer/android/app/packages/aiohttp/client.py", line 1117, in __aenter__
  File "/home/user/wspace/electrum/.buildozer/android/app/packages/aiohttp/client.py", line 544, in _request
  File "/home/user/wspace/electrum/.buildozer/android/app/packages/aiohttp/client_reqrep.py", line 905, in start
  File "/home/user/wspace/electrum/.buildozer/android/app/packages/aiohttp/helpers.py", line 656, in __exit__

TimeoutError: 

Reporter

This issue was reported by 24 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.1.2 3.8.8 (default, Apr 8 2021, 11:18:15) [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462 Android 10 on HONOR HWJSN-H (JSN-L21 10.0.0.224(C432E5R3P2)) standard en_US
4.1.4 3.8.8 (default, Jun 17 2021, 12:03:06) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 11 on OPPO OP4B9B (CPH2021_11_F.60) standard en_US
4.1.5 3.8.8 (default, Jul 19 2021, 15:35:40) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 9 on HONOR HWJAT-M (JAT-L41 9.1.0.346(C185E2R3P1)) standard en_US
4.1.5 3.8.8 (default, Jul 19 2021, 15:35:40) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 9 on Infinix Infinix-X626 (X626-H624JK-P-190730V314) standard en_US
4.1.5 3.8.8 (default, Jul 19 2021, 15:35:40) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 8.1.0 on TECNO TECNO-BB2 (BB2-VP572ABC-O-GO-201124V13) standard en_US
4.1.5 3.8.8 (default, Jul 19 2021, 15:35:40) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 6.0.1 on samsung kccat6 (MMB29M.G901FXXU1CRH1) standard en_US
4.2.1 3.8.13 (default, Mar 26 2022, 18:41:49) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 8.0.0 on HONOR HWBND-H (BND-L21 8.0.0.341(C432)) standard en_US
4.2.2 3.8.13 (default, May 27 2022, 10:18:13) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 12 on samsung p3s (SP1A.210812.016.G998BXXU5CVF2) standard en_US
4.3.1 3.9.11 (main, Jun 28 2018, 19:01:02) [GCC 7.5.0] Linux-5.15.0-46-generic-x86_64-with-glibc2.35 standard it_IT
4.3.2 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0] Linux-5.4.0-126-generic-x86_64-with-glibc2.29 standard en_US
4.3.2 3.8.13 (default, Sep 28 2022, 07:32:01) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 12 on samsung a32 (SP1A.210812.016.A325FXXU2BVH1) standard en_US
4.3.4 3.8.15 (default, Jan 26 2023, 15:17:59) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 9 on TCL Faraday (5024F_ALAP_2SIM_V2.3_20210512_UNLOCK) standard en_US
4.3.4 3.8.15 (default, Jan 26 2023, 15:17:59) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 13 on samsung r9q (TP1A.220624.014.G990USQS4DVL1) standard en_US
4.3.4 3.8.15 (default, Jan 26 2023, 15:17:59) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 10 on TECNO TECNO-BC2c (BC2c-SP592AB-QGo-OP-221011V018) standard en_US
4.3.4 3.8.15 (default, Jan 26 2023, 15:17:59) [Clang 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315d Android 12 on samsung a13 (SP1A.210812.016.A135FXXU1AVC6) standard en_US
4.3.4 3.9.15 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-5.19.0-32-generic-x86_64-with-glibc2.35 standard pt_BR
4.5.2 3.8.10 (default, Nov 22 2023, 10:22:35) [GCC 9.4.0] Linux-5.15.0-94-generic-x86_64-with-glibc2.29 standard en_US
4.5.4 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 imported,standard en_US
4.5.5 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-4.19.0-26-amd64-x86_64-with-glibc2.28 standard es_AR
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-6.8.0-51-generic-x86_64-with-glibc2.39 standard en_US
4.5.8 3.10.13 (main, Jun 28 2018, 19:01:02) [GCC 8.3.0] Linux-5.15.0-130-generic-x86_64-with-glibc2.35 standard en_US
4.5.8 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)] macOS-13.6.7-x86_64-i386-64bit standard ?
v0.1.0-64-g1e09041-dirty 3.9.5 (default, Feb 1 2024, 10:52:02) [GCC 5.3.0] Linux-5.11.22-porteus-x86_64-Intel-R-_Core-TM-i5-6260U_CPU@_1.80GHz-with-glibc2.23 standard en_US
4.5.2 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard en_IN

Additional Information

i dont knoq but i want to use my private key to withdraw my coins


clicked the swap button


Selected Submarine swap on Channel page then crashed.


trying to mov elightning coins back to on chain but keep getitng this error


Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at electrum/submarine_swaps.py:get_pairs and electrum/network.py:_send_http_on_proxy, then trace the Kivy swap dialog in electrum/gui/kivy/uix/dialogs/lightning_channels.py. Reproduce the timeout by selecting a submarine swap from the channel page and determine the expected behavior when the request times out. Done means the swap flow no longer crashes with an unhandled TimeoutError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.