bitshares/bitshares1-qtwallet

Wallet Won't Connect

Closed this issue · 3 comments

Version: 0.4.22
OS: Windows Vista 32 bit

My wallet connected and synced up to block 679840 then it stopped. Now it won't connect at all. I've tried getting help with this on bitsharestalk to no avail.

What I have tried so far:

  • Keeping it open for a long time
  • Adding peers manually through the console
  • Deleting the peers_leveldb folder

None of those seemed to have any effect.

Here is the output of get_info:
{
"blockchain_head_block_num": 679836,
"blockchain_head_block_age": "23 days old",
"blockchain_head_block_timestamp": "2014-10-07T10:55:50",
"blockchain_average_delegate_participation": "0.05 %",
"blockchain_confirmation_requirement": 1,
"blockchain_delegate_pay_rate": "3.24064 BTSX",
"blockchain_share_supply": "1,999,963,780.11656 BTSX",
"blockchain_blocks_left_in_round": 96,
"blockchain_next_round_time": "at least 16 minutes in the future",
"blockchain_next_round_timestamp": "2014-10-30T21:21:40",
"blockchain_random_seed": "f7687c7443f73f52c501907c3759239ed9e9712a",
"client_data_dir": "C:/Users/Name/AppData/Roaming/BitShares X",
"client_version": "v0.4.22",
"network_num_connections": 0,
"network_num_connections_max": 200,
"network_chain_downloader_running": false,
"network_chain_downloader_blocks_remaining": null,
"ntp_time": "2014-10-30T21:05:49",
"ntp_time_error": 2.9527960000000002,
"wallet_open": true,
"wallet_unlocked": true,
"wallet_unlocked_until": "12 days in the future",
"wallet_unlocked_until_timestamp": "2014-11-11T10:43:11",
"wallet_last_scanned_block_timestamp": null,
"wallet_scan_progress": "0.00 %",
"wallet_block_production_enabled": false,
"wallet_next_block_production_time": null,
"wallet_next_block_production_timestamp": null
}

Here is a sample from my log. The rest of the log appears to be more of the same:

unable to find key 679836
    {"key":679836}
    bitshares  level_map.hpp:105 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch
error fetching key 679836
    {"key":679836}
    bitshares  level_map.hpp:115 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch

    {"block_num":679836}
    bitshares  chain_database.cpp:1519 bts::blockchain::chain_database::get_block           message_oriented_connection.cpp:165
20141030T210731.953481 p2p:message read_loop            read_loop ] disconnected 6 key_not_found_exception: Key Not Found
unable to find key 679836
    {"key":679836}
    bitshares  level_map.hpp:105 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch
error fetching key 679836
    {"key":679836}
    bitshares  level_map.hpp:115 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch

    {"block_num":679836}
    bitshares  chain_database.cpp:1519 bts::blockchain::chain_database::get_block           message_oriented_connection.cpp:182
20141030T210731.953481 p2p:delayed_peer_deletion_task   destroy_connection ] Exception thrown while canceling message_oriented_connection's read_loop, ignoring: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"warn","file":"message_oriented_connection.cpp","line":184,"method":"bts::net::detail::message_oriented_connection_impl::read_loop","hostname":"","thread_name":"p2p","timestamp":"20141030T210731.953481"},"format":"disconnected: ${e}","data":{"e":"6 key_not_found_exception: Key Not Found\nunable to find key 679836\n    {\"key\":679836}\n    bitshares  level_map.hpp:105 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch\nerror fetching key 679836\n    {\"key\":679836}\n    bitshares  level_map.hpp:115 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch\n\n    {\"block_num\":679836}\n    bitshares  chain_database.cpp:1519 bts::blockchain::chain_database::get_block"}}]}          message_oriented_connection.cpp:274
20141030T210731.953481 p2p:delayed_peer_deletion_task   destroy_connection ] Exception thrown while canceling message_oriented_connection's read_loop, ignoring: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"warn","file":"message_oriented_connection.cpp","line":184,"method":"bts::net::detail::message_oriented_connection_impl::read_loop","hostname":"","thread_name":"p2p","timestamp":"20141030T210731.953481"},"format":"disconnected: ${e}","data":{"e":"6 key_not_found_exception: Key Not Found\nunable to find key 679836\n    {\"key\":679836}\n    bitshares  level_map.hpp:105 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch\nerror fetching key 679836\n    {\"key\":679836}\n    bitshares  level_map.hpp:115 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch\n\n    {\"block_num\":679836}\n    bitshares  chain_database.cpp:1519 bts::blockchain::chain_database::get_block"}}]}          message_oriented_connection.cpp:274
20141030T210731.953481 p2p:message read_loop            read_loop ] message transmission failed 6 key_not_found_exception: Key Not Found
unable to find key 679836
    {"key":679836}
    bitshares  level_map.hpp:105 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch
error fetching key 679836
    {"key":679836}
    bitshares  level_map.hpp:115 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch

    {"block_num":679836}
    bitshares  chain_database.cpp:1519 bts::blockchain::chain_database::get_block           message_oriented_connection.cpp:165
20141030T210731.953481 p2p:message read_loop            read_loop ] disconnected 6 key_not_found_exception: Key Not Found
unable to find key 679836
    {"key":679836}
    bitshares  level_map.hpp:105 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch
error fetching key 679836
    {"key":679836}
    bitshares  level_map.hpp:115 bts::db::level_map<unsigned int,class fc::ripemd160>::fetch

    {"block_num":679836}
    bitshares  chain_database.cpp:1519 bts::blockchain::chain_database::get_block           message_oriented_connection.cpp:182
20141030T210731.953481 p2p:delayed_peer_deletion_task   destroy_connection ] Exception thrown while canceling message_oriented_connection's read_lo

Update to latest version https://github.com/dacsunlimited/bitsharesx/releases/tag/v0.4.23.1 and reopen if still a problem.

I updated to v0.4.23.1. The wallet still says "Not Connected" in the lower right corner, but get_info tells me I have 12 connections and "blockchain_head_block_num" is going up.

You're connected and synching, this is a known problem where the gui doesn't seem to always update to reflect synching status properly.