Author Topic: cli_walet 链接到wintness_node 失败 求解答  (Read 1121 times)

0 Members and 1 Guest are viewing this topic.

Offline zhangyl

cli_walet 链接到wintness_node 失败 求解答
« on: August 13, 2017, 03:48:25 am »
[email protected]:~/bitshares-core/build/programs/cli_wallet$  ./cli_wallet -w witness_wallet.json -s ws://127.0.0.1:8090 -H 127.0.0.1:8091
Logging RPC to file: logs/rpc/rpc.log
1156778ms th_a       main.cpp:120                  main                 ] key_to_wif( committee_private_key ): 5KCBDTcyDqzsqehcb52tW5nU6pXife6V2rX9Yf7c3saYSzbDZ5W
1156778ms th_a       main.cpp:124                  main                 ] nathan_pub_key: BTS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
1156778ms th_a       main.cpp:125                  main                 ] key_to_wif( nathan_private_key ): 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
Starting a new wallet with chain ID 4018d7844c78f6a6c41c6a552b898022310fc5dec06da467ee7905a8dad512c8 (from egenesis)
1156779ms th_a       main.cpp:172                  main                 ] wdata.ws_server: ws://127.0.0.1:8090
0 exception: unspecified
Underlying Transport Error
    {"message":"Underlying Transport Error"}
    asio  websocket.cpp:449 operator()
    {"uri":"ws://127.0.0.1:8090"}
    th_a  websocket.cpp:678 connect

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 3482
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: cli_walet 链接到wintness_node 失败 求解答
« Reply #1 on: August 14, 2017, 08:37:55 am »
连接失败。
你的 witness_node 是否已经启动成功?在 replay 期间是连不上的。
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline zhangyl

Re: cli_walet 链接到wintness_node 失败 求解答
« Reply #2 on: August 15, 2017, 01:28:27 pm »
wit_ness可以启动成功啊 链接到公共api可以的  链接到127.0.0.1就失败

Offline freedom

  • Sr. Member
  • ****
  • Posts: 298
    • View Profile
Re: cli_walet 链接到wintness_node 失败 求解答
« Reply #3 on: August 25, 2017, 06:34:04 am »
./cli_wallet -H 127.0.0.1:8091 -s ws://127.0.0.1:8090
试试这个

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 3482
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: cli_walet 链接到wintness_node 失败 求解答
« Reply #4 on: August 29, 2017, 01:00:21 pm »
wit_ness可以启动成功啊 链接到公共api可以的  链接到127.0.0.1就失败
可能因为 witness_node 启动要带 --rpc-endpoint 参数才会接受连接。
BTS account: abit
BTS committee member: abit
BTS witness: in.abit