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

Error connecting to some Electrum servers #1275

Open
jp1ac4 opened this issue Sep 6, 2024 · 8 comments
Open

Error connecting to some Electrum servers #1275

jp1ac4 opened this issue Sep 6, 2024 · 8 comments
Assignees

Comments

@jp1ac4
Copy link
Collaborator

jp1ac4 commented Sep 6, 2024

Possibly related to bitcoindevkit/rust-electrum-client#144.

Some Electrum servers are not working with Liana:

image

  2024-09-05T16:56:33.917061Z  INFO electrum_client::client:182: Succesfully created new client

  2024-09-05T16:56:34.039764Z  WARN electrum_client::client:182: call 'internal_raw_call_with_vec' failed after 2 attempts

  2024-09-05T16:56:35.878115Z  INFO electrum_client::raw_client:205: Trying to connect to 35.225.54.191:50002 (attempt 1/1) with timeout 3s

  2024-09-05T16:56:36.116295Z  WARN electrum_client::client:182: call 'internal_raw_call_with_vec' failed with EOF while parsing a value at line 1 column 0, retry: 1/1

  2024-09-05T16:56:38.118850Z  INFO electrum_client::raw_client:205: Trying to connect to 35.225.54.191:50002 (attempt 1/1) with timeout 3s

  2024-09-05T16:56:38.234847Z  INFO electrum_client::client:182: Succesfully created new client

  2024-09-05T16:56:38.354514Z  WARN electrum_client::client:182: call 'internal_raw_call_with_vec' failed after 2 attempts

h/t @darosior

@jp1ac4 jp1ac4 self-assigned this Sep 6, 2024
@jp1ac4 jp1ac4 added this to the v7 - Liana milestone Sep 6, 2024
@jp1ac4
Copy link
Collaborator Author

jp1ac4 commented Sep 6, 2024

Running lianad with "ssl://electrum.blockstream.info:50002" is working for me sometimes.

@darosior
Copy link
Member

darosior commented Sep 6, 2024

It also happens in the settings, where it used to freeze the GUI completely for 180s (fixed in #1277).

@pythcoiner
Copy link
Collaborator

tested acinq & setup a ssl electrum at ssl://pythcoiner.dev:50002
image
image

every thing looks fine in my nginx logs

@pythcoiner
Copy link
Collaborator

we still cannot connect to server using self-signed certificates but i open #1300 for this specific issue

@darosior darosior removed this from the v7 - Liana milestone Sep 9, 2024
@darosior
Copy link
Member

darosior commented Sep 9, 2024

As we uncovered where the issue was coming from, i'm dropping the v7 milestone for this issue. Not supporting self-signed certs (#1300) and having to manually add the ssl:// prefix (#1291) is not ideal but needs not be a blocker for the release.

@nondiremanuel
Copy link
Collaborator

Should we merge this and #1300 to not have to keep track of two issues? Do you see any downside in doing that?

@pythcoiner
Copy link
Collaborator

i think #1300 address the remaining issue

@nondiremanuel
Copy link
Collaborator

I would close this then if you are ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

4 participants