-
Notifications
You must be signed in to change notification settings - Fork 2
Internal error after a few hours #48
Comments
@blockcloud what is the exact error? Can you provide a test with reproduction steps? |
@mariosk I receive the block data through the "BlockExplorer" like this
Last few times I get the "Internal error".
|
@mariosk There is also an error like below:
|
@blockcloud it seems to me that both of the problems you see are network (blockchain.info) issues that maybe shown during high load or something. @RayXY any other ideas? |
@blockcloud you could keep track of the blockheight you have downloaded so far and if such an error occurs, sleep for 3 seconds and retry for the last blockheight. Does it make sense? |
@mariosk I have tried your suggestion, finally it works. Thank you. |
@blockcloud I have no idea what else could be done to retrieve all the data. I suspect that this is done because the blockchain.info server has a rate limiting enabled and may drop the connections. Can you try to sleep 200ms between the requests? |
@mariosk Thank you for your sugguestion. I will try it to see if it could be faster. |
I use the api to store the bitcoin data to the relation database, but when it works for few hours(almost three), there will be an error. I don't know why this happens? Is there anyone get the save problem?
The text was updated successfully, but these errors were encountered: