BitShares Forum
Main => Technical Support => Topic started by: yangyinzd on June 12, 2017, 08:03:48 am
-
When I try to run:
cli_wallet -s wss://openledger.hk/ws
I got the return as:
TLS handshake failed
I wonder whether I could use the cli_wallet without setup my own witness_node?
Thanks
-
Up up, does anyone know?
I will appreciate it very much.
-
Try
./programs/cli_wallet/cli_wallet -s wss://dexnode.net/ws
your connection might be timing out to that node.
-
I've just tried this and I get the same, regardless of which web-socket server is used. This is on Bitshares Core release 2.0.170606 on Windows, using
cli_wallet -s {any-websocket-server}
The error:
C:\Temp\bitshares-cli>cli_wallet -s wss://dexnode.net/ws
Logging RPC to file: logs\rpc\rpc.log
2220742ms th_a main.cpp:120 main ] key_to_wif( committee_private_key ): 5KCBDTcyDqzsqehcb52tW5nU6pXife6V2rX9Yf7c3saYSzbDZ5W
2220742ms th_a main.cpp:124 main ] nathan_pub_key: BTS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
2220742ms th_a main.cpp:125 main ] key_to_wif( nathan_private_key ): 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
Starting a new wallet with chain ID 4018d7844c78f6a6c41c6a552b898022310fc5dec06da467ee7905a8dad512c8 (from egenesis)
2220757ms th_a main.cpp:172 main ] wdata.ws_server: wss://dexnode.net/ws
0 exception: unspecified
TLS handshake failed
{"message":"TLS handshake failed"}
asio websocket.cpp:518 fc::http::detail::websocket_tls_client_impl::{ctor}::<lambda_79cc34a518286825a5be07605053c212>::operator ()
{"uri":"wss://dexnode.net/ws"}
th_a websocket.cpp:704 fc::http::websocket_client::secure_connect
{"uri":"wss://dexnode.net/ws"}
th_a websocket.cpp:678 fc::http::websocket_client::connect
I've also tried a number of web-socket servers from the light client as well as the one in the documentation: wss://bitshares.openledger.info/ws
Also, where are the log files stored? It says logs\rpc\rpc.log - but where is that as it doesn't seem to be rooted in the folder the cli_wallet executable is called from?
-
Yes, I got the same error for all public source: TLS handshake failed
I've just tried this and I get the same, regardless of which web-socket server is used. This is on Bitshares Core release 2.0.170606 on Windows, using cli_wallet -s {any-websocket-server}
The error:
C:\Temp\bitshares-cli>cli_wallet -s wss://dexnode.net/ws
Logging RPC to file: logs\rpc\rpc.log
2220742ms th_a main.cpp:120 main ] key_to_wif( committee_private_key ): 5KCBDTcyDqzsqehcb52tW5nU6pXife6V2rX9Yf7c3saYSzbDZ5W
2220742ms th_a main.cpp:124 main ] nathan_pub_key: BTS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
2220742ms th_a main.cpp:125 main ] key_to_wif( nathan_private_key ): 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
Starting a new wallet with chain ID 4018d7844c78f6a6c41c6a552b898022310fc5dec06da467ee7905a8dad512c8 (from egenesis)
2220757ms th_a main.cpp:172 main ] wdata.ws_server: wss://dexnode.net/ws
0 exception: unspecified
TLS handshake failed
{"message":"TLS handshake failed"}
asio websocket.cpp:518 fc::http::detail::websocket_tls_client_impl::{ctor}::<lambda_79cc34a518286825a5be07605053c212>::operator ()
{"uri":"wss://dexnode.net/ws"}
th_a websocket.cpp:704 fc::http::websocket_client::secure_connect
{"uri":"wss://dexnode.net/ws"}
th_a websocket.cpp:678 fc::http::websocket_client::connect
I've also tried a number of web-socket servers from the light client as well as the one in the documentation: wss://bitshares.openledger.info/ws
Also, where are the log files stored? It says logs\rpc\rpc.log - but where is that as it doesn't seem to be rooted in the folder the cli_wallet executable is called from?
-
Any core dev's have any thoughts?
-
Up up, anyone can help in this topic?
Thanks a lot!
-
If you use wss:// your server needs to tunnel through SSL .. try with ws:// instead
-
Maybe you have a firewall blocking the connection?
-
Getting this same handshake failed message. Anyone figure this out?
-
Getting this same handshake failed message. Anyone figure this out?
https://github.com/bitshares/bitshares-core/issues/314#issuecomment-336668978