BitShares Forum

Main => Technical Support => Topic started by: skunk on August 13, 2015, 02:01:58 pm

Title: yet another sync failure
Post by: skunk on August 13, 2015, 02:01:58 pm
hi!
bts catched my attention, so i've decided to give it a try...
i've build both the cli and the gui from git master branch and both fail to synchronize the blockchain (i've tried several times from scratch, it always stops and gets stuck before reaching 10%)
i've also added 69.90.132.209:1375 as a chain server, but didn't make any difference...
is there an official blockchain bootstrap i can use?
thank you

config.json:
Code: [Select]
{
  "logging": {
    "includes": [],
    "appenders": [{
        "name": "stderr",
        "type": "console",
        "args": {
          "stream": "std_error",
          "level_colors": [{
              "level": "debug",
              "color": "green"
            },{
              "level": "warn",
              "color": "brown"
            },{
              "level": "error",
              "color": "red"
            }
          ]
        },
        "enabled": true
      },{
        "name": "default",
        "type": "file",
        "args": {
          "format": "${timestamp} ${thread_name} ${context} ${file}:${line} ${method} ${level}]  ${message}",
          "filename": "logs/default/default.log",
          "flush": true,
          "rotate": true,
          "rotation_interval": 3600000000,
          "rotation_limit": 86400000000,
          "rotation_compression": false
        },
        "enabled": true
      },{
        "name": "rpc",
        "type": "file",
        "args": {
          "format": "${timestamp} ${thread_name} ${context} ${file}:${line} ${method} ${level}]  ${message}",
          "filename": "logs/rpc/rpc.log",
          "flush": true,
          "rotate": true,
          "rotation_interval": 3600000000,
          "rotation_limit": 86400000000,
          "rotation_compression": false
        },
        "enabled": true
      },{
        "name": "blockchain",
        "type": "file",
        "args": {
          "format": "${timestamp} ${thread_name} ${context} ${file}:${line} ${method} ${level}]  ${message}",
          "filename": "logs/blockchain/blockchain.log",
          "flush": true,
          "rotate": true,
          "rotation_interval": 3600000000,
          "rotation_limit": 86400000000,
          "rotation_compression": false
        },
        "enabled": true
      },{
        "name": "p2p",
        "type": "file",
        "args": {
          "format": "${timestamp} ${thread_name} ${context} ${file}:${line} ${method} ${level}]  ${message}",
          "filename": "logs/p2p/p2p.log",
          "flush": false,
          "rotate": true,
          "rotation_interval": 3600000000,
          "rotation_limit": 86400000000,
          "rotation_compression": false
        },
        "enabled": true
      }
    ],
    "loggers": [{
        "name": "default",
        "level": "warn",
        "enabled": true,
        "additivity": false,
        "appenders": [
          "default",
          "p2p"
        ]
      },{
        "name": "client",
        "level": "warn",
        "enabled": true,
        "additivity": false,
        "appenders": [
          "default",
          "p2p"
        ]
      },{
        "name": "rpc",
        "level": "warn",
        "enabled": true,
        "additivity": false,
        "appenders": [
          "rpc"
        ]
      },{
        "name": "p2p",
        "level": "warn",
        "enabled": true,
        "additivity": false,
        "appenders": [
          "p2p"
        ]
      },{
        "name": "user",
        "level": "off",
        "enabled": true,
        "additivity": false,
        "appenders": [
          "user"
        ]
      }
    ]
  },
  "ignore_console": false,
  "client_debug_name": "",
  "rpc": {
    "enable": false,
    "enable_cache": true,
    "rpc_user": "",
    "rpc_password": "",
    "rpc_endpoint": "127.0.0.1:0",
    "httpd_endpoint": "127.0.0.1:0",
    "websocket_endpoint": "0.0.0.0:0",
    "encrypted_rpc_endpoint": "127.0.0.1:0",
    "encrypted_rpc_wif_key": "",
    "htdocs": "./htdocs",
    "users": [],
    "whitelist": []
  },
  "statistics_enabled": false,
  "default_peers": [
    "46.226.109.66:1776",
    "54.77.51.177:1776",
    "54.79.27.224:1776",
    "61.129.33.213:1776",
    "84.238.140.192:42577",
    "85.214.53.224:1776",
    "95.85.33.16:8764",
    "104.131.35.149:1776",
    "106.185.26.162:1776",
    "178.62.50.61:1776",
    "178.62.50.61:1777",
    "178.62.50.61:1778",
    "178.62.50.61:1779",
    "178.62.157.161:1776",
    "180.153.142.120:1777",
    "185.25.22.21:1776",
    "188.226.195.137:60696"
  ],
  "maximum_number_of_connections": 200,
  "use_upnp": true,
  "chain_servers": [
    "69.90.132.209:1375"
  ],
  "chain_server": {
    "enabled": false,
    "listen_port": 0
  },
  "wallet_enabled": true,
  "min_relay_fee": 10000,
  "wallet_callback_url": "",
  "light_network_fee": 10000,
  "light_relay_fee": 10000,
  "relay_account_name": "",
  "faucet_account_name": ""
}

get_info:
Code: [Select]
{
  "blockchain_head_block_num": 203800,
  "blockchain_head_block_age": "52 weeks old",
  "blockchain_head_block_timestamp": "2014-08-12T11:30:50",
  "blockchain_head_block_id": "1cc2b5ebcd9045a8bf77add141e482fb631e6a5c",
  "blockchain_average_delegate_participation": "0.00 %",
  "blockchain_share_supply": "2,498,963,665.90634 BTS",
  "blockchain_blocks_left_in_round": 18,
  "blockchain_next_round_time": "at least 3 minutes in the future",
  "blockchain_next_round_timestamp": "2015-08-13T14:03:20",
  "blockchain_random_seed": "571d89854dd305a704acdaa19949438f2b874eca",
  "client_data_dir": "/home/skunk/.BitShares",
  "client_version": "0.9.2",
  "network_num_connections": 12,
  "network_num_connections_max": 200,
  "network_chain_downloader_running": false,
  "network_chain_downloader_blocks_remaining": null,
  "ntp_time": "2015-08-13T14:00:28",
  "ntp_time_error": -0.51296799999999998,
  "wallet_open": true,
  "wallet_unlocked": true,
  "wallet_unlocked_until": "12 days in the future",
  "wallet_unlocked_until_timestamp": "2015-08-25T03:29:32",
  "wallet_last_scanned_block_timestamp": "2014-07-19T05:42:30",
  "wallet_scan_progress": "100.00 %",
  "wallet_block_production_enabled": false,
  "wallet_next_block_production_time": null,
  "wallet_next_block_production_timestamp": null
}
Title: Re: yet another sync failure
Post by: xeroc on August 13, 2015, 02:37:01 pm
welcome to the bts community!

Unfortunatelly the client does not tell you if it cannot reach the chain server .. so I recommend you use a different one.
http://wiki.bitshares.org/index.php/BitShares/Chain-Server
Title: Re: yet another sync failure
Post by: skunk on August 13, 2015, 07:06:37 pm
doesn't matter which server i choose the wallet always gets stuck after the first 100-200k blocks...
time to move on, thank you.