Author Topic: [OVER] New Public XTS Test for Developers and Savvy Users  (Read 87304 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
No changes :-(

Code: [Select]
  "network_num_connections": 0,
  "network_num_connections_max": 12,

My log file says:

Code: [Select]
10464 1004943ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().   node.cpp:602
10465 1004943ms       th_a display_current_conn ] Currently have 1 of 8 connections   node.cpp:975
10466 1004943ms       th_a display_current_conn ]    my id is a1274c434667c1993ecbfb73935953ae2fd3842c   node.cpp:976
10467 1004943ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]   node.cpp:984
10468 1004943ms       th_a p2p_network_connect_ ] Last attempt was 45 seconds ago (disposition: last_connection_failed)   node.cpp:641
10469 1004943ms       th_a display_current_conn ] Currently have 1 of 8 connections   node.cpp:975
10470 1004943ms       th_a display_current_conn ]    my id is a1274c434667c1993ecbfb73935953ae2fd3842c   node.cpp:976
10471 1004943ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]   node.cpp:984
10472 1004943ms       th_a p2p_network_connect_ ] Still want to connect to more nodes, but I don't have any good candidates.  Trying again in 15 seconds   node.cpp:669

Not received yet. I am connected.
My account:
XTS3DCe7B5UfPhXTzGEqbzZVQksdx7GNFGKL59ykb3JjwPtR1dWQQo24dDxaNHybj6qaa5aFz1pDEyGHP9wbcUiwEJqHLPUxK

Sent.

My number connections now is zero, how about you?
Quote
"network_num_connections": 0,
"blockchain_block_num": 7565,

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Not received yet. I am connected.
My account:
XTS3DCe7B5UfPhXTzGEqbzZVQksdx7GNFGKL59ykb3JjwPtR1dWQQo24dDxaNHybj6qaa5aFz1pDEyGHP9wbcUiwEJqHLPUxK

Sent.

My number connections now is zero, how about you?
Quote
"network_num_connections": 0,
"blockchain_block_num": 7565,
« Last Edit: May 28, 2014, 11:39:36 am by HackFisher »
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline gulu

  • Full Member
  • ***
  • Posts: 121
    • View Profile
Not received yet. I am connected.
My account:
XTS3DCe7B5UfPhXTzGEqbzZVQksdx7GNFGKL59ykb3JjwPtR1dWQQo24dDxaNHybj6qaa5aFz1pDEyGHP9wbcUiwEJqHLPUxK

Sent.
BTC: 1FRsgcQELHKFY2VMFosBnyBaNxZgS4wj7x
PTS: Pf9yDYUknXShepu6YjwSEpMvm1ewNQLNgE
BTSX: gulu

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
My account:
XTS3DCe7B5UfPhXTzGEqbzZVQksdx7GNFGKL59ykb3JjwPtR1dWQQo24dDxaNHybj6qaa5aFz1pDEyGHP9wbcUiwEJqHLPUxK

Sent.
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline gulu

  • Full Member
  • ***
  • Posts: 121
    • View Profile
My account:
XTS3DCe7B5UfPhXTzGEqbzZVQksdx7GNFGKL59ykb3JjwPtR1dWQQo24dDxaNHybj6qaa5aFz1pDEyGHP9wbcUiwEJqHLPUxK
BTC: 1FRsgcQELHKFY2VMFosBnyBaNxZgS4wj7x
PTS: Pf9yDYUknXShepu6YjwSEpMvm1ewNQLNgE
BTSX: gulu

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I'll disconnect now.
You must try ASAP...
Tell me the result please.
I tried
network_add_node "107.170.30.182:5678" onetry
and
network_add_node "107.170.30.182:5678" add

still no connections :-(
Didn't work out :-( too bad ..

anyway .. there seems to be an issue with the seed node max_connection and the p2p-code.

EDIT: thanks anyway

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I'll disconnect now.
You must try ASAP...
Tell me the result please.
I tried
network_add_node "107.170.30.182:5678" onetry
and
network_add_node "107.170.30.182:5678" add

still no connections :-(

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I tried
network_add_node "107.170.30.182:5678" onetry
and
network_add_node "107.170.30.182:5678" add

still no connections :-(
Quote
{
  "blockchain_asset_reg_fee": 301988160,
  "blockchain_asset_shares_max": 1000000000000000,
  "blockchain_bips_per_share": 12.5,
  "blockchain_block_fee_min": 1,
  "blockchain_block_interval": 30,
  "blockchain_block_num": 0,
  "blockchain_block_size_max": 209715,
  "blockchain_block_size_target": 104857,
  "blockchain_delegate_fire_votes_min": 11428571428571,
  "blockchain_delegate_num": 7,
  "blockchain_delegate_reg_fee": 43141165,
  "blockchain_delegate_reward_min": 200,
  "blockchain_id": "09b45e088af94f853ac2ad69b2203e02ee5bbcc23ca353793c48fe23419c06fe",
  "blockchain_name_size_max": 63,
  "blockchain_name_data_size_max": 4096,
  "blockchain_random_seed": "0000000000000000000000000000000000000000",
  "blockchain_shares": 80000000000000,
  "blockchain_size_max": 107374182400,
  "blockchain_symbol": "XTS",
  "blockchain_version": 100,
  "client_httpd_port": 0,
  "client_rpc_port": 0,
  "network_num_connections": 0,
  "network_num_connections_max": 12,
  "network_protocol_version": 100,
  "wallet_balance": 0,
  "wallet_balance_bips": 0,
  "wallet_open": false,
  "wallet_unlocked_until": "",
  "wallet_version": 100,
  "_bitshares_toolkit_revision": "5f61176a67115ea0b0594d218253b0341b063a95",
  "_fc_revision": "54c66bbb86770d5d166c8b172b2658e9103e37cb",
  "_network_node_id": "cd397fef9148cd08138b32eb803b20249c98f53d"
}

The default node seed is  "107.170.30.182:5678"
I am wondering how many is the max connections set in this node?
When the connection is up to the max,  If the new node can get other node list from this node?
If the answer is yes, you'll get a list, but I doubt the other nodes can accept your connection request because of the UPNP feature maybe not open.
At least, I can't connect to other node except 107.170.30.182.
I'll try to open UPNP when I arrive home this evening.

Code: [Select]
alt (locked) >>> get_info
{
...
  "network_num_connections": 1,
  "network_num_connections_max": 12,
...
}
I still cannot connect to network from most recent git-master-head
Code: [Select]
1693768ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/fork_number_db is not upgradeable                   upgrade_leveldb.cpp:44
1693773ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/fork_db is not upgradeable                  upgrade_leveldb.cpp:44
1693778ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/property_db is not upgradeable                      upgrade_leveldb.cpp:44
1693817ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/proposal_db is not upgradeable                      upgrade_leveldb.cpp:44
1693819ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/proposal_vote_db is not upgradeable                 upgrade_leveldb.cpp:44
1693823ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/undo_state_db is not upgradeable                    upgrade_leveldb.cpp:44
1693826ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/block_num_to_id_db is not upgradeable                       upgrade_leveldb.cpp:44
1693829ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/block_id_to_block_db is not upgradeable                     upgrade_leveldb.cpp:44
1693833ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/pending_transaction_db is not upgradeable                   upgrade_leveldb.cpp:44
1693839ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/asset_db is not upgradeable                 upgrade_leveldb.cpp:44
1693850ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/balance_db is not upgradeable                       upgrade_leveldb.cpp:44
1693857ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/name_db is not upgradeable                  upgrade_leveldb.cpp:44
1693863ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/name_index_db is not upgradeable                    upgrade_leveldb.cpp:44
1693869ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/symbol_index_db is not upgradeable                  upgrade_leveldb.cpp:44
1693874ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/delegate_vote_index_db is not upgradeable                   upgrade_leveldb.cpp:44
1693878ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/ask_db is not upgradeable                   upgrade_leveldb.cpp:44
1693882ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/bid_db is not upgradeable                   upgrade_leveldb.cpp:44
1693886ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/short_db is not upgradeable                 upgrade_leveldb.cpp:44
1693889ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/collateral_db is not upgradeable                    upgrade_leveldb.cpp:44
1693892ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/processed_transaction_id_db is not upgradeable                      upgrade_leveldb.cpp:44
1693908ms       th_a   load_configuration ] Loaded configuration from file /home/coin/.BitSharesXTS/node_config.json                    node.cpp:1953
1693914ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/peers.leveldb is not upgradeable                  upgrade_leveldb.cpp:44
1693914ms       th_a trigger_p2p_network_ ] Triggering connect loop now                 node.cpp:690
1696915ms       th_a    set_reuse_address ] Error setting SO_REUSEPORT                  tcp_socket.cpp:226
1696915ms       th_a connect_to_p2p_netwo ] listening for connections on endpoint 0.0.0.0:5678                  node.cpp:1999
1696915ms       th_a           connect_to ] node_impl::connect_to(107.170.30.182:5678)                  node.cpp:2022
1696915ms       th_a    set_reuse_address ] Error setting SO_REUSEPORT                  tcp_socket.cpp:167
1696915ms       th_a           connect_to ] Exception binding outgoing connection to desired local endpoint: bind: Address already in use                       tcp_socket.cpp:104
1696915ms       th_a fetch_sync_items_loo ] beginning another iteration of the sync items loop                  node.cpp:716
1696915ms       th_a fetch_sync_items_loo ] no sync items to fetch right now, going to sleep                    node.cpp:752
1696915ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().                        node.cpp:602
1696916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1696916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1696916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1696916ms       th_a p2p_network_connect_ ] Last attempt was 0 seconds ago (disposition: last_connection_failed)                        node.cpp:641
1696916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1696916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1696916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1696916ms       th_a p2p_network_connect_ ] Still want to connect to more nodes, but I don't have any good candidates.  Trying again in 15 seconds                      node.cpp:669
1696916ms       th_a     fetch_items_loop ] beginning an iteration of fetch items (0 items to fetch)                    node.cpp:773
1696916ms       th_a advertise_inventory_ ] beginning an iteration of advertise inventory                       node.cpp:822
1701922ms       upnp           operator() ] No valid UPnP IGDs found                    upnp.cpp:145
1703915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072823                        client.cpp:78
1705915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072825                        client.cpp:78
1707915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072827                        client.cpp:78
1709915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072829                        client.cpp:78
1711916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072831                        client.cpp:78
1711916ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().                        node.cpp:602
1711916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1711916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1711916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1711916ms       th_a p2p_network_connect_ ] Last attempt was 15 seconds ago (disposition: last_connection_failed)                       node.cpp:641
1711916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1711916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1711916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1711916ms       th_a p2p_network_connect_ ] Still want to connect to more nodes, but I don't have any good candidates.  Trying again in 15 seconds                      node.cpp:669
1713916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072833                        client.cpp:78
1715916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072835                        client.cpp:78
1717916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072837                        client.cpp:78

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
The default node seed is  "107.170.30.182:5678"
I am wondering how many is the max connections set in this node?
When the connection is up to the max,  If the new node can get other node list from this node?
If the answer is yes, you'll get a list, but I doubt the other nodes can accept your connection request because of the UPNP feature maybe not open.
At least, I can't connect to other node except 107.170.30.182.
I'll try to open UPNP when I arrive home this evening.

Code: [Select]
alt (locked) >>> get_info
{
...
  "network_num_connections": 1,
  "network_num_connections_max": 12,
...
}
I still cannot connect to network from most recent git-master-head
Code: [Select]
1693768ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/fork_number_db is not upgradeable                   upgrade_leveldb.cpp:44
1693773ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/fork_db is not upgradeable                  upgrade_leveldb.cpp:44
1693778ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/property_db is not upgradeable                      upgrade_leveldb.cpp:44
1693817ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/proposal_db is not upgradeable                      upgrade_leveldb.cpp:44
1693819ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/proposal_vote_db is not upgradeable                 upgrade_leveldb.cpp:44
1693823ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/undo_state_db is not upgradeable                    upgrade_leveldb.cpp:44
1693826ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/block_num_to_id_db is not upgradeable                       upgrade_leveldb.cpp:44
1693829ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/block_id_to_block_db is not upgradeable                     upgrade_leveldb.cpp:44
1693833ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/pending_transaction_db is not upgradeable                   upgrade_leveldb.cpp:44
1693839ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/asset_db is not upgradeable                 upgrade_leveldb.cpp:44
1693850ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/balance_db is not upgradeable                       upgrade_leveldb.cpp:44
1693857ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/name_db is not upgradeable                  upgrade_leveldb.cpp:44
1693863ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/name_index_db is not upgradeable                    upgrade_leveldb.cpp:44
1693869ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/symbol_index_db is not upgradeable                  upgrade_leveldb.cpp:44
1693874ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/delegate_vote_index_db is not upgradeable                   upgrade_leveldb.cpp:44
1693878ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/ask_db is not upgradeable                   upgrade_leveldb.cpp:44
1693882ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/bid_db is not upgradeable                   upgrade_leveldb.cpp:44
1693886ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/short_db is not upgradeable                 upgrade_leveldb.cpp:44
1693889ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/collateral_db is not upgradeable                    upgrade_leveldb.cpp:44
1693892ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/processed_transaction_id_db is not upgradeable                      upgrade_leveldb.cpp:44
1693908ms       th_a   load_configuration ] Loaded configuration from file /home/coin/.BitSharesXTS/node_config.json                    node.cpp:1953
1693914ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/peers.leveldb is not upgradeable                  upgrade_leveldb.cpp:44
1693914ms       th_a trigger_p2p_network_ ] Triggering connect loop now                 node.cpp:690
1696915ms       th_a    set_reuse_address ] Error setting SO_REUSEPORT                  tcp_socket.cpp:226
1696915ms       th_a connect_to_p2p_netwo ] listening for connections on endpoint 0.0.0.0:5678                  node.cpp:1999
1696915ms       th_a           connect_to ] node_impl::connect_to(107.170.30.182:5678)                  node.cpp:2022
1696915ms       th_a    set_reuse_address ] Error setting SO_REUSEPORT                  tcp_socket.cpp:167
1696915ms       th_a           connect_to ] Exception binding outgoing connection to desired local endpoint: bind: Address already in use                       tcp_socket.cpp:104
1696915ms       th_a fetch_sync_items_loo ] beginning another iteration of the sync items loop                  node.cpp:716
1696915ms       th_a fetch_sync_items_loo ] no sync items to fetch right now, going to sleep                    node.cpp:752
1696915ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().                        node.cpp:602
1696916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1696916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1696916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1696916ms       th_a p2p_network_connect_ ] Last attempt was 0 seconds ago (disposition: last_connection_failed)                        node.cpp:641
1696916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1696916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1696916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1696916ms       th_a p2p_network_connect_ ] Still want to connect to more nodes, but I don't have any good candidates.  Trying again in 15 seconds                      node.cpp:669
1696916ms       th_a     fetch_items_loop ] beginning an iteration of fetch items (0 items to fetch)                    node.cpp:773
1696916ms       th_a advertise_inventory_ ] beginning an iteration of advertise inventory                       node.cpp:822
1701922ms       upnp           operator() ] No valid UPnP IGDs found                    upnp.cpp:145
1703915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072823                        client.cpp:78
1705915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072825                        client.cpp:78
1707915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072827                        client.cpp:78
1709915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072829                        client.cpp:78
1711916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072831                        client.cpp:78
1711916ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().                        node.cpp:602
1711916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1711916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1711916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1711916ms       th_a p2p_network_connect_ ] Last attempt was 15 seconds ago (disposition: last_connection_failed)                       node.cpp:641
1711916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1711916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1711916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1711916ms       th_a p2p_network_connect_ ] Still want to connect to more nodes, but I don't have any good candidates.  Trying again in 15 seconds                      node.cpp:669
1713916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072833                        client.cpp:78
1715916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072835                        client.cpp:78
1717916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072837                        client.cpp:78

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I still cannot connect to network from most recent git-master-head
Code: [Select]
1693768ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/fork_number_db is not upgradeable                   upgrade_leveldb.cpp:44
1693773ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/fork_db is not upgradeable                  upgrade_leveldb.cpp:44
1693778ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/property_db is not upgradeable                      upgrade_leveldb.cpp:44
1693817ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/proposal_db is not upgradeable                      upgrade_leveldb.cpp:44
1693819ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/proposal_vote_db is not upgradeable                 upgrade_leveldb.cpp:44
1693823ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/undo_state_db is not upgradeable                    upgrade_leveldb.cpp:44
1693826ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/block_num_to_id_db is not upgradeable                       upgrade_leveldb.cpp:44
1693829ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/block_id_to_block_db is not upgradeable                     upgrade_leveldb.cpp:44
1693833ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/pending_transaction_db is not upgradeable                   upgrade_leveldb.cpp:44
1693839ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/asset_db is not upgradeable                 upgrade_leveldb.cpp:44
1693850ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/balance_db is not upgradeable                       upgrade_leveldb.cpp:44
1693857ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/name_db is not upgradeable                  upgrade_leveldb.cpp:44
1693863ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/name_index_db is not upgradeable                    upgrade_leveldb.cpp:44
1693869ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/symbol_index_db is not upgradeable                  upgrade_leveldb.cpp:44
1693874ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/delegate_vote_index_db is not upgradeable                   upgrade_leveldb.cpp:44
1693878ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/ask_db is not upgradeable                   upgrade_leveldb.cpp:44
1693882ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/bid_db is not upgradeable                   upgrade_leveldb.cpp:44
1693886ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/short_db is not upgradeable                 upgrade_leveldb.cpp:44
1693889ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/collateral_db is not upgradeable                    upgrade_leveldb.cpp:44
1693892ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/chain/processed_transaction_id_db is not upgradeable                      upgrade_leveldb.cpp:44
1693908ms       th_a   load_configuration ] Loaded configuration from file /home/coin/.BitSharesXTS/node_config.json                    node.cpp:1953
1693914ms       th_a       try_upgrade_db ] Database /home/coin/.BitSharesXTS/peers.leveldb is not upgradeable                  upgrade_leveldb.cpp:44
1693914ms       th_a trigger_p2p_network_ ] Triggering connect loop now                 node.cpp:690
1696915ms       th_a    set_reuse_address ] Error setting SO_REUSEPORT                  tcp_socket.cpp:226
1696915ms       th_a connect_to_p2p_netwo ] listening for connections on endpoint 0.0.0.0:5678                  node.cpp:1999
1696915ms       th_a           connect_to ] node_impl::connect_to(107.170.30.182:5678)                  node.cpp:2022
1696915ms       th_a    set_reuse_address ] Error setting SO_REUSEPORT                  tcp_socket.cpp:167
1696915ms       th_a           connect_to ] Exception binding outgoing connection to desired local endpoint: bind: Address already in use                       tcp_socket.cpp:104
1696915ms       th_a fetch_sync_items_loo ] beginning another iteration of the sync items loop                  node.cpp:716
1696915ms       th_a fetch_sync_items_loo ] no sync items to fetch right now, going to sleep                    node.cpp:752
1696915ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().                        node.cpp:602
1696916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1696916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1696916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1696916ms       th_a p2p_network_connect_ ] Last attempt was 0 seconds ago (disposition: last_connection_failed)                        node.cpp:641
1696916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1696916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1696916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1696916ms       th_a p2p_network_connect_ ] Still want to connect to more nodes, but I don't have any good candidates.  Trying again in 15 seconds                      node.cpp:669
1696916ms       th_a     fetch_items_loop ] beginning an iteration of fetch items (0 items to fetch)                    node.cpp:773
1696916ms       th_a advertise_inventory_ ] beginning an iteration of advertise inventory                       node.cpp:822
1701922ms       upnp           operator() ] No valid UPnP IGDs found                    upnp.cpp:145
1703915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072823                        client.cpp:78
1705915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072825                        client.cpp:78
1707915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072827                        client.cpp:78
1709915ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072829                        client.cpp:78
1711916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072831                        client.cpp:78
1711916ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().                        node.cpp:602
1711916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1711916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1711916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1711916ms       th_a p2p_network_connect_ ] Last attempt was 15 seconds ago (disposition: last_connection_failed)                       node.cpp:641
1711916ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:975
1711916ms       th_a display_current_conn ]    my id is a75359d89e069142f7db0c381de98c19cd24ae89                        node.cpp:976
1711916ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:984
1711916ms       th_a p2p_network_connect_ ] Still want to connect to more nodes, but I don't have any good candidates.  Trying again in 15 seconds                      node.cpp:669
1713916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072833                        client.cpp:78
1715916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072835                        client.cpp:78
1717916ms       th_a        delegate_loop ] next block time: 19700101T000000  interval: 30 seconds  now: 20140528T072837                        client.cpp:78

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Could someone resend me to following address for testing, previous bts may lost due to an early chain re-org, related trx was not included.

XTS2H1KdkGzXXepafDQrRrgusqi5K6VVavFohimUzRK34v89QLnoBsW3muU1Srhnc4LM8Kmn73R3CyzF3zRxZXh63cNWzG6RV

sent, check

received.
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I saw network_num_connections is always 1
so I check the netstat, I am wondering why so many state is SYN_SENT?
It's because of firewall?
or does the p2p network depend on upnp when the node is behind a local gateway?

Code: [Select]
alt@alt-ThinkPad-T430s ~ $ netstat -nap | grep bitshares
tcp        0      0 0.0.0.0:5678            0.0.0.0:*               LISTEN      22148/bitshares_cli
tcp        0      0 127.0.0.1:5679          0.0.0.0:*               LISTEN      22148/bitshares_cli
tcp        0      0 127.0.0.1:5680          0.0.0.0:*               LISTEN      22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        223.65.189.69:5679      SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        79.173.81.171:5678      SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        223.65.189.69:36560     SYN_SENT    22148/bitshares_cli
tcp        0      0 10.10.40.72:5678        107.170.30.182:5678     ESTABLISHED 22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        171.105.59.67:5678      SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        42.2.241.201:5678       SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        112.64.144.162:5678     SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        93.48.105.80:5678       SYN_SENT    22148/bitshares_cli
Right now it depends upon UPNP...
So if nodeA and nodeB both behind the local gateway, and without upnp support, then can never connect directly.
But if nodeC has upnp support, nodeA and nodeB both can connect directly with nodeC?

Offline bytemaster

I saw network_num_connections is always 1
so I check the netstat, I am wondering why so many state is SYN_SENT?
It's because of firewall?
or does the p2p network depend on upnp when the node is behind a local gateway?

Code: [Select]
alt@alt-ThinkPad-T430s ~ $ netstat -nap | grep bitshares
tcp        0      0 0.0.0.0:5678            0.0.0.0:*               LISTEN      22148/bitshares_cli
tcp        0      0 127.0.0.1:5679          0.0.0.0:*               LISTEN      22148/bitshares_cli
tcp        0      0 127.0.0.1:5680          0.0.0.0:*               LISTEN      22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        223.65.189.69:5679      SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        79.173.81.171:5678      SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        223.65.189.69:36560     SYN_SENT    22148/bitshares_cli
tcp        0      0 10.10.40.72:5678        107.170.30.182:5678     ESTABLISHED 22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        171.105.59.67:5678      SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        42.2.241.201:5678       SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        112.64.144.162:5678     SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        93.48.105.80:5678       SYN_SENT    22148/bitshares_cli

Right now it depends upon UPNP...
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I saw network_num_connections is always 1
so I check the netstat, I am wondering why so many state is SYN_SENT?
It's because of firewall?
or does the p2p network depend on upnp when the node is behind a local gateway?

Code: [Select]
alt@alt-ThinkPad-T430s ~ $ netstat -nap | grep bitshares
tcp        0      0 0.0.0.0:5678            0.0.0.0:*               LISTEN      22148/bitshares_cli
tcp        0      0 127.0.0.1:5679          0.0.0.0:*               LISTEN      22148/bitshares_cli
tcp        0      0 127.0.0.1:5680          0.0.0.0:*               LISTEN      22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        223.65.189.69:5679      SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        79.173.81.171:5678      SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        223.65.189.69:36560     SYN_SENT    22148/bitshares_cli
tcp        0      0 10.10.40.72:5678        107.170.30.182:5678     ESTABLISHED 22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        171.105.59.67:5678      SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        42.2.241.201:5678       SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        112.64.144.162:5678     SYN_SENT    22148/bitshares_cli
tcp        0      1 10.10.40.72:5678        93.48.105.80:5678       SYN_SENT    22148/bitshares_cli

Offline bytemaster


And I assume being locked is just as useful as being unlocked ?

Yes
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.