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

GUI freezes upon inputing unreachable Electrum server in settings of bitcoind-using Liana wallet #1290

Open
darosior opened this issue Sep 7, 2024 · 2 comments
Assignees
Labels
Glitch A small annoyance in the GUI that is not entirely a bug GUI gui related

Comments

@darosior
Copy link
Member

darosior commented Sep 7, 2024

Testing Electrum support by switching my Liana wallet to Electrum, if i input an incorrect or unreachable server it just freezes the GUI.
image

@darosior darosior added GUI gui related Glitch A small annoyance in the GUI that is not entirely a bug labels Sep 7, 2024
@darosior darosior added this to the v7 - Liana milestone Sep 7, 2024
@darosior
Copy link
Member Author

darosior commented Sep 7, 2024

Some logs. It can connect but it fails to talk to it. It's because i'm missing the ssl:// prefix, so it probably tries to speak in clear to it.

  2024-09-07T09:55:05.017550Z  WARN electrum_client::client:202: call 'block_header_raw' failed with Resource temporarily unavailable (os error 11), retry: 1/6                                                     

  2024-09-07T09:55:07.042372Z  INFO electrum_client::raw_client:205: Trying to connect to 3.227.177.134:50002 (attempt 1/1) with timeout 180s                               

  2024-09-07T09:55:07.141989Z  INFO electrum_client::client:202: Succesfully created new client           

  2024-09-07T09:55:07.142360Z TRACE electrum_client::raw_client:593: ==> {"jsonrpc":"2.0","id":0,"method":"blockchain.block.header","params":[0]}                                                                   

  2024-09-07T09:55:07.142566Z TRACE electrum_client::raw_client:479: Starting reader thread with `until_message` = Some(0)                                                                                          

@darosior
Copy link
Member Author

darosior commented Sep 7, 2024

Seems like it would be fixed by your idea of pinging the server in the dummy client to test the connection.

@nondiremanuel nondiremanuel modified the milestones: v7 - Liana, v8 - Liana Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Glitch A small annoyance in the GUI that is not entirely a bug GUI gui related
Projects
Status: To be discussed / defined
Development

No branches or pull requests

3 participants