neodix42 / MyLocalTon

Personal local TON blockchain
GNU General Public License v3.0
119 stars 20 forks source link

Running myLocalTon with openton API #36

Open dkatzan opened 3 months ago

dkatzan commented 3 months ago

Hi, not sure if this is a localton issue or openton issue

I have a running localton, and I'm trying to also run opentonapi with it https://github.com/tonkeeper/opentonapi

I'm setting the litesetver env var to point to my running localton and when running it getting these errors constantly:

based on the logs I see, it looks like there is some connection, since the seqno of the block are the ones being currently issued by the localton, but it failing to apply them?

thx

{"level":"error","ts":1723543573.128525,"caller":"indexer/indexer.go:64","msg":"failed to get next chunk","error":"error code: 651 message: block (0,c000000000000000,252) is not applied (possibly out of sync: shard_client_seqno=250 ls_seqno=250)\nerror code: 651 message: block (0,4000000000000000,248) is not applied (possibly out of sync: shard_client_seqno=250 ls_seqno=250)","stacktrace":"github.com/tonkeeper/opentonapi/pkg/blockchain/indexer.(*Indexer).Run\n\t/opentonapi/pkg/blockchain/indexer/indexer.go:64"}
{"level":"error","ts":1723543586.7695994,"caller":"indexer/indexer.go:64","msg":"failed to get next chunk","error":"error code: 651 message: cannot find block (-1,8000000000000000) seqno=259: block (-1,8000000000000000,259):E651CD5C49355178CD246F4F77AACE5D6879F7A9E8F60482627589D49C291211:1EC2D271D79AC9E6AED14F065193EA1E8EA10CA0806766A41F89110AD9D9232D is not applied (last known masterchain block: 258)","stacktrace":"github.com/tonkeeper/opentonapi/pkg/blockchain/indexer.(*Indexer).Run\n\t/opentonapi/pkg/blockchain/indexer/indexer.go:64"}
{"level":"error","ts":1723543589.4475331,"caller":"indexer/indexer.go:64","msg":"failed to get next chunk","error":"error code: 651 message: block (0,4000000000000000,258) is not applied (possibly out of sync: shard_client_seqno=260 ls_seqno=260)\nerror code: 651 message: block (0,c000000000000000,262) is not applied (possibly out of sync: shard_client_seqno=260 ls_seqno=260)","stacktrace":"github.com/tonkeeper/opentonapi/pkg/blockchain/indexer.(*Indexer).Run\n\t/opentonapi/pkg/blockchain/indexer/indexer.go:64"}
{"level":"error","ts":1723543598.159781,"caller":"indexer/indexer.go:64","msg":"failed to get next chunk","error":"error code: 651 message: cannot find block (-1,8000000000000000) seqno=267: block (-1,8000000000000000,267):29509003258644E836FD2DF5F0DE458E74D77E10E875E51BA2B8232DEE43A8E9:C0B15BC967548724B2E3AA60758398314464FE9CE6C03C670DE3774B1AEBC520 is not applied (last known masterchain block: 266)","stacktrace":"github.com/tonkeeper/opentonapi/pkg/blockchain/indexer.(*Indexer).Run\n\t/opentonapi/pkg/blockchain/indexer/indexer.go:64"}
neodix42 commented 2 months ago

I will try to reproduce it and get back to you.

neodix42 commented 3 weeks ago

Could you please check if you still have this issue with MyLocalTon of v124?