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

SSL issue for Bitcoin Server Override? #23

Open
FrancisPouliot opened this issue Jun 1, 2017 · 4 comments
Open

SSL issue for Bitcoin Server Override? #23

FrancisPouliot opened this issue Jun 1, 2017 · 4 comments

Comments

@FrancisPouliot
Copy link

I wasn't able to connect to stratum://electrum.satoshiportal.com:5002

For my electrum client, I usually conenct to port 5002

It worked with stratum://electrum.satoshiportal.com:5001 though

@paullinator
Copy link
Member

Your 50002 port is an encrypted connection which we are unable to support since electrum uses TCP sockets (not standard HTTP) and there isn't support for encrypted TCP sockets in the native C++ layer of iOS or Android. We tried to add support ourselves but it was quite a rats nest. We're moving future version of the app to Javascript with ReactNative and so we can easily support encrypted connections.

@FrancisPouliot
Copy link
Author

ah ok makes sense!

So basically, when it wasn't working, there was just an endless "Sending" loop (trying to broadcast a transaction).

Is there a way to check that the servers are valid ? If so, an error message would be useful.

@paullinator
Copy link
Member

Interesting... This hasn't been a well tested case in the past as we only recently let users specify their own nodes. We definitely show errors when servers respond with an error. Looks like we need to add a timeout for spending transactions if the servers just don't respond.

@FrancisPouliot
Copy link
Author

Maybe the app crashed. I re-started it and I don't think there was any memory of the unbroadcasted tx

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

No branches or pull requests

2 participants