bitsofproof / supernode

BOP Bitcoin Server API - superseded versions
http://bitsofproof.com
Apache License 2.0
126 stars 62 forks source link

not reconnecting - not getting the data #50

Closed gim913 closed 10 years ago

gim913 commented 10 years ago

it seems, that for some reason threads are not reconnecting, here's a piece from log:

I don't know if this is related to issue #41 or not

2014-01-04 01:06:33,398 [INFO] BitcoinPeer Peer-thread-2 Disconnected 'null' at dnsseed.bitcoin.dashjr.org/220.189.203.68:8333
2014-01-04 01:22:50,060 [INFO] BitcoinPeer Peer-thread-10 Disconnected 'null' at seed.bitcoin.sipa.be/123.254.108.166:8333
2014-01-04 01:29:39,737 [INFO] BitcoinPeer Peer-thread-2 Disconnected 'null' at seed.bitcoin.sipa.be/122.224.5.71:8333
2014-01-04 01:31:58,349 [INFO] BitcoinPeer Peer-thread-2 Disconnected 'null' at dnsseed.bluematt.me/220.189.203.68:8333

from 01:30-03:20 nothing happened, later I restarted server.

tamasblummer commented 10 years ago

what was the command line us used?

gim913 commented 10 years ago

iirc, mx2g and for sure: leveldb production BCSAPI activemq

logs indicate that similar issue happened later, between 4am and 9am:

2014-01-04 03:33:00,939 [DEBUG] TxHandler Peer-thread-6 Pool size: 0
2014-01-04 03:33:01,155 [DEBUG] ChainLoader Peer-thread-9 received block 00000000003991f5b74a110923b7ff8c1f3db76ef0d54b427ba5b87ab0b0a313 from dnsseed.bitcoin.dashjr.org/220.189.203.68:8333
2014-01-04 03:33:01,156 [DEBUG] CachedBlockStore Peer-thread-9 stored block 72338 00000000003991f5b74a110923b7ff8c1f3db76ef0d54b427ba5b87ab0b0a313
2014-01-04 03:49:56,199 [INFO] BitcoinPeer Peer-thread-4 Disconnected 'null' at seed.bitcoin.sipa.be/220.189.203.68:8333
2014-01-04 03:58:38,336 [INFO] BitcoinPeer Peer-thread-12 Disconnected 'null' at seed.bitcoin.sipa.be/98.118.96.18:8333
2014-01-04 04:06:02,670 [INFO] BitcoinPeer Peer-thread-6 Disconnected 'null' at dnsseed.bitcoin.dashjr.org/150.140.159.77:8333
2014-01-04 04:06:53,111 [INFO] BitcoinPeer Peer-thread-12 Disconnected 'null' at dnsseed.bluematt.me/222.184.35.23:8333
2014-01-04 04:07:23,770 [INFO] BitcoinPeer Peer-thread-6 Disconnected 'null' at dnsseed.bluematt.me/208.81.1.197:8333
tamasblummer commented 10 years ago

I suggest running as a slave behind satoshi in production, that is command line leveldb slave production BCSAPI activemq

Can not reproduce. I am afraid, that the remedy will be coming with the headers-first download.

gim913 commented 10 years ago

I was thinking about slave already, but I was hoping there'll be chance to get rid of bitcoind.

Thanks for answer!