stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 671 forks source link

Unable to lookup justinguy.id that was registered via Onename.com #164

Closed ghost closed 9 years ago

ghost commented 9 years ago

Perhaps this isn't the correct place, but I am not sure what the real error is. Here is what I get when I lookup fredwilson.id:

screenshot 2015-10-22 at 08 49 10

And here when I lookup invalid:

screenshot 2015-10-22 at 08 49 42

All seems good but when I lookup my own justinguy.id:

screenshot 2015-10-22 at 08 50 09

Not sure what the problem is here. I just started with blockstore yesterday. To me it seems the name was registered on the Bitcoin blockchain but the associated data never stored off chain. Is this correct?

larrysalibra commented 9 years ago

@justinguy I have the same problem with your name on my node as well!

screen shot 2015-10-23 at 3 13 38 am
ghost commented 9 years ago

@larrysalibra Thanks for checking, someone forgot to tell my me I don't exist....

larrysalibra commented 9 years ago

Updated my profile last night via onename and now I have the same problem as @justinguy

Looks like the new profile data didn't get pushed to the DHT.

screen shot 2015-10-23 at 1 56 40 pm
ghost commented 9 years ago

Actually that is a good point @larrysalibra, I did update my profile via Onename yesterday. I sent a link to this issue to Onename support so they are aware.

larrysalibra commented 9 years ago

Confirmed no value in DHT for larry.id''s value_hash 3b04c220530154898d02463fba83a235de184936

used script dht.py:

from twisted.internet import reactor
from twisted.python import log
from kademlia.network import Server
import sys

# log to std out
log.startLogging(sys.stdout)

def quit(result):
    print "Key result:", result
    reactor.stop()

def done(found, server):
    log.msg("Found nodes: %s" % found)
    return server.get("3b04c220530154898d02463fba83a235de184936").addCallback(quit)

server = Server()

server.listen(6265)

# dht.blockstack.org
server.bootstrap([('54.173.110.67', 6265)]).addCallback(done, server)
reactor.run()

Result:

Tesla:~ larry$ python dht.py 
2015-10-23 14:02:56+0800 [-] Log opened.
2015-10-23 14:02:56+0800 [-] KademliaProtocol starting on 6265
2015-10-23 14:02:57+0800 [NodeSpiderCrawl] [INFO] creating spider with peers: [[263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265]]
2015-10-23 14:02:57+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265],)
2015-10-23 14:02:57+0800 [KademliaProtocol] [INFO] got response from 54.173.110.67:6265, adding to router
2015-10-23 14:02:57+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265])
2015-10-23 14:02:57+0800 [KademliaProtocol] [INFO] got response from 104.155.218.23:6265, adding to router
2015-10-23 14:02:57+0800 [KademliaProtocol] [INFO] got response from 52.20.194.97:6265, adding to router
2015-10-23 14:02:57+0800 [KademliaProtocol] [INFO] got response from 54.174.135.157:6265, adding to router
2015-10-23 14:02:57+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([1399457287979224152642868417286115443125595053802L, '67.40.22.214', 65171], [1382468444645814354385793287344671721804422894332L, '71.183.54.56', 6265], [1460909644066525609663278429469813096550304386985L, '67.40.22.214', 65391], [1421768944429638090187679816024908420303113758871L, '223.255.156.140', 40612], [1434706465833270508199170207823059623191798021778L, '66.224.76.153', 6265], [1321975029442923052766612039813889107203062659480L, '54.174.193.229', 6265], [1317403378990473490301063721376202810783875441830L, '223.255.156.140', 45495], [1287808668393634092976192412420314501575108870146L, '54.174.193.229', 6265], [1279427668837235015040314087212953527643760146316L, '166.171.184.219', 25408], [1298938067729377769680989017547004866478329743493L, '67.40.22.214', 65391], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1209809699207808029959934440841128311403981101075L, '66.224.76.153', 6265], [1255621576465103185940199397741971058960115974627L, '67.40.22.214', 61067], [1138106664514586561947169565917949654652669313098L, '67.40.22.214', 49169], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1084919742206142636215288634321499654016916107231L, '66.224.76.153', 6265], [924727175518041273392579383391142746425756275246L, '67.40.22.214', 65150], [890614807126505757699337044142921583275402838342L, '66.224.76.153', 6265])
2015-10-23 14:02:57+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:02:58+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:02:58+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:02+0800 [-] 'Did not received reply for msg id odGhxoSXPooOv7b6kauW4OQlDkQ= within 5 seconds'
2015-10-23 14:03:02+0800 [KademliaProtocol] [DEBUG] no response from 67.40.22.214:65171, removing from router
2015-10-23 14:03:02+0800 [-] 'Did not received reply for msg id nB+VcdN1JNfQOQPd/j57mqi5ZMA= within 5 seconds'
2015-10-23 14:03:02+0800 [KademliaProtocol] [DEBUG] no response from 71.183.54.56:6265, removing from router
2015-10-23 14:03:02+0800 [-] 'Did not received reply for msg id E3fXkSBimdVK3IDs9lQhGYeJ3CQ= within 5 seconds'
2015-10-23 14:03:02+0800 [KademliaProtocol] [DEBUG] no response from 67.40.22.214:65391, removing from router
2015-10-23 14:03:02+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([1421768944429638090187679816024908420303113758871L, '223.255.156.140', 40612], [1434706465833270508199170207823059623191798021778L, '66.224.76.153', 6265], [1321975029442923052766612039813889107203062659480L, '54.174.193.229', 6265], [1317403378990473490301063721376202810783875441830L, '223.255.156.140', 45495], [1287808668393634092976192412420314501575108870146L, '54.174.193.229', 6265], [1279427668837235015040314087212953527643760146316L, '166.171.184.219', 25408], [1298938067729377769680989017547004866478329743493L, '67.40.22.214', 65391], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1209809699207808029959934440841128311403981101075L, '66.224.76.153', 6265], [1255621576465103185940199397741971058960115974627L, '67.40.22.214', 61067], [1138106664514586561947169565917949654652669313098L, '67.40.22.214', 49169], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1084919742206142636215288634321499654016916107231L, '66.224.76.153', 6265], [924727175518041273392579383391142746425756275246L, '67.40.22.214', 65150], [890614807126505757699337044142921583275402838342L, '66.224.76.153', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265])
2015-10-23 14:03:03+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:03+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:03+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:03+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:03+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:07+0800 [-] 'Did not received reply for msg id XpWCMwZ0cELLyfYaU4uGNLZiyg8= within 5 seconds'
2015-10-23 14:03:07+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:40612, removing from router
2015-10-23 14:03:07+0800 [-] 'Did not received reply for msg id IFc6CKRh/mYCy/o0W9mTv+bfk80= within 5 seconds'
2015-10-23 14:03:07+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-23 14:03:07+0800 [-] 'Did not received reply for msg id PUs7sEHbhoBLVmb/kMXHYWHDzF0= within 5 seconds'
2015-10-23 14:03:07+0800 [KademliaProtocol] [DEBUG] no response from 54.174.193.229:6265, removing from router
2015-10-23 14:03:07+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([1317403378990473490301063721376202810783875441830L, '223.255.156.140', 45495], [1287808668393634092976192412420314501575108870146L, '54.174.193.229', 6265], [1279427668837235015040314087212953527643760146316L, '166.171.184.219', 25408], [1298938067729377769680989017547004866478329743493L, '67.40.22.214', 65391], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1209809699207808029959934440841128311403981101075L, '66.224.76.153', 6265], [1255621576465103185940199397741971058960115974627L, '67.40.22.214', 61067], [1138106664514586561947169565917949654652669313098L, '67.40.22.214', 49169], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1084919742206142636215288634321499654016916107231L, '66.224.76.153', 6265], [924727175518041273392579383391142746425756275246L, '67.40.22.214', 65150], [890614807126505757699337044142921583275402838342L, '66.224.76.153', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265])
2015-10-23 14:03:08+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:08+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:08+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:08+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:12+0800 [-] 'Did not received reply for msg id O+plX5kWNclsbpvCiNsgP9mbyUU= within 5 seconds'
2015-10-23 14:03:12+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:45495, removing from router
2015-10-23 14:03:12+0800 [-] 'Did not received reply for msg id rHtrKA52gyen8lwF319fd0pyX8w= within 5 seconds'
2015-10-23 14:03:12+0800 [KademliaProtocol] [DEBUG] no response from 54.174.193.229:6265, removing from router
2015-10-23 14:03:12+0800 [-] 'Did not received reply for msg id jII5eASTSjp8r6S7urayFerZd/A= within 5 seconds'
2015-10-23 14:03:12+0800 [KademliaProtocol] [DEBUG] no response from 166.171.184.219:25408, removing from router
2015-10-23 14:03:12+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([1298938067729377769680989017547004866478329743493L, '67.40.22.214', 65391], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1209809699207808029959934440841128311403981101075L, '66.224.76.153', 6265], [1255621576465103185940199397741971058960115974627L, '67.40.22.214', 61067], [1138106664514586561947169565917949654652669313098L, '67.40.22.214', 49169], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1084919742206142636215288634321499654016916107231L, '66.224.76.153', 6265], [924727175518041273392579383391142746425756275246L, '67.40.22.214', 65150], [890614807126505757699337044142921583275402838342L, '66.224.76.153', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265])
2015-10-23 14:03:13+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:13+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:13+0800 [KademliaProtocol] [INFO] finding neighbors of 263249755102705336534385640888110239692735563928 in local table
2015-10-23 14:03:17+0800 [-] 'Did not received reply for msg id pPtIcBf4w9pLRLQiMx0fjsk+gpI= within 5 seconds'
2015-10-23 14:03:17+0800 [KademliaProtocol] [DEBUG] no response from 67.40.22.214:65391, removing from router
2015-10-23 14:03:17+0800 [-] 'Did not received reply for msg id vCFYsFIDdjQtCb+3VIW2YLFSuyc= within 5 seconds'
2015-10-23 14:03:17+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:37569, removing from router
2015-10-23 14:03:17+0800 [-] 'Did not received reply for msg id bUwRc7ww91R4yvoo+5SlD6/mmpk= within 5 seconds'
2015-10-23 14:03:17+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:45495, removing from router
2015-10-23 14:03:17+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1209809699207808029959934440841128311403981101075L, '66.224.76.153', 6265], [1255621576465103185940199397741971058960115974627L, '67.40.22.214', 61067], [1138106664514586561947169565917949654652669313098L, '67.40.22.214', 49169], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1084919742206142636215288634321499654016916107231L, '66.224.76.153', 6265], [924727175518041273392579383391142746425756275246L, '67.40.22.214', 65150], [890614807126505757699337044142921583275402838342L, '66.224.76.153', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265])
2015-10-23 14:03:22+0800 [-] 'Did not received reply for msg id h0jDZUdS/UM81SMfl9u2scSIQuQ= within 5 seconds'
2015-10-23 14:03:22+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-23 14:03:22+0800 [-] 'Did not received reply for msg id lG8pemcEzInLj3k0aycA+C5WCyw= within 5 seconds'
2015-10-23 14:03:22+0800 [KademliaProtocol] [DEBUG] no response from 67.40.22.214:61067, removing from router
2015-10-23 14:03:22+0800 [-] 'Did not received reply for msg id sFVh6h1V5JhJ07QMqZhW8F66Zj8= within 5 seconds'
2015-10-23 14:03:22+0800 [KademliaProtocol] [DEBUG] no response from 67.40.22.214:49169, removing from router
2015-10-23 14:03:22+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1084919742206142636215288634321499654016916107231L, '66.224.76.153', 6265], [924727175518041273392579383391142746425756275246L, '67.40.22.214', 65150], [890614807126505757699337044142921583275402838342L, '66.224.76.153', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258])
2015-10-23 14:03:27+0800 [-] 'Did not received reply for msg id GNtifCmOB/N6/7bAgKBJumJR77s= within 5 seconds'
2015-10-23 14:03:27+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:40612, removing from router
2015-10-23 14:03:27+0800 [-] 'Did not received reply for msg id SJ7GXfP9fvHpdOmbDjtcnxJbtWQ= within 5 seconds'
2015-10-23 14:03:27+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-23 14:03:27+0800 [-] 'Did not received reply for msg id BgIffnAFMu5hvsKzd+YQDQJ6JFI= within 5 seconds'
2015-10-23 14:03:27+0800 [KademliaProtocol] [DEBUG] no response from 67.40.22.214:65150, removing from router
2015-10-23 14:03:27+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [890614807126505757699337044142921583275402838342L, '66.224.76.153', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258])
2015-10-23 14:03:28+0800 [KademliaProtocol] [INFO] got response from 52.20.194.97:6265, adding to router
2015-10-23 14:03:32+0800 [-] 'Did not received reply for msg id BwpDc+pApaSWMHqfeB48Zt4VRl4= within 5 seconds'
2015-10-23 14:03:32+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-23 14:03:32+0800 [-] 'Did not received reply for msg id mYamo+iosVT+fohXsI9vK5ZToEg= within 5 seconds'
2015-10-23 14:03:32+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:43241, removing from router
2015-10-23 14:03:32+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([1421768944429638090187679816024908420303113758871L, '223.255.156.140', 40612], [1317403378990473490301063721376202810783875441830L, '223.255.156.140', 45495], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258])
2015-10-23 14:03:32+0800 [KademliaProtocol] [INFO] got response from 104.155.218.23:6265, adding to router
2015-10-23 14:03:32+0800 [KademliaProtocol] [INFO] got response from 104.155.218.23:6265, adding to router
2015-10-23 14:03:37+0800 [-] 'Did not received reply for msg id 3mSVarCd4Pqk0M8n6LwnUb/GxMw= within 5 seconds'
2015-10-23 14:03:37+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:38838, removing from router
2015-10-23 14:03:37+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([1421768944429638090187679816024908420303113758871L, '223.255.156.140', 40612], [1317403378990473490301063721376202810783875441830L, '223.255.156.140', 45495], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258])
2015-10-23 14:03:37+0800 [KademliaProtocol] [INFO] got response from 104.155.218.23:6265, adding to router
2015-10-23 14:03:42+0800 [-] 'Did not received reply for msg id +RhkJ7DZk99lHsZJpqMiV0/tRq0= within 5 seconds'
2015-10-23 14:03:42+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:41503, removing from router
2015-10-23 14:03:42+0800 [-] 'Did not received reply for msg id 8nKUauDg6RXmpnKRhGOq+1BbtiI= within 5 seconds'
2015-10-23 14:03:42+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:34798, removing from router
2015-10-23 14:03:42+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([1421768944429638090187679816024908420303113758871L, '223.255.156.140', 40612], [1317403378990473490301063721376202810783875441830L, '223.255.156.140', 45495], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258])
2015-10-23 14:03:47+0800 [-] 'Did not received reply for msg id 1ILltvvLlMCHb8fIuxDPle/kkFE= within 5 seconds'
2015-10-23 14:03:47+0800 [KademliaProtocol] [DEBUG] no response from 52.20.98.85:6265, removing from router
2015-10-23 14:03:47+0800 [-] 'Did not received reply for msg id m0kEjaT8RHJArrjqZwFNIKeE+nQ= within 5 seconds'
2015-10-23 14:03:47+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:33258, removing from router
2015-10-23 14:03:47+0800 [-] Found nodes: [[1421768944429638090187679816024908420303113758871L, '223.255.156.140', 40612], [1317403378990473490301063721376202810783875441830L, '223.255.156.140', 45495], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265]]
2015-10-23 14:03:47+0800 [ValueSpiderCrawl] [INFO] creating spider with peers: [[1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265]]
2015-10-23 14:03:47+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265])
2015-10-23 14:03:47+0800 [KademliaProtocol] [INFO] got response from 104.155.218.23:6265, adding to router
2015-10-23 14:03:47+0800 [KademliaProtocol] [INFO] got response from 54.173.110.67:6265, adding to router
2015-10-23 14:03:47+0800 [KademliaProtocol] [INFO] got response from 54.174.135.157:6265, adding to router
2015-10-23 14:03:47+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([890614807126505757699337044142921583275402838342L, '66.224.76.153', 6265], [924727175518041273392579383391142746425756275246L, '67.40.22.214', 65150], [1084919742206142636215288634321499654016916107231L, '66.224.76.153', 6265], [1086933888323157572421270913356305295700153194614L, '107.107.62.145', 6648], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [194802659474311695317923651553247153127658587060L, '66.224.76.153', 6265], [210092023987482302086841395587177770163462791532L, '66.224.76.153', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265])
2015-10-23 14:03:52+0800 [-] 'Did not received reply for msg id 4WTSXIcmd8itBeIbto72lE03Hf4= within 5 seconds'
2015-10-23 14:03:52+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-23 14:03:52+0800 [-] 'Did not received reply for msg id NiUFQmtm/bIFM4b8+kh8lxTGtec= within 5 seconds'
2015-10-23 14:03:52+0800 [KademliaProtocol] [DEBUG] no response from 67.40.22.214:65150, removing from router
2015-10-23 14:03:52+0800 [-] 'Did not received reply for msg id 7+h4Okub9KKC321WgXU6O4CtS2w= within 5 seconds'
2015-10-23 14:03:52+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-23 14:03:52+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1086933888323157572421270913356305295700153194614L, '107.107.62.145', 6648], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [194802659474311695317923651553247153127658587060L, '66.224.76.153', 6265], [210092023987482302086841395587177770163462791532L, '66.224.76.153', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265])
2015-10-23 14:03:58+0800 [-] 'Did not received reply for msg id rtgrUQ2kqdL5uT9TksyTBtvs+VE= within 5 seconds'
2015-10-23 14:03:58+0800 [KademliaProtocol] [DEBUG] no response from 107.107.62.145:6648, removing from router
2015-10-23 14:03:58+0800 [-] 'Did not received reply for msg id e/L9KVd3VYvJIyGuFKQNkAUmwR8= within 5 seconds'
2015-10-23 14:03:58+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:40612, removing from router
2015-10-23 14:03:58+0800 [-] 'Did not received reply for msg id yHbn3dY+X1HCRYS/VBE+d1vIuwE= within 5 seconds'
2015-10-23 14:03:58+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:33258, removing from router
2015-10-23 14:03:58+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [194802659474311695317923651553247153127658587060L, '66.224.76.153', 6265], [210092023987482302086841395587177770163462791532L, '66.224.76.153', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265])
2015-10-23 14:04:03+0800 [-] 'Did not received reply for msg id gYby4prypmmg6fy3W9+YB07fjlc= within 5 seconds'
2015-10-23 14:04:03+0800 [KademliaProtocol] [DEBUG] no response from 52.20.98.85:6265, removing from router
2015-10-23 14:04:03+0800 [-] 'Did not received reply for msg id n5st28QEAG+AdPGxI3r4h3Nt1Nk= within 5 seconds'
2015-10-23 14:04:03+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:34798, removing from router
2015-10-23 14:04:03+0800 [-] 'Did not received reply for msg id 8yCOM6DnpT2c5LcsZ4BK1eMqSgo= within 5 seconds'
2015-10-23 14:04:03+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-23 14:04:03+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [210092023987482302086841395587177770163462791532L, '66.224.76.153', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265])
2015-10-23 14:04:08+0800 [-] 'Did not received reply for msg id ZrxsgxTgVZPaIKz3KtnRYdtJlSY= within 5 seconds'
2015-10-23 14:04:08+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-23 14:04:08+0800 [-] 'Did not received reply for msg id 92Za/iEhFNvalikYa0LRDjhA2Uo= within 5 seconds'
2015-10-23 14:04:08+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:41503, removing from router
2015-10-23 14:04:08+0800 [-] 'Did not received reply for msg id Pk0QXNBG8GvypspnrPWVi7n+II4= within 5 seconds'
2015-10-23 14:04:08+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:38838, removing from router
2015-10-23 14:04:08+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265])
2015-10-23 14:04:08+0800 [KademliaProtocol] [INFO] got response from 104.155.218.23:6265, adding to router
2015-10-23 14:04:08+0800 [KademliaProtocol] [INFO] got response from 104.155.218.23:6265, adding to router
2015-10-23 14:04:13+0800 [-] 'Did not received reply for msg id C4fIA5vPKsKDBEOBRQxrqJMFgfg= within 5 seconds'
2015-10-23 14:04:13+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:43241, removing from router
2015-10-23 14:04:13+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265])
2015-10-23 14:04:13+0800 [KademliaProtocol] [INFO] got response from 104.155.218.23:6265, adding to router
2015-10-23 14:04:13+0800 [KademliaProtocol] [INFO] got response from 52.20.194.97:6265, adding to router
2015-10-23 14:04:13+0800 [KademliaProtocol] [INFO] got response from 52.20.194.97:6265, adding to router
2015-10-23 14:04:13+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1317403378990473490301063721376202810783875441830L, '223.255.156.140', 45495], [1421768944429638090187679816024908420303113758871L, '223.255.156.140', 40612], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265])
2015-10-23 14:04:18+0800 [-] 'Did not received reply for msg id vmJnAeijN4eFeqnf9dYoQ8ZXI8U= within 5 seconds'
2015-10-23 14:04:18+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:45495, removing from router
2015-10-23 14:04:18+0800 [-] 'Did not received reply for msg id spLjm4kLVKlh8ZJa1hFqSj8rYeU= within 5 seconds'
2015-10-23 14:04:18+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:37569, removing from router
2015-10-23 14:04:18+0800 [-] 'Did not received reply for msg id NjfeoocOtSg0T0pCaOyUNk2GY8w= within 5 seconds'
2015-10-23 14:04:18+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:45495, removing from router
2015-10-23 14:04:18+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1421768944429638090187679816024908420303113758871L, '223.255.156.140', 40612], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265])
2015-10-23 14:04:23+0800 [-] 'Did not received reply for msg id 5Zf+4iEd640BwHW670nEzQUuMOI= within 5 seconds'
2015-10-23 14:04:23+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:40612, removing from router
2015-10-23 14:04:23+0800 [-] Key result: None
2015-10-23 14:04:23+0800 [KademliaProtocol (UDP)] (UDP Port 6265 Closed)
2015-10-23 14:04:23+0800 [-] Main loop terminated.
Tesla:~ larry$
muneeb-ali commented 9 years ago

Thanks @larrysalibra for the detailed log. Looking into it.

muneeb-ali commented 9 years ago

Looks like there is a partition on the DHT nodes right now. The nodes that our resolver is talking to have the data hash (that's why https://onename.com/larry shows properly) and the larger partition doesn't have the data hash. I'm traveling and didn't get to spend enough time on it. Will post more details + a fix later.

ghost commented 9 years ago

Not sure if this is related, but it seems new registrations are taking a very long time to process. When I registered +justinguy it took about three or four days, and going from twitter it seems the same is still happening. For example:

https://onename.com/carlossepulveda https://onename.com/jefflaplante https://onename.com/pks https://onename.com/amgrice https://onename.com/ryancragun https://onename.com/adamleff

Just grabbing these from Twitter.

muneeb-ali commented 9 years ago

Thanks for reporting. This is a separate issue related to chains https://github.com/bitcoin/bitcoin/pull/6771 and we're working on a new implementation that doesn't chain transactions. Should be resolved soon.

ghost commented 9 years ago

Awesome @muneeb-ali, you guys rock.

muneeb-ali commented 9 years ago

I looked more into this and the culprit seems to be an actual network partition that happened earlier. The DHT mirror/nodes that Onename's registrar is using ended up getting disconnected from the rest of the network briefly, the DHT nodes dropped the nodes they couldn't reach from their routing tables, and didn't add them back once the underlying network partition went away. Which seems to suggest that the network partition lasted for a while (although I don't have data on this).

There are two things, we can do to stop this problem from recurring:

1) Periodically, refresh <key, value> pairs from mirrors to the DHT. Note that the kademlia implementation that we're using has support for republishing data, but doesn't do it by default. We need to trigger the refresh every 24 hours at least and not only republish keys in-between DHT nodes but also from external mirrors.

2) If a DHT node gets disconnected from the rest of the network, it should try to bootstrap again using the discovery servers.

I'm not discussing the corner case where the discovery servers end up on a separate partition. We can monitor for this case as well. The goal here is not to avoid network partitions (they will happen at the network layer anyway), but to successfully recover from them after the underlying partition goes away.

The republishing is going on right now and when it finishes, I'll test the network again.

ghost commented 9 years ago

@muneeb-ali Will we need to do anything special on our running Blockstore nodes, or just wait for your republishing?

muneeb-ali commented 9 years ago

Just wait for the republishing. It's going to take a couple of hours. Republishing around 35,000 entries and I am throttling the calls at 5 seconds between each call.

ghost commented 9 years ago

Sounds good, thanks.

larrysalibra commented 9 years ago

@muneeb-ali ~ 8 hours later. still getting errors on my profile on both of my nodes. Any tips on diagnosing the DHT and making sure it's connected to the main network?

larry@blockchain-id-node:~$ ./blockstore-client/bin/blockstore-cli lookup larry.id
[ERROR] [storage:314] timed out
Traceback (most recent call last):
  File "/home/larry/blockstore-client/blockstore_client/storage.py", line 312, in get_immutable_data
    data = handler.get_immutable_handler( data_key )
  File "/home/larry/blockstore-client/blockstore_client/drivers/dht.py", line 151, in get_immutable_handler
    return dht_get_key(key)
  File "/home/larry/blockstore-client/blockstore_client/drivers/dht.py", line 101, in dht_get_key
    ret = dht_server.get( data_key )
  File "/usr/local/lib/python2.7/dist-packages/basicrpc/basicrpc.py", line 46, in default
    return self.request()
  File "/usr/local/lib/python2.7/dist-packages/basicrpc/basicrpc.py", line 82, in request
    c = self.sock.recv(1)
timeout: timed out
[ERROR] [client:279] Failed to load user record '3ffe2c8bfd911ff17acc1b1db49c6f3e698f3c65'
{
    "error": "User data could not be loaded from storage"
}
larry@blockchain-id-node:~$ 

Using same test script again:

Tesla:~ larry$ cat dht.py 
from twisted.internet import reactor
from twisted.python import log
from kademlia.network import Server
import sys

# log to std out
log.startLogging(sys.stdout)

def quit(result):
    print "Key result:", result
    reactor.stop()

def done(found, server):
    log.msg("Found nodes: %s" % found)
    return server.get("3ffe2c8bfd911ff17acc1b1db49c6f3e698f3c65").addCallback(quit)

server = Server()

server.listen(6265)

#server.bootstrap([('104.155.218.23', 6265)]).addCallback(done, server)

# dht.blockstack.org
server.bootstrap([('54.173.110.67', 6265)]).addCallback(done, server)
reactor.run()
Tesla:~ larry$

Results in:

Tesla:~ larry$ python dht.py 
2015-10-30 14:11:07+0800 [-] Log opened.
2015-10-30 14:11:07+0800 [-] KademliaProtocol starting on 6265
2015-10-30 14:11:07+0800 [NodeSpiderCrawl] [INFO] creating spider with peers: [[263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265]]
2015-10-30 14:11:07+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265],)
2015-10-30 14:11:07+0800 [KademliaProtocol] [INFO] got response from 54.173.110.67:6265, adding to router
2015-10-30 14:11:07+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265])
2015-10-30 14:11:08+0800 [KademliaProtocol] [INFO] got response from 52.20.194.97:6265, adding to router
2015-10-30 14:11:08+0800 [KademliaProtocol] [INFO] got response from 45.55.153.75:6265, adding to router
2015-10-30 14:11:08+0800 [KademliaProtocol] [INFO] got response from 52.20.194.97:6265, adding to router
2015-10-30 14:11:08+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1259038568525361283473554621532904767523083205161L, '52.18.253.33', 6265], [1203810002989754458895915651361892640996405638235L, '52.18.253.33', 1234], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265])
2015-10-30 14:11:08+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:13+0800 [-] 'Did not received reply for msg id v7mm92Lr5TpTFfr5HwlAT9yZj6w= within 5 seconds'
2015-10-30 14:11:13+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:34798, removing from router
2015-10-30 14:11:13+0800 [-] 'Did not received reply for msg id T4ZaJPtyMzhDvB/lLD9m8K1xN28= within 5 seconds'
2015-10-30 14:11:13+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:33258, removing from router
2015-10-30 14:11:13+0800 [-] 'Did not received reply for msg id n5ZruyUQhvtG9F4qYvyPwNCs91k= within 5 seconds'
2015-10-30 14:11:13+0800 [KademliaProtocol] [DEBUG] no response from 52.20.98.85:6265, removing from router
2015-10-30 14:11:13+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1259038568525361283473554621532904767523083205161L, '52.18.253.33', 6265], [1203810002989754458895915651361892640996405638235L, '52.18.253.33', 1234], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265])
2015-10-30 14:11:13+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:13+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:14+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:15+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:15+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:15+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:16+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:16+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:16+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:17+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:17+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:17+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:18+0800 [-] 'Did not received reply for msg id oEcqAALQlXyc96uexloMheSUwoY= within 5 seconds'
2015-10-30 14:11:18+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:41503, removing from router
2015-10-30 14:11:18+0800 [-] 'Did not received reply for msg id e93wI+RUBPWDu5CiS4cQswnhQdw= within 5 seconds'
2015-10-30 14:11:18+0800 [KademliaProtocol] [DEBUG] no response from 104.155.218.23:6265, removing from router
2015-10-30 14:11:18+0800 [-] 'Did not received reply for msg id AHBZdLEUyMEwCA9ZUnqfT+aol4I= within 5 seconds'
2015-10-30 14:11:18+0800 [KademliaProtocol] [DEBUG] no response from 104.155.218.23:6265, removing from router
2015-10-30 14:11:18+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1259038568525361283473554621532904767523083205161L, '52.18.253.33', 6265], [1203810002989754458895915651361892640996405638235L, '52.18.253.33', 1234], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265])
2015-10-30 14:11:19+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:20+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:22+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:22+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:22+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:22+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:22+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:22+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:23+0800 [-] 'Did not received reply for msg id 89GS9pR2YvCsxOvFqSeHhTeL66M= within 5 seconds'
2015-10-30 14:11:23+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:43241, removing from router
2015-10-30 14:11:23+0800 [-] 'Did not received reply for msg id ENFeyBYCRz42a3tKKG9YoPikB6w= within 5 seconds'
2015-10-30 14:11:23+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:38838, removing from router
2015-10-30 14:11:23+0800 [-] 'Did not received reply for msg id WbSwvATKGCgi0K+cR5VYNmK39gQ= within 5 seconds'
2015-10-30 14:11:23+0800 [KademliaProtocol] [DEBUG] no response from 104.155.206.4:6265, removing from router
2015-10-30 14:11:23+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1259038568525361283473554621532904767523083205161L, '52.18.253.33', 6265], [1203810002989754458895915651361892640996405638235L, '52.18.253.33', 1234], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265])
2015-10-30 14:11:23+0800 [KademliaProtocol] [INFO] got response from 104.199.137.42:6265, adding to router
2015-10-30 14:11:24+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:24+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:25+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:25+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:25+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:25+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:27+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:27+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:27+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:28+0800 [-] 'Did not received reply for msg id YES8F7eaY3dQd24mmUbmNumOiQI= within 5 seconds'
2015-10-30 14:11:28+0800 [KademliaProtocol] [DEBUG] no response from 104.155.218.23:6265, removing from router
2015-10-30 14:11:28+0800 [-] 'Did not received reply for msg id 226WY39qrKqnKReNTAkiBNR1R3k= within 5 seconds'
2015-10-30 14:11:28+0800 [KademliaProtocol] [DEBUG] no response from 104.155.218.23:6265, removing from router
2015-10-30 14:11:28+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1259038568525361283473554621532904767523083205161L, '52.18.253.33', 6265], [1203810002989754458895915651361892640996405638235L, '52.18.253.33', 1234], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265])
2015-10-30 14:11:30+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:30+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:30+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:31+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:31+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:31+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:32+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:32+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:32+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:32+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:32+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:33+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:33+0800 [-] 'Did not received reply for msg id qzba6xjQYNgZU4szBvsiz4EBED0= within 5 seconds'
2015-10-30 14:11:33+0800 [KademliaProtocol] [DEBUG] no response from 52.18.253.33:6265, removing from router
2015-10-30 14:11:33+0800 [-] 'Did not received reply for msg id uviTAccDAOClZmFS4MxiXMuv27k= within 5 seconds'
2015-10-30 14:11:33+0800 [KademliaProtocol] [DEBUG] no response from 52.18.253.33:6265, removing from router
2015-10-30 14:11:33+0800 [-] 'Did not received reply for msg id hxHQjRcqRO7FmFbjGY2sOnfV+0c= within 5 seconds'
2015-10-30 14:11:33+0800 [KademliaProtocol] [DEBUG] no response from 52.18.253.33:1234, removing from router
2015-10-30 14:11:33+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265])
2015-10-30 14:11:33+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:33+0800 [KademliaProtocol] [INFO] got response from 104.199.137.42:6265, adding to router
2015-10-30 14:11:33+0800 [KademliaProtocol] [INFO] got response from 45.55.153.75:6265, adding to router
2015-10-30 14:11:33+0800 [KademliaProtocol] [INFO] got response from 54.174.135.157:6265, adding to router
2015-10-30 14:11:33+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [306100670128365347393353372101353333020183778172L, '67.40.22.214', 49483], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [194802659474311695317923651553247153127658587060L, '66.224.76.153', 6265], [210092023987482302086841395587177770163462791532L, '66.224.76.153', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [524304497125028743529480663343069827727348339367L, '67.40.22.214', 49483], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265])
2015-10-30 14:11:35+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:35+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:35+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:35+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:35+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:36+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:36+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:36+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:36+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:36+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:38+0800 [-] 'Did not received reply for msg id Rw1/pxn3qRBfrPvYvoK3lAiif/o= within 5 seconds'
2015-10-30 14:11:38+0800 [KademliaProtocol] [DEBUG] no response from 67.40.22.214:49483, removing from router
2015-10-30 14:11:38+0800 [-] 'Did not received reply for msg id 8PxjB4mZma9ap54t5KfXgyQ8XrA= within 5 seconds'
2015-10-30 14:11:38+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-30 14:11:38+0800 [-] 'Did not received reply for msg id t6V0zHOQOQ+2aojQUs+xMo4Srps= within 5 seconds'
2015-10-30 14:11:38+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-30 14:11:38+0800 [NodeSpiderCrawl] [INFO] crawling with nearest: ([163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [524304497125028743529480663343069827727348339367L, '67.40.22.214', 49483], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265])
2015-10-30 14:11:38+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:38+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:39+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:40+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:41+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:41+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:42+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:42+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:42+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:42+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:42+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:43+0800 [-] 'Did not received reply for msg id LXPNj3ZB3pplBH27vBpmbu+tapA= within 5 seconds'
2015-10-30 14:11:43+0800 [KademliaProtocol] [DEBUG] no response from 67.40.22.214:49483, removing from router
2015-10-30 14:11:43+0800 [-] Found nodes: [[163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [75809947463606500273934547456494798326114296706L, '223.255.156.140', 33258], [22276587767708016236401366607581756853051568354L, '52.20.98.85', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [478272204075027891031228113295613243310617955810L, '223.255.156.140', 43241], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265]]
2015-10-30 14:11:43+0800 [ValueSpiderCrawl] [INFO] creating spider with peers: [[1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265]]
2015-10-30 14:11:43+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265])
2015-10-30 14:11:43+0800 [KademliaProtocol] [INFO] got response from 104.199.137.42:6265, adding to router
2015-10-30 14:11:43+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:43+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:43+0800 [KademliaProtocol] [INFO] got response from 45.55.153.75:6265, adding to router
2015-10-30 14:11:43+0800 [KademliaProtocol] [INFO] got response from 54.174.135.157:6265, adding to router
2015-10-30 14:11:43+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([840430724339336700938815979732382907187011698265L, '54.174.193.229', 6265], [890614807126505757699337044142921583275402838342L, '66.224.76.153', 6265], [767273290156399014217790833244130594423394562158L, '223.255.156.140', 34104], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1084919742206142636215288634321499654016916107231L, '66.224.76.153', 6265], [1086933888323157572421270913356305295700153194614L, '107.107.62.145', 6648], [924727175518041273392579383391142746425756275246L, '67.40.22.214', 65150], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265])
2015-10-30 14:11:43+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:44+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:44+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:44+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:44+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:45+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:46+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:46+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:46+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:47+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:47+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:47+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:48+0800 [-] 'Did not received reply for msg id LJmg1WcEz9pob6jcQOfFgY11fAs= within 5 seconds'
2015-10-30 14:11:48+0800 [KademliaProtocol] [DEBUG] no response from 54.174.193.229:6265, removing from router
2015-10-30 14:11:48+0800 [-] 'Did not received reply for msg id YuTeTec92GXFHlyEZNU1tp+k3Ws= within 5 seconds'
2015-10-30 14:11:48+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-30 14:11:48+0800 [-] 'Did not received reply for msg id IV6+MWnsWiN7ZZGJPtPp07kdhLQ= within 5 seconds'
2015-10-30 14:11:48+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:34104, removing from router
2015-10-30 14:11:48+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [1084919742206142636215288634321499654016916107231L, '66.224.76.153', 6265], [1086933888323157572421270913356305295700153194614L, '107.107.62.145', 6648], [924727175518041273392579383391142746425756275246L, '67.40.22.214', 65150], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265])
2015-10-30 14:11:49+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:49+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:49+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:49+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:50+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:51+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:52+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:52+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:52+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:53+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:53+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:53+0800 [-] 'Did not received reply for msg id GJpZQmr3aVDTwyyPhTWfIYGB+OM= within 5 seconds'
2015-10-30 14:11:53+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:40612, removing from router
2015-10-30 14:11:53+0800 [-] 'Did not received reply for msg id FfaPHZp+QtPYfrD5PP9qOsfWCx4= within 5 seconds'
2015-10-30 14:11:53+0800 [KademliaProtocol] [DEBUG] no response from 66.224.76.153:6265, removing from router
2015-10-30 14:11:53+0800 [-] 'Did not received reply for msg id jjFO072e66MZJcXCEiIkAKg20EE= within 5 seconds'
2015-10-30 14:11:53+0800 [KademliaProtocol] [DEBUG] no response from 107.107.62.145:6648, removing from router
2015-10-30 14:11:53+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([924727175518041273392579383391142746425756275246L, '67.40.22.214', 65150], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265])
2015-10-30 14:11:54+0800 [KademliaProtocol] [INFO] got response from 45.55.153.75:6265, adding to router
2015-10-30 14:11:54+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:54+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:54+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:55+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:55+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:55+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:57+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:57+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:57+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:57+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:58+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:58+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:11:58+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:58+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:11:58+0800 [-] 'Did not received reply for msg id Y8fu+LowSFHpX7dKHDn5yR3Xm/U= within 5 seconds'
2015-10-30 14:11:58+0800 [KademliaProtocol] [DEBUG] no response from 67.40.22.214:65150, removing from router
2015-10-30 14:11:58+0800 [-] 'Did not received reply for msg id Yrp2/ot84Xdut+cf6RylioeiQT8= within 5 seconds'
2015-10-30 14:11:58+0800 [KademliaProtocol] [DEBUG] no response from 52.18.253.33:6265, removing from router
2015-10-30 14:11:58+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [163324108140964769967143268783780171344509651179L, '223.255.156.140', 34798], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [327310079663102192756326372947437519945655981160L, '223.255.156.140', 41503], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265])
2015-10-30 14:11:59+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:00+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:01+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:01+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:01+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:01+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:01+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:01+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:02+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:03+0800 [-] 'Did not received reply for msg id jpoATxuw788O8rkhCsY0UoW76sg= within 5 seconds'
2015-10-30 14:12:03+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:34798, removing from router
2015-10-30 14:12:03+0800 [-] 'Did not received reply for msg id CcBsKrnbzdiCZgFLzAKPKOHL6UY= within 5 seconds'
2015-10-30 14:12:03+0800 [KademliaProtocol] [DEBUG] no response from 104.155.218.23:6265, removing from router
2015-10-30 14:12:03+0800 [-] 'Did not received reply for msg id +ILUCI3r/m6YYGGMZUzqC90HmTs= within 5 seconds'
2015-10-30 14:12:03+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:41503, removing from router
2015-10-30 14:12:03+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [512936328250375979577283758777090421650720275253L, '104.155.218.23', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265])
2015-10-30 14:12:04+0800 [KademliaProtocol] [INFO] got response from 52.20.194.97:6265, adding to router
2015-10-30 14:12:04+0800 [KademliaProtocol] [INFO] got response from 54.173.110.67:6265, adding to router
2015-10-30 14:12:04+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:04+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:05+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:06+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:06+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:07+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:08+0800 [-] 'Did not received reply for msg id +L2gDpFrz7TqQe65ROaXzPt0+VU= within 5 seconds'
2015-10-30 14:12:08+0800 [KademliaProtocol] [DEBUG] no response from 104.155.218.23:6265, removing from router
2015-10-30 14:12:08+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([840430724339336700938815979732382907187011698265L, '54.174.193.229', 6265], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1203810002989754458895915651361892640996405638235L, '52.18.253.33', 1234], [1259038568525361283473554621532904767523083205161L, '52.18.253.33', 6265], [1241735123296695426277666495572851368457505203642L, '54.174.193.229', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [1402349214022427150692420789722661485154521852311L, '223.255.156.140', 34104], [1371091342178543245265851309140411360681202389812L, '52.18.253.33', 6265], [1421768944429638090187679816024908420303113758871L, '223.255.156.140', 40612], [1317403378990473490301063721376202810783875441830L, '223.255.156.140', 45495], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265])
2015-10-30 14:12:08+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:09+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:10+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:10+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:10+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:10+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:11+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:11+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:11+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:12+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:12+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:12+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:13+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:13+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:13+0800 [-] 'Did not received reply for msg id 8TxgVsrUoCyjme8xZNuv3lKVoHo= within 5 seconds'
2015-10-30 14:12:13+0800 [KademliaProtocol] [DEBUG] no response from 52.18.253.33:1234, removing from router
2015-10-30 14:12:13+0800 [-] 'Did not received reply for msg id 8n0+KKh5G2BMUoWqFLECJs2WhD0= within 5 seconds'
2015-10-30 14:12:13+0800 [KademliaProtocol] [DEBUG] no response from 52.18.253.33:6265, removing from router
2015-10-30 14:12:13+0800 [-] 'Did not received reply for msg id 4xwx/4briyXKF/PhEkW9q+TeMCg= within 5 seconds'
2015-10-30 14:12:13+0800 [KademliaProtocol] [DEBUG] no response from 54.174.193.229:6265, removing from router
2015-10-30 14:12:13+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([840430724339336700938815979732382907187011698265L, '54.174.193.229', 6265], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [1402349214022427150692420789722661485154521852311L, '223.255.156.140', 34104], [1371091342178543245265851309140411360681202389812L, '52.18.253.33', 6265], [1421768944429638090187679816024908420303113758871L, '223.255.156.140', 40612], [1317403378990473490301063721376202810783875441830L, '223.255.156.140', 45495], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265])
2015-10-30 14:12:13+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:14+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:14+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:15+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:15+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:15+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:15+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:16+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:16+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:17+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:17+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:17+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:17+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:18+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:18+0800 [-] 'Did not received reply for msg id dSgNXs6FHPkYKNfE6DtGR86DRAM= within 5 seconds'
2015-10-30 14:12:18+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:34104, removing from router
2015-10-30 14:12:18+0800 [-] 'Did not received reply for msg id iZcc6IYtdwmvksp4RjRf2blhJdM= within 5 seconds'
2015-10-30 14:12:18+0800 [KademliaProtocol] [DEBUG] no response from 52.18.253.33:6265, removing from router
2015-10-30 14:12:18+0800 [-] 'Did not received reply for msg id fZMkDKJJZtqHy5baGHNHJ43lWfY= within 5 seconds'
2015-10-30 14:12:18+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:40612, removing from router
2015-10-30 14:12:18+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([840430724339336700938815979732382907187011698265L, '54.174.193.229', 6265], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [1317403378990473490301063721376202810783875441830L, '223.255.156.140', 45495], [1361991927611078974777605643099257463817585466333L, '223.255.156.140', 37569], [1331309921317127183120961918548368392883047304749L, '223.255.156.140', 45495], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265])
2015-10-30 14:12:18+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:19+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:19+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:20+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:21+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:21+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:22+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:22+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:22+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:23+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:23+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:23+0800 [-] 'Did not received reply for msg id nDzeVVw4ws/a02uPg0mOnOsH+0o= within 5 seconds'
2015-10-30 14:12:23+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:45495, removing from router
2015-10-30 14:12:23+0800 [-] 'Did not received reply for msg id FZXRvDorbjDkX7SBtobPYCcFVzg= within 5 seconds'
2015-10-30 14:12:23+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:37569, removing from router
2015-10-30 14:12:23+0800 [-] 'Did not received reply for msg id 5i/ebyUrShE2TNQHyK+T3sO11gw= within 5 seconds'
2015-10-30 14:12:23+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:45495, removing from router
2015-10-30 14:12:23+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([840430724339336700938815979732382907187011698265L, '54.174.193.229', 6265], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [408903927559027035752445704195901708569195575486L, '104.155.218.23', 6265], [442949103255052608688492547989104582797834809109L, '104.155.206.4', 6265], [416883159974394495184082856117887533763803224083L, '223.255.156.140', 38838], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265])
2015-10-30 14:12:24+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:24+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:24+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:24+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:25+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:25+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:25+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:26+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:27+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:27+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:28+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:28+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:28+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:28+0800 [-] 'Did not received reply for msg id JdNtyCxofJHZC/Z/I2U06gx40q8= within 5 seconds'
2015-10-30 14:12:28+0800 [KademliaProtocol] [DEBUG] no response from 104.155.218.23:6265, removing from router
2015-10-30 14:12:28+0800 [-] 'Did not received reply for msg id aY4AHmkv/fxJrgzPYxSuMuTcglM= within 5 seconds'
2015-10-30 14:12:28+0800 [KademliaProtocol] [DEBUG] no response from 104.155.206.4:6265, removing from router
2015-10-30 14:12:28+0800 [-] 'Did not received reply for msg id dSP6UyzOxUBKGV+2DF8v5f8JWOM= within 5 seconds'
2015-10-30 14:12:28+0800 [KademliaProtocol] [DEBUG] no response from 223.255.156.140:38838, removing from router
2015-10-30 14:12:28+0800 [ValueSpiderCrawl] [INFO] crawling with nearest: ([840430724339336700938815979732382907187011698265L, '54.174.193.229', 6265], [1028851245423848810910339575257678424496081813568L, '223.255.156.140', 40612], [974120481622518621164330561850778069283160155299L, '52.18.253.33', 6265], [1212202578325659022638404578138192823282985058834L, '54.174.135.157', 6265], [1177832755020685405191751763743365824303715543031L, '45.55.153.75', 6265], [1408864210958888929903585343931115914324927497069L, '104.199.137.42', 6265], [126507991560576170912445443389571335956623482111L, '45.55.153.75', 6265], [333461025260932935415043673814972333746726539411L, '104.155.218.23', 6265], [263249755102705336534385640888110239692735563928L, '54.173.110.67', 6265], [478991552955686315137479360805706512263202274430L, '52.20.194.97', 6265], [704150276182964471193648795035255670539598999201L, '52.20.194.97', 6265], [706220075729159412955013480944556163819485344889L, '104.199.137.42', 6265], [588163021622496524659705981044972238422227893367L, '104.155.218.23', 6265])
2015-10-30 14:12:28+0800 [KademliaProtocol] [INFO] got response from 104.199.137.42:6265, adding to router
2015-10-30 14:12:28+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:29+0800 [KademliaProtocol] [INFO] got response from 52.20.194.97:6265, adding to router
2015-10-30 14:12:29+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:29+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:29+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:32+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:32+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:32+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:33+0800 [KademliaProtocol] [INFO] finding neighbors of 126507991560576170912445443389571335956623482111 in local table
2015-10-30 14:12:33+0800 [KademliaProtocol] [DEBUG] got a store request from ('45.55.153.75', 6265), storing value
2015-10-30 14:12:33+0800 [-] 'Did not received reply for msg id dTJAUCrn/ubWGevN3f7QOkYKb+o= within 5 seconds'
2015-10-30 14:12:33+0800 [KademliaProtocol] [DEBUG] no response from 104.155.218.23:6265, removing from router
2015-10-30 14:12:33+0800 [-] Key result: None
2015-10-30 14:12:33+0800 [KademliaProtocol (UDP)] (UDP Port 6265 Closed)
2015-10-30 14:12:33+0800 [-] Main loop terminated.
Tesla:~ larry$
larrysalibra commented 9 years ago

@muneeb-ali

1) Periodically, refresh pairs from mirrors to the DHT. Note that the kademlia implementation that we're using has support for republishing data, but doesn't do it by default. We need to trigger the refresh every 24 hours at least and not only republish keys in-between DHT nodes but also from external mirrors.

Is that something every DHT mirror should do?

2) If a DHT node gets disconnected from the rest of the network, it should try to bootstrap again using the discovery servers.

How does the DHT implementation know which partition is the "right" network? How does one monitor ending up on the wrong network or disconnected from the main network?

muneeb-ali commented 9 years ago

For refreshing, it is something that every node should do periodically. Nodes periodically re-publishing data is standard practice in DHTs. Mirrors can (and probably should) also do this. Practically, mirrors doing the re-publishing might be better for reliability IMO.

Re partition: There is no right or wrong partition. The DHT is content-based meaning for any value, the hash(value) is the key. So a <hash(value), value> pair is either in the DHT or it's not.

So if there are two partitions, say A and B. Then sum(A + B) = total data. Some of the records might be in both partitions and it's OK to re-publish them because there is no "wrong" value that you can write.

larrysalibra commented 9 years ago

Thanks @muneeb-ali - I republished my profile with this:

import json
import sys
import urllib2

from pybitcoin import hex_hash160
from twisted.internet import reactor
from twisted.python import log
from kademlia.network import Server

profile = json.load(urllib2.urlopen("https://onename.com/larry.json"))
hash = hex_hash160(json.dumps(profile, sort_keys=True))
value = json.dumps(profile, sort_keys=True)

# log to std out
log.startLogging(sys.stdout)

def quit(result):
    print "Key result:", result
    reactor.stop()

def done(found, server):
    log.msg("Found nodes: %s" % found)
    return server.set(hash,value).addCallback(quit)

server = Server()

server.listen(6265)

# dht.blockstack.org
server.bootstrap([('54.173.110.67', 6265)]).addCallback(done, server)
reactor.run()
muneeb-ali commented 9 years ago

@larrysalibra: I just ran your script and it is returning your profile

2015-10-30 16:59:53-0700 [KademliaProtocol] [INFO] got response from 54.174.135.157:6265, adding to router
2015-10-30 16:59:53-0700 [KademliaProtocol] [INFO] got response from 45.55.153.75:6265, adding to router
2015-10-30 16:59:53-0700 [KademliaProtocol] [INFO] got response from 45.55.153.75:6265, adding to router
2015-10-30 16:59:53-0700 [-] Key result: {"angellist": {"username": "larry-salibra"}, "avatar": {"url": "https://s3.amazonaws.com/kd4/larry"}, "bio": "Blockchain, software, security. Decentralize the world (w/ #bitcoin)! \u8b58\u4e2d\u6587 Founder: http://pay4bugs.com  http://nametiles.co", "bitcoin": {"address": "1EyuZ8qxdhHjcnTChwQLyQaN3cmdK55DkH"}, "cover": {"url": "https://s3.amazonaws.com/dx3/larry"}, "facebook": {"proof": {"url": "https://facebook.com/larry.salibra/posts/10100110892277823"}, "username": "larry.salibra"}, "github": {"proof": {"url": "https://gist.github.com/larrysalibra/510cc3fe4386f811b5bf"}, "username": "larrysalibra"}, "graph": {"url": "https://s3.amazonaws.com/grph/larry"}, "instagram": {"username": "larrysalibra"}, "linkedin": {"url": "http://www.linkedin.com/in/larrysalibra"}, "location": {"formatted": "Hong Kong"}, "name": {"formatted": "Larry Salibra"}, "pgp": {"fingerprint": "B516CB7A08819697B25E4694DE3B5425164C4849", "url": "http://pgp.mit.edu/pks/lookup?op=get&search=0xDE3B5425164C4849"}, "twitter": {"proof": {"url": "https://twitter.com/larrysalibra/status/492049735935459328"}, "username": "larrysalibra"}, "v": "0.2", "website": "https://www.larrysalibra.com"}```
ghost commented 9 years ago

I tested through a bunch of IDs and everything looks great. Closing issue, thanks for the fix @muneeb-ali .