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

0 Members and 1 Guest are viewing this topic.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4669
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
wit_ness可以启动成功啊 链接到公共api可以的  链接到127.0.0.1就失败
可能因为 witness_node 启动要带 --rpc-endpoint 参数才会接受连接。
BitShares committee member: abit
BitShares witness: in.abit

Offline freedom

  • Sr. Member
  • ****
  • Posts: 303
    • View Profile
./cli_wallet -H 127.0.0.1:8091 -s ws://127.0.0.1:8090
试试这个

Offline zhangyl

wit_ness可以启动成功啊 链接到公共api可以的  链接到127.0.0.1就失败

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4669
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
连接失败。
你的 witness_node 是否已经启动成功?在 replay 期间是连不上的。
BitShares committee member: abit
BitShares witness: in.abit

Offline zhangyl

zyl@zyl-Aspire-4741:~/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