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 message when adding custom node is unclear #322

Open
Bayernatoor opened this issue Sep 1, 2024 · 8 comments
Open

Error message when adding custom node is unclear #322

Bayernatoor opened this issue Sep 1, 2024 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@Bayernatoor
Copy link
Contributor

ISSUE:

When trying to add my own electrum server the error returned in not visible to the user. After pressing "Save", a menu appears with what seems to be an error message but quickly disappears. The error string at the top overflows and is not visible.

Can you not connect to a Tor node?

Screenshots:

Image

After attempting to "sync transactions" I got the correct error message:

Image

Additional Info:

My electrum server connects fine to Green Wallet using:

tcp://hiddenaddress.onion:50001

When revisiting the connection page, Bull wallet displays a green icon next to my tor address, when tapping save again it turns to red and I get the error message.

Image
@Bayernatoor Bayernatoor changed the title error message when adding custom node is unclear Error message when adding custom node is unclear Sep 1, 2024
@i5hi
Copy link
Collaborator

i5hi commented Sep 2, 2024

Thanks for the report.

We will reproduce and address the issues stated.

Tor isnt supported just yet.

@i5hi i5hi added the bug Something isn't working label Sep 2, 2024
@raehat
Copy link
Contributor

raehat commented Oct 11, 2024

@i5hi Is this issue up for grabs? If yes, I can try addressing this issue, I'm new to this repository and wanted to contribute if possible, I've good experience in both bitcoin and app development.

@i5hi
Copy link
Collaborator

i5hi commented Oct 11, 2024

Hey @raehat, Yes it is! Feel free to DM me on telegram if you need help. TBH the way we handle electrum needs some rework - especially errors.

@raehat
Copy link
Contributor

raehat commented Oct 12, 2024

@i5hi can you please share your telegram account?

@i5hi
Copy link
Collaborator

i5hi commented Oct 13, 2024

@i5hi1

@raehat
Copy link
Contributor

raehat commented Oct 18, 2024

@i5hi I noticed that some code was pushed after this issue was created, which somewhat addresses the problem by adding validation rules to check the URL format. As a result, the user will no longer be able to proceed with an onion URL due to these rules.

However, one issue still remains: the error message is not descriptive enough. Ideally, we should inform the user that Tor nodes are not supported. Additionally, there could be other cases like this, where a more detailed error message would be helpful.

If you'd like, I can raise a PR that provides a clear error indicating that Tor nodes are not supported in this case.

@i5hi
Copy link
Collaborator

i5hi commented Oct 19, 2024

hey, yes that would be great!

@raehat
Copy link
Contributor

raehat commented Oct 20, 2024

@i5hi I raised a PR #330

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants