Author Topic: Test Net for Advanced Users  (Read 266877 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
I am seeing these:
Code: [Select]
708971ms th_a       application.cpp:486           get_blockchain_synop ] reference_point: 0000000000000000000000000000000000000000 number_of_blocks_after_reference_point: 0 result: ["00003f86b4220fb29e16036f5d696bb5243f9a07","00013f8685820e64a33f3b87f8cf6474b0e7e5c7","0001bf8635d391238db9e93931aae721abd53bab","0001ff868e9aec5f1f14cfb66e5f49fb0280329e","00021f86654dc5d0c4b92583d55fda1c9f7dd82f","00022f869f1a17f045c6952b2e0f449024df7742","0002378624f2f684ed05d697aea7aff3d0b3513a","00023b8665b1af0e5fd6785b618446d70b7b7c16","00023d8649c554e0c149ee44b4ea746d1ace0d85","00023e86432bacf440402bfc0cc09ef1918400f4","00023f0670f542d7bb358bc620100fd3120d87c2","00023f464af6c15db54edeb71b84fb9ced19a473","00023f66bd846878966710660b72c7f1ddfe0412","00023f762feec6a58f31a1fbf74f2f6722cd1235","00023f7e66d776c07eb3ef892981761da11c5dbb","00023f8250a4aa2c2143a226b50074a05d66a788","00023f8477a53510d63dca1dd1de05a67d251d2d","00023f853fe584f1891a6f246f2ed7238a6bcabd","00023f868da02c32c1d8c6faef53b4a0c51ade92"]
Then the syncing progress stopped with no more blocks

I also frequently see this:
Code: [Select]
1130033ms p2p        tcp_socket.cpp:162            bind                 ] Exception binding outgoing connection to desired local endpoint: bind: Address already in use
with no ports besides NTP and SSH in use .. no idea what port the client wants to bind ..

Offline lafona

  • Sr. Member
  • ****
  • Posts: 231
    • View Profile
  • BitShares: lafona
Whats going on here?
Code: [Select]
3299997ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.1 scheduled_time: 2015-08-16T08:55:00 now: 2015-08-16T08:55:00
3300134ms th_a       application.cpp:342           handle_block         ] Got block #134274 from network
3300436ms th_a       application.cpp:342           handle_block         ] Got block #134274 from network
3300538ms th_a       application.cpp:437           get_item             ] Request for item {"item_type":1001,"item_hash":"84dc9853e4ddd3941281f6260886aef9713829f0"}
3300997ms th_a       witness.cpp:239               block_production_loo ] slot: 0 scheduled_witness: 1.6.0 scheduled_time: 1970-01-01T00:00:00 now: 2015-08-16T08:55:01
3300998ms th_a       witness.cpp:207               operator()           ] Not producing block because head block time is in the future (is the system clock set correctly?).
3301997ms th_a       witness.cpp:239               block_production_loo ] slot: 0 scheduled_witness: 1.6.0 scheduled_time: 1970-01-01T00:00:00 now: 2015-08-16T08:55:02
3301998ms th_a       witness.cpp:207               operator()           ] Not producing block because head block time is in the future (is the system clock set correctly?).
3302997ms th_a       witness.cpp:239               block_production_loo ] slot: 0 scheduled_witness: 1.6.0 scheduled_time: 1970-01-01T00:00:00 now: 2015-08-16T08:55:03
3302998ms th_a       witness.cpp:207               operator()           ] Not producing block because head block time is in the future (is the system clock set correctly?).
3303997ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.1439 scheduled_time: 2015-08-16T08:55:04 now: 2015-08-16T08:55:04


I have the same issues every so often, and I have ntp running
I was seeing the same thing. Restarting the witness seemed to fix it though.
BTS Witnesses: delegate-1.lafona     Witness Thread: https://bitsharestalk.org/index.php/topic,21569.msg280911/topicseen.html#msg280911
MUSE Witness: lafona

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Whats going on here?
Code: [Select]
3299997ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.1 scheduled_time: 2015-08-16T08:55:00 now: 2015-08-16T08:55:00
3300134ms th_a       application.cpp:342           handle_block         ] Got block #134274 from network
3300436ms th_a       application.cpp:342           handle_block         ] Got block #134274 from network
3300538ms th_a       application.cpp:437           get_item             ] Request for item {"item_type":1001,"item_hash":"84dc9853e4ddd3941281f6260886aef9713829f0"}
3300997ms th_a       witness.cpp:239               block_production_loo ] slot: 0 scheduled_witness: 1.6.0 scheduled_time: 1970-01-01T00:00:00 now: 2015-08-16T08:55:01
3300998ms th_a       witness.cpp:207               operator()           ] Not producing block because head block time is in the future (is the system clock set correctly?).
3301997ms th_a       witness.cpp:239               block_production_loo ] slot: 0 scheduled_witness: 1.6.0 scheduled_time: 1970-01-01T00:00:00 now: 2015-08-16T08:55:02
3301998ms th_a       witness.cpp:207               operator()           ] Not producing block because head block time is in the future (is the system clock set correctly?).
3302997ms th_a       witness.cpp:239               block_production_loo ] slot: 0 scheduled_witness: 1.6.0 scheduled_time: 1970-01-01T00:00:00 now: 2015-08-16T08:55:03
3302998ms th_a       witness.cpp:207               operator()           ] Not producing block because head block time is in the future (is the system clock set correctly?).
3303997ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.1439 scheduled_time: 2015-08-16T08:55:04 now: 2015-08-16T08:55:04


I have the same issues every so often, and I have ntp running
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
I'm still not in sync   :(
Every time ctrl+c kill witness and restart, it wipes everything, then resync slowly, then stuck somewhere.
Code: [Select]
2088883ms th_a       application.cpp:264           startup              ] Detected unclean shutdown. Replaying blockchain...
2088883ms th_a       application.cpp:227           operator()           ] Initializing database...
2099945ms th_a       db_management.cpp:67          wipe                 ] Wiping database
2099968ms th_a       object_database.cpp:82        wipe                 ] Wiping object_database.

100% CPU while wiping. Is it quicker to just remove the object_database directory and the witness_data directory before restart?


I stopped the witness, delete the database, restarted server. Then launch the witness.

Ill post the node IP later on.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
Whats going on here?
Code: [Select]
3299997ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.1 scheduled_time: 2015-08-16T08:55:00 now: 2015-08-16T08:55:00
3300134ms th_a       application.cpp:342           handle_block         ] Got block #134274 from network
3300436ms th_a       application.cpp:342           handle_block         ] Got block #134274 from network
3300538ms th_a       application.cpp:437           get_item             ] Request for item {"item_type":1001,"item_hash":"84dc9853e4ddd3941281f6260886aef9713829f0"}
3300997ms th_a       witness.cpp:239               block_production_loo ] slot: 0 scheduled_witness: 1.6.0 scheduled_time: 1970-01-01T00:00:00 now: 2015-08-16T08:55:01
3300998ms th_a       witness.cpp:207               operator()           ] Not producing block because head block time is in the future (is the system clock set correctly?).
3301997ms th_a       witness.cpp:239               block_production_loo ] slot: 0 scheduled_witness: 1.6.0 scheduled_time: 1970-01-01T00:00:00 now: 2015-08-16T08:55:02
3301998ms th_a       witness.cpp:207               operator()           ] Not producing block because head block time is in the future (is the system clock set correctly?).
3302997ms th_a       witness.cpp:239               block_production_loo ] slot: 0 scheduled_witness: 1.6.0 scheduled_time: 1970-01-01T00:00:00 now: 2015-08-16T08:55:03
3302998ms th_a       witness.cpp:207               operator()           ] Not producing block because head block time is in the future (is the system clock set correctly?).
3303997ms th_a       witness.cpp:239               block_production_loo ] slot: 1 scheduled_witness: 1.6.1439 scheduled_time: 2015-08-16T08:55:04 now: 2015-08-16T08:55:04

https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
I am currently on #105026, so you should be on the same.
Can you post your node's IP/port so that others can add it to peers list?
45.55.6.216:42317 is one of my nodes. 
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
I am currently on #105026, so you should be on the same.
Can you post your node's IP/port so that others can add it to peers list?
BitShares committee member: abit
BitShares witness: in.abit

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
I'm still not in sync   :(
Every time ctrl+c kill witness and restart, it wipes everything, then resync slowly, then stuck somewhere.
Code: [Select]
2088883ms th_a       application.cpp:264           startup              ] Detected unclean shutdown. Replaying blockchain...
2088883ms th_a       application.cpp:227           operator()           ] Initializing database...
2099945ms th_a       db_management.cpp:67          wipe                 ] Wiping database
2099968ms th_a       object_database.cpp:82        wipe                 ] Wiping object_database.

100% CPU while wiping. Is it quicker to just remove the object_database directory and the witness_data directory before restart?
BitShares committee member: abit
BitShares witness: in.abit

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
I will be in at Monday with my VPS from Greece!
It sucks that I must wait until then  :'(

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Well time for bed.. forgot to mention, my test witness is in a Azure VPS - North Europe. (2 cores, 3 gigs of ram).
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
I am currently on #105026, so you should be on the same.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
Strange error with witness:
Code: [Select]
1748966ms th_a       application.cpp:342           handle_block         ] Got block #104467 from network
1749534ms th_a       application.cpp:342           handle_block         ] Got block #104468 from network
1757502ms th_a       application.cpp:342           handle_block         ] Got block #104469 from network
1759976ms th_a       application.cpp:342           handle_block         ] Got block #104475 from network
1759977ms th_a       application.cpp:364           handle_block         ] Error when pushing block:
10 assert_exception: Assert Exception
itr != _index.get<block_id>().end():
    {}
    th_a  fork_database.cpp:51 push_block

    {"new_block":{"previous":"0001981a644a3dddd4e2c7db84bb49f6fec77355","timestamp":"2015-08-15T23:29:16","witness":"1.6.5","next_secr
et_hash":"b3a177eb67d1e7b782e54e1ad216b87b79dc440d","previous_secret":"933e421c25e571c2fc9bf5fab56f5140cfb5f753","transaction_merkle_r
oot":"0000000000000000000000000000000000000000","extensions":[],"witness_signature":"1f3e0a2d9b6d6ee76e3d90c77eb1680380c4cf3fe87646089
e83bd7f8446a8c79878c2a81e98329ceb3c753b958bdde66ef4f147c8f7d254bc8774825810dedda5","transactions":[]}}
    th_a  db_block.cpp:173 _push_block
Why 104470~104474 missed?
It stopped syncing after this error, unable to push block again and again.
« Last Edit: August 16, 2015, 08:03:04 am by abit »
BitShares committee member: abit
BitShares witness: in.abit

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
Finally I am producing blocks.

My node after all attempts would not start, it was stuck.  I thought it was an issue with ntp, (new build) so I installed and configure sources.
Finally I deleted the object_data directory to start fresh, and rebooted the server.

And its working... :)
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
It might be a recent transaction that wasn't on the snapshot.

Edit: Just noticed you said all the 5Js so it is a pattern... Ill check when my witness finish synching loading, and see if I have a 5j to test.
solved. stupid me..  :-[
« Last Edit: August 15, 2015, 11:28:19 pm by abit »
BitShares committee member: abit
BitShares witness: in.abit

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
After I finally got it right it hung for five to ten minutes.

Thanks, I think Ill give it another 5 / 10 minutes then.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads