Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to local Liteserver #133

Open
jamescarter-le opened this issue Sep 15, 2024 · 5 comments
Open

Cannot connect to local Liteserver #133

jamescarter-le opened this issue Sep 15, 2024 · 5 comments

Comments

@jamescarter-le
Copy link

I have a local archive node running liteserver, on IP 192.168.1.122.

Bashing into the ton-http-api container I can ping this address.

I have my mainnet.json configured to only use this liteserver:

"liteservers": [
        {
            "ip": 3232235898,
            "port": 6074,

But when trying to execute any operation (try simple one like getMasterchainInfo) I get error:
No working liteservers with ls_index=None, archival=None

Has anyone experienced this before?

Logs/call stack are not useful:

2024-09-15 11:39:39.038 | ERROR    | pyTON.manager:check_children_alive:232 - TonlibWorker #000 is dead!!! Exit code: -4
2024-09-15 11:39:39.034 | ERROR    | pyTON.manager:check_children_alive:232 - TonlibWorker #000 is dead!!! Exit code: -4
2024-09-15 11:39:39.046 | INFO     | pyTON.manager:read_results:184 - Task read_results from TonlibWorker #000 was cancelled
2024-09-15 11:39:39.046 | INFO     | pyTON.manager:read_results:184 - Task read_results from TonlibWorker #000 was cancelled
2024-09-15 11:42:48.689 | WARNING  | pyTON.manager:select_worker:264 - Required number of workers is not reached: found 0 of 1
[2024-09-15 11:42:48 +0000] [8] [ERROR] Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/uvicorn/protocols/http/h11_impl.py", line 366, in run_asgi
    result = await app(self.scope, self.receive, self.send)
@jonathanudd
Copy link

jonathanudd commented Oct 16, 2024

I think I have the same or a similar issue but for a testnet archive node. I also tried to follow these instructions even though it's not a solution for me since I intend to provide an archive node but with the same result.

@jamescarter-le did you ever solve this?

I enabled debug logging in the .env file and this is my logs after that.

[ 4][t 1][2024-10-16 08:39:22.308290191][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:4] sync {
}
[ 1][t 1][2024-10-16 08:39:22.308324501][adnl-ext-connection.cpp:129][!outconn]	Client got error [PosixError : Connection refused : 111 : Error on [fd:30]]
[ 4][t 2][2024-10-16 08:39:22.308407311][ExtClient.h:93][!LastBlock][&lite_server res.is_error()]	got error from liteserver: 1343808223 [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:22.308535851][LastBlock.cpp:260][!LastBlock][&last_block]	get_masterchain_info: error [Error : 500 : LITE_SERVER_NETWORK]
[ 2][t 2][2024-10-16 08:39:22.308540231][LastBlock.cpp:261][!LastBlock]	Failed liteServer_getMasterchainInfo [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:22.308543861][LastBlock.cpp:369][!LastBlock][&last_block]	sync: error [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 0][2024-10-16 08:39:22.308298101][Client.cpp:84][&tonlib_requests]	End to wait for updates, returning object 0 0x7f66b800d200
[ 0][t 1][2024-10-16 08:39:22.308566171][Status.h:559][!Tonlib][&status_.is_ok()]	[Error : 500 : LITE_SERVER_NETWORK]
2024-10-16 08:39:23.290 | ERROR    | pyTON.manager:check_children_alive:232 - TonlibWorker #000 is dead!!! Exit code: -6
2024-10-16 08:39:23.295 | INFO     | pyTON.manager:read_results:184 - Task read_results from TonlibWorker #000 was cancelled
[ 4][t 1][2024-10-16 08:39:23.301290404][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:1] init {
  options = options {
    config = config {
      config = "{"liteservers": [{"ip": 2130706433, "port": 17353, "id": {"@type": "pub.ed25519", "key": "Xr4ioh+d4Ktp9ej1gHdAm50E+fU6OakqPeEXR5w04GE="}}], "dht": {"a": 3, "k": 3, "static_nodes": {"nodes": [{"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "K2AWu8leN2RjYmhMpYAaGX/F6nGVk9oZw9c09RX3yyc="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1592601963, "port": 38723}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "21g16jxnqbb2ENAijrZFccHqLQcmmpkAI1HA46DaPvnVYvMkATFNEyHTy2R1T1jgU5M7CCLGJN+MxhwZfl/ZDA=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "fVIJzD9ATMilaPd847eFs6PtGSB67C+D9b4R+nf1+/s="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1097649206, "port": 29081}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "wH0HEVT6yAfZZAoD5bF6J3EZWdSFwBGl1ZpOfhxZ0Bp2u52tv8OzjeH8tlZ+geMLTG50Csn5nxSKP1tswTWwBg=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "gu+woR+x7PoRmaMqAP7oeOjK2V4U0NU8ofdacWZ34aY="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1162057690, "port": 41578}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "0PwDLXpN3IbRQuOTLkZBjkbT6+IkeUcvlhWrUY9us3IfSehmCfQjScR9mkVYsQ6cQHF+JeaFmqzV4GAiUcgjAg=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "WC4BO1eZ916FnLBSKmt07Pn5NP4D3/1wary1VjaCLaY="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": -1304477830, "port": 9670}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "cvpzkGeuEuKV+d92qIVkln9ngm8qeDnmYtK5rq8uSet0392hAZcIv2IniDzTw0rN42NaOHL9A4KEelwKu1N2Ag=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "nC8dcxV+EV2i0ARvub94IFJKKZUYACfY4xFj1NaG7Pw="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1959453117, "port": 63625}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "AHF6joNvQhyFFE0itV4OMA9n3Q8CEHVKapCLqazP7QJ4arsn4pdVkRYiGFEyQkngx+cm8izU4gB0JIaxF6PiBg=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "dqsRZLzTg/P7uxUlQpgl4VyTBNYBRMc4js3mnRiolBk="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": -809760973, "port": 40398}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "mJxLrAv5RamN5B9mDz6MhQwFjF92D3drJ5efOSZryDaazil0AR4bRHh4vxzZlYiPhi/X/NyG6WwNvKBz+1ntBw=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "fO6cFYRCRrD+yQzOJdHcNWpRFwu+qLhQnddLq0gGbTs="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1097633201, "port": 7201}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "o/rhtiUL3rvA08TKBcCn0DCiSjsNQdAv41aw7VVUig7ubaqJzYMv1cW3qMjxvsXn1BOugIheJm7voA1/brbtCg=="}], "@type": "dht.nodes"}, "@type": "dht.config.global"}, "@type": "config.global", "validator": {"zero_state": {"file_hash": "Z+IKwYS54DmmJmesw/nAD5DzWadnOCMzee+kdgSYDOg=", "seqno": 0, "root_hash": "gj+B8wb/AmlPk1z1AhVI484rhrUpgSr2oSFIh56VoSg=", "workchain": -1, "shard": -9223372036854775808}, "@type": "validator.config.global", "init_block": {"workchain": -1, "shard": -9223372036854775808, "seqno": 24063640, "root_hash": "idxu6Hf3cJ5xCoy4e/SPV9+pbacA7FPLBQ1A5BfrQdo=", "file_hash": "y6dsT+2CU6r6Son81SDA3TlE6G4i/eb4ngrR59EasP4="}, "hardforks": [{"file_hash": "jF3RTD+OyOoP+OI9oIjdV6M8EaOh9E+8+c3m5JkPYdg=", "seqno": 5141579, "root_hash": "6JSqIYIkW7y8IorxfbQBoXiuY3kXjcoYgQOxTJpjXXA=", "workchain": -1, "shard": -9223372036854775808}, {"file_hash": "WrNoMrn5UIVPDV/ug/VPjYatvde8TPvz5v1VYHCLPh8=", "seqno": 5172980, "root_hash": "054VCNNtUEwYGoRe1zjH+9b1q21/MeM+3fOo76Vcjes=", "workchain": -1, "shard": -9223372036854775808}, {"file_hash": "xRaxgUwgTXYFb16YnR+Q+VVsczLl6jmYwvzhQ/ncrh4=", "seqno": 5176527, "root_hash": "SoPLqMe9Dz26YJPOGDOHApTSe5i0kXFtRmRh/zPMGuI=", "workchain": -1, "shard": -9223372036854775808}]}}"
      blockchain_name = ""
      use_callbacks_for_network = false
      ignore_cache = false
    }
    keystore_type = keyStoreTypeDirectory {
      directory = "/tmp/ton_keystore/worker_0"
    }
  }
}
[ 4][t 1][2024-10-16 08:39:23.301399044][TonlibClient.cpp:6064][!Tonlib]	loading libraries from disk cache
[ 4][t 0][2024-10-16 08:39:23.301525314][Client.cpp:78][&tonlib_requests]	Begin to wait for updates with timeout 1.000000
[ 3][t 1][2024-10-16 08:39:23.301625514][TonlibClient.cpp:2868][!Tonlib]	Use blockchain name from MASTER config: 'testnet' (was '')
[ 4][t 1][2024-10-16 08:39:23.301644144][LastBlockStorage.cpp:84][!Tonlib][&last_block]	Save to cache: [last_block:(-1,8000000000000000,0):823F81F306FF02694F935CF5021548E3CE2B86B529812AF6A12148879E95A128:67E20AC184B9E039A62667ACC3F9C00F90F359A76738233379EFA47604980CE8][last_key_block:(-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE][utime:0][init_block:(-2147483648,0000000000000000,0):400000000044000040040000C0440000C0400000C00400004040000040440000:00400000C000000000000000004400002A0000000000000040BCA5BE667F0000]
[ 4][t 1][2024-10-16 08:39:23.302304925][LastBlock.cpp:58][!Tonlib][&last_block]	State: [last_block:(-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE][last_key_block:(-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE][utime:0][init_block:(-2147483648,0000000000000000,0):400000000044000040040000C0440000C0400000C00400004040000040440000:00400000C000000000000000004400002A0000000000000040BCA5BE667F0000]
[ 4][t 1][2024-10-16 08:39:23.302322255][LastConfig.cpp:44][!Tonlib][&last_block]	State: 
[ 4][t 1][2024-10-16 08:39:23.302335295][TonlibClient.cpp:2195][!Tonlib][&tonlib_query id != 0]	Tonlib answer query [id:1] options_info {
  config_info = options_configInfo {
    default_wallet_id = 4085333890
    default_rwallet_init_public_key = "Puasxr0QfFZZnYISRphVse7XHKfW7pZU5SJarVHXvQ+rpzkD"
  }
}
[ 4][t 0][2024-10-16 08:39:23.302350855][Client.cpp:84][&tonlib_requests]	End to wait for updates, returning object 1 0x7f66b8002a60
[ 4][t 0][2024-10-16 08:39:23.302923716][Client.cpp:78][&tonlib_requests]	Begin to wait for updates with timeout 1.000000
[ 4][t 1][2024-10-16 08:39:23.302973156][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:2] blocks_getMasterchainInfo {
}
[ 4][t 1][2024-10-16 08:39:23.302999176][ExtClient.h:69][!Tonlib][&lite_server]	send query to liteserver: 3416597972 liteServer_getMasterchainInfo {
}
[ 4][t 1][2024-10-16 08:39:23.303504537][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:3] sync {
}
[ 3][t 2][2024-10-16 08:39:23.303587947][ExtClientLazy.cpp:101][!ExtClientLazy]	Connecting to liteserver [127.0.0.1:17353]
[ 4][t 1][2024-10-16 08:39:23.303675197][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:4] blocks_lookupBlock {
  mode = 1
  id = ton_blockId {
    workchain = -1
    shard = -9223372036854775808
    seqno = 3377
  }
  lt = 0
  utime = 0
}
[ 4][t 2][2024-10-16 08:39:23.303741767][LastBlock.cpp:91][!LastBlock][&last_block]	get_masterchain_info: start
[ 4][t 2][2024-10-16 08:39:23.303761987][ExtClient.h:69][!LastBlock][&lite_server]	send query to liteserver: 716876635 liteServer_getMasterchainInfo {
}
[ 4][t 2][2024-10-16 08:39:23.303767607][LastBlock.cpp:108][!LastBlock][&last_block]	check_init_block: start - init_block -> last_block
[ 4][t 2][2024-10-16 08:39:23.303770777][LastBlock.cpp:142][!LastBlock][&last_block]	check_init_block: continue (-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE -> (-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE
[ 4][t 2][2024-10-16 08:39:23.303778267][ExtClient.h:69][!LastBlock][&lite_server]	send query to liteserver: 2496185623 liteServer_getBlockProof {
  mode = 1
  known_block = tonNode_blockIdExt {
    workchain = -1
    shard = -9223372036854775808
    seqno = 24063640
    root_hash = { 89 DC 6E E8 77 F7 70 9E 71 0A 8C B8 7B F4 8F 57 DF A9 6D A7 00 EC 53 CB 05 0D 40 E4 17 EB 41 DA }
    file_hash = { CB A7 6C 4F ED 82 53 AA FA 4A 89 FC D5 20 C0 DD 39 44 E8 6E 22 FD E6 F8 9E 0A D1 E7 D1 1A B0 FE }
  }
  target_block = tonNode_blockIdExt {
    workchain = -1
    shard = -9223372036854775808
    seqno = 24063640
    root_hash = { 89 DC 6E E8 77 F7 70 9E 71 0A 8C B8 7B F4 8F 57 DF A9 6D A7 00 EC 53 CB 05 0D 40 E4 17 EB 41 DA }
    file_hash = { CB A7 6C 4F ED 82 53 AA FA 4A 89 FC D5 20 C0 DD 39 44 E8 6E 22 FD E6 F8 9E 0A D1 E7 D1 1A B0 FE }
  }
}
[ 4][t 2][2024-10-16 08:39:23.303788547][LastBlock.cpp:408][!LastBlock][&last_block]	Sync state: 0 / 4270903656
[ 4][t 1][2024-10-16 08:39:23.303944207][TonlibClient.cpp:2196][!Tonlib][&tonlib_query id == 0]	Tonlib update updateSyncState {
  sync_state = syncStateInProgress {
    from_seqno = 24063640
    to_seqno = 0
    current_seqno = 24063640
  }
}
[ 4][t 0][2024-10-16 08:39:23.303956697][Client.cpp:84][&tonlib_requests]	End to wait for updates, returning object 0 0x7f66b800e1d0
[ 1][t 1][2024-10-16 08:39:23.303955967][adnl-ext-connection.cpp:129][!outconn]	Client got error [PosixError : Connection refused : 111 : Error on [fd:34]]
[ 4][t 1][2024-10-16 08:39:23.304009057][ExtClient.h:93][!Tonlib][&lite_server res.is_error()]	got error from liteserver: 3416597972 [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:23.304009707][ExtClient.h:93][!LastBlock][&lite_server res.is_error()]	got error from liteserver: 2496185623 [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:23.304041507][LastBlock.cpp:229][!LastBlock][&last_block]	check_init_block: error [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 1][2024-10-16 08:39:23.304042537][TonlibClient.cpp:2195][!Tonlib][&tonlib_query id != 0]	Tonlib answer query [id:2] error {
  code = 500
  message = "LITE_SERVER_NETWORK"
}
[ 4][t 2][2024-10-16 08:39:23.304048617][LastBlock.cpp:369][!LastBlock][&last_block]	sync: error [Error : 500 : LITE_SERVER_NETWORK(during check init block)]
[ 4][t 2][2024-10-16 08:39:23.304055917][LastBlock.cpp:408][!LastBlock][&last_block]	Sync state: 0 / 4270903656
[ 0][t 1][2024-10-16 08:39:23.304061087][Status.h:559][!Tonlib][&status_.is_ok()]	[Error : 500 : LITE_SERVER_NETWORK(during check init block)]
[ 4][t 2][2024-10-16 08:39:23.304071277][ExtClient.h:93][!LastBlock][&lite_server res.is_error()]	got error from liteserver: 716876635 [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:23.304075967][LastBlock.cpp:260][!LastBlock][&last_block]	get_masterchain_info: error [Error : 500 : LITE_SERVER_NETWORK]
[2024-10-16 08:39:24 +0000] [8] [INFO] Application startup complete.
2024-10-16 08:39:24.295 | ERROR    | pyTON.manager:check_children_alive:232 - TonlibWorker #000 is dead!!! Exit code: -6
2024-10-16 08:39:24.299 | INFO     | pyTON.manager:read_results:184 - Task read_results from TonlibWorker #000 was cancelled
[ 4][t 1][2024-10-16 08:39:24.305792641][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:1] init {
  options = options {
    config = config {
      config = "{"liteservers": [{"ip": 2130706433, "port": 17353, "id": {"@type": "pub.ed25519", "key": "Xr4ioh+d4Ktp9ej1gHdAm50E+fU6OakqPeEXR5w04GE="}}], "dht": {"a": 3, "k": 3, "static_nodes": {"nodes": [{"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "K2AWu8leN2RjYmhMpYAaGX/F6nGVk9oZw9c09RX3yyc="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1592601963, "port": 38723}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "21g16jxnqbb2ENAijrZFccHqLQcmmpkAI1HA46DaPvnVYvMkATFNEyHTy2R1T1jgU5M7CCLGJN+MxhwZfl/ZDA=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "fVIJzD9ATMilaPd847eFs6PtGSB67C+D9b4R+nf1+/s="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1097649206, "port": 29081}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "wH0HEVT6yAfZZAoD5bF6J3EZWdSFwBGl1ZpOfhxZ0Bp2u52tv8OzjeH8tlZ+geMLTG50Csn5nxSKP1tswTWwBg=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "gu+woR+x7PoRmaMqAP7oeOjK2V4U0NU8ofdacWZ34aY="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1162057690, "port": 41578}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "0PwDLXpN3IbRQuOTLkZBjkbT6+IkeUcvlhWrUY9us3IfSehmCfQjScR9mkVYsQ6cQHF+JeaFmqzV4GAiUcgjAg=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "WC4BO1eZ916FnLBSKmt07Pn5NP4D3/1wary1VjaCLaY="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": -1304477830, "port": 9670}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "cvpzkGeuEuKV+d92qIVkln9ngm8qeDnmYtK5rq8uSet0392hAZcIv2IniDzTw0rN42NaOHL9A4KEelwKu1N2Ag=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "nC8dcxV+EV2i0ARvub94IFJKKZUYACfY4xFj1NaG7Pw="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1959453117, "port": 63625}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "AHF6joNvQhyFFE0itV4OMA9n3Q8CEHVKapCLqazP7QJ4arsn4pdVkRYiGFEyQkngx+cm8izU4gB0JIaxF6PiBg=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "dqsRZLzTg/P7uxUlQpgl4VyTBNYBRMc4js3mnRiolBk="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": -809760973, "port": 40398}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "mJxLrAv5RamN5B9mDz6MhQwFjF92D3drJ5efOSZryDaazil0AR4bRHh4vxzZlYiPhi/X/NyG6WwNvKBz+1ntBw=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "fO6cFYRCRrD+yQzOJdHcNWpRFwu+qLhQnddLq0gGbTs="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1097633201, "port": 7201}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "o/rhtiUL3rvA08TKBcCn0DCiSjsNQdAv41aw7VVUig7ubaqJzYMv1cW3qMjxvsXn1BOugIheJm7voA1/brbtCg=="}], "@type": "dht.nodes"}, "@type": "dht.config.global"}, "@type": "config.global", "validator": {"zero_state": {"file_hash": "Z+IKwYS54DmmJmesw/nAD5DzWadnOCMzee+kdgSYDOg=", "seqno": 0, "root_hash": "gj+B8wb/AmlPk1z1AhVI484rhrUpgSr2oSFIh56VoSg=", "workchain": -1, "shard": -9223372036854775808}, "@type": "validator.config.global", "init_block": {"workchain": -1, "shard": -9223372036854775808, "seqno": 24063640, "root_hash": "idxu6Hf3cJ5xCoy4e/SPV9+pbacA7FPLBQ1A5BfrQdo=", "file_hash": "y6dsT+2CU6r6Son81SDA3TlE6G4i/eb4ngrR59EasP4="}, "hardforks": [{"file_hash": "jF3RTD+OyOoP+OI9oIjdV6M8EaOh9E+8+c3m5JkPYdg=", "seqno": 5141579, "root_hash": "6JSqIYIkW7y8IorxfbQBoXiuY3kXjcoYgQOxTJpjXXA=", "workchain": -1, "shard": -9223372036854775808}, {"file_hash": "WrNoMrn5UIVPDV/ug/VPjYatvde8TPvz5v1VYHCLPh8=", "seqno": 5172980, "root_hash": "054VCNNtUEwYGoRe1zjH+9b1q21/MeM+3fOo76Vcjes=", "workchain": -1, "shard": -9223372036854775808}, {"file_hash": "xRaxgUwgTXYFb16YnR+Q+VVsczLl6jmYwvzhQ/ncrh4=", "seqno": 5176527, "root_hash": "SoPLqMe9Dz26YJPOGDOHApTSe5i0kXFtRmRh/zPMGuI=", "workchain": -1, "shard": -9223372036854775808}]}}"
      blockchain_name = ""
      use_callbacks_for_network = false
      ignore_cache = false
    }
    keystore_type = keyStoreTypeDirectory {
      directory = "/tmp/ton_keystore/worker_0"
    }
  }
}
[ 4][t 1][2024-10-16 08:39:24.305908431][TonlibClient.cpp:6064][!Tonlib]	loading libraries from disk cache
[ 4][t 0][2024-10-16 08:39:24.305928571][Client.cpp:78][&tonlib_requests]	Begin to wait for updates with timeout 1.000000
[ 3][t 1][2024-10-16 08:39:24.306105961][TonlibClient.cpp:2868][!Tonlib]	Use blockchain name from MASTER config: 'testnet' (was '')
[ 4][t 1][2024-10-16 08:39:24.306126311][LastBlockStorage.cpp:84][!Tonlib][&last_block]	Save to cache: [last_block:(-1,8000000000000000,0):823F81F306FF02694F935CF5021548E3CE2B86B529812AF6A12148879E95A128:67E20AC184B9E039A62667ACC3F9C00F90F359A76738233379EFA47604980CE8][last_key_block:(-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE][utime:0][init_block:(-2147483648,0000000000000000,0):400000000044000040040000C0440000C0400000C00400004040000040440000:00400000C000000000000000004400002A0000000000000040BCA5BE667F0000]
[ 4][t 1][2024-10-16 08:39:24.306792512][LastBlock.cpp:58][!Tonlib][&last_block]	State: [last_block:(-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE][last_key_block:(-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE][utime:0][init_block:(-2147483648,0000000000000000,0):400000000044000040040000C0440000C0400000C00400004040000040440000:00400000C000000000000000004400002A0000000000000040BCA5BE667F0000]
[ 4][t 1][2024-10-16 08:39:24.306809112][LastConfig.cpp:44][!Tonlib][&last_block]	State: 
[ 4][t 1][2024-10-16 08:39:24.306821662][TonlibClient.cpp:2195][!Tonlib][&tonlib_query id != 0]	Tonlib answer query [id:1] options_info {
  config_info = options_configInfo {
    default_wallet_id = 4085333890
    default_rwallet_init_public_key = "Puasxr0QfFZZnYISRphVse7XHKfW7pZU5SJarVHXvQ+rpzkD"
  }
}
[ 4][t 0][2024-10-16 08:39:24.306844202][Client.cpp:84][&tonlib_requests]	End to wait for updates, returning object 1 0x7f66b8003350
[ 4][t 0][2024-10-16 08:39:24.307411373][Client.cpp:78][&tonlib_requests]	Begin to wait for updates with timeout 1.000000
[ 4][t 1][2024-10-16 08:39:24.307480013][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:2] blocks_getMasterchainInfo {
}
[ 4][t 1][2024-10-16 08:39:24.307506113][ExtClient.h:69][!Tonlib][&lite_server]	send query to liteserver: 2006160600 liteServer_getMasterchainInfo {
}
[ 3][t 2][2024-10-16 08:39:24.308153604][ExtClientLazy.cpp:101][!ExtClientLazy]	Connecting to liteserver [127.0.0.1:17353]
[ 4][t 1][2024-10-16 08:39:24.308205425][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:3] sync {
}
[ 4][t 1][2024-10-16 08:39:24.308230525][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:4] blocks_lookupBlock {
  mode = 1
  id = ton_blockId {
    workchain = -1
    shard = -9223372036854775808
    seqno = 230
  }
  lt = 0
  utime = 0
}
[ 4][t 2][2024-10-16 08:39:24.308317265][LastBlock.cpp:91][!LastBlock][&last_block]	get_masterchain_info: start
[ 4][t 2][2024-10-16 08:39:24.308336685][ExtClient.h:69][!LastBlock][&lite_server]	send query to liteserver: 755533804 liteServer_getMasterchainInfo {
}
[ 4][t 2][2024-10-16 08:39:24.308341215][LastBlock.cpp:108][!LastBlock][&last_block]	check_init_block: start - init_block -> last_block
[ 4][t 2][2024-10-16 08:39:24.308344325][LastBlock.cpp:142][!LastBlock][&last_block]	check_init_block: continue (-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE -> (-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE
[ 4][t 2][2024-10-16 08:39:24.308353285][ExtClient.h:69][!LastBlock][&lite_server]	send query to liteserver: 2944725578 liteServer_getBlockProof {
  mode = 1
  known_block = tonNode_blockIdExt {
    workchain = -1
    shard = -9223372036854775808
    seqno = 24063640
    root_hash = { 89 DC 6E E8 77 F7 70 9E 71 0A 8C B8 7B F4 8F 57 DF A9 6D A7 00 EC 53 CB 05 0D 40 E4 17 EB 41 DA }
    file_hash = { CB A7 6C 4F ED 82 53 AA FA 4A 89 FC D5 20 C0 DD 39 44 E8 6E 22 FD E6 F8 9E 0A D1 E7 D1 1A B0 FE }
  }
  target_block = tonNode_blockIdExt {
    workchain = -1
    shard = -9223372036854775808
    seqno = 24063640
    root_hash = { 89 DC 6E E8 77 F7 70 9E 71 0A 8C B8 7B F4 8F 57 DF A9 6D A7 00 EC 53 CB 05 0D 40 E4 17 EB 41 DA }
    file_hash = { CB A7 6C 4F ED 82 53 AA FA 4A 89 FC D5 20 C0 DD 39 44 E8 6E 22 FD E6 F8 9E 0A D1 E7 D1 1A B0 FE }
  }
}
[ 4][t 2][2024-10-16 08:39:24.308362715][LastBlock.cpp:408][!LastBlock][&last_block]	Sync state: 0 / 4270903656
[ 4][t 1][2024-10-16 08:39:24.308529445][TonlibClient.cpp:2196][!Tonlib][&tonlib_query id == 0]	Tonlib update updateSyncState {
  sync_state = syncStateInProgress {
    from_seqno = 24063640
    to_seqno = 0
    current_seqno = 24063640
  }
}
[ 1][t 1][2024-10-16 08:39:24.308540045][adnl-ext-connection.cpp:129][!outconn]	Client got error [PosixError : Connection refused : 111 : Error on [fd:34]]
[ 4][t 0][2024-10-16 08:39:24.308542825][Client.cpp:84][&tonlib_requests]	End to wait for updates, returning object 0 0x7f66b800e590
[ 4][t 2][2024-10-16 08:39:24.308561825][ExtClient.h:93][!LastBlock][&lite_server res.is_error()]	got error from liteserver: 755533804 [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:24.308565985][LastBlock.cpp:260][!LastBlock][&last_block]	get_masterchain_info: error [Error : 500 : LITE_SERVER_NETWORK]
[ 2][t 2][2024-10-16 08:39:24.308568775][LastBlock.cpp:261][!LastBlock]	Failed liteServer_getMasterchainInfo [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:24.308572325][LastBlock.cpp:369][!LastBlock][&last_block]	sync: error [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:24.308577675][LastBlock.cpp:408][!LastBlock][&last_block]	Sync state: 0 / 4270903656
[ 0][t 1][2024-10-16 08:39:24.308584045][Status.h:559][!Tonlib][&status_.is_ok()]	[Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:24.308585145][ExtClient.h:93][!LastBlock][&lite_server res.is_error()]	got error from liteserver: 2944725578 [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:24.308590575][LastBlock.cpp:229][!LastBlock][&last_block]	check_init_block: error [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:24.308593795][LastBlock.cpp:369][!LastBlock][&last_block]	sync: error [Error : 500 : LITE_SERVER_NETWORK(during check init block)]
2024-10-16 08:39:25.299 | ERROR    | pyTON.manager:check_children_alive:232 - TonlibWorker #000 is dead!!! Exit code: -6
2024-10-16 08:39:25.303 | INFO     | pyTON.manager:read_results:184 - Task read_results from TonlibWorker #000 was cancelled
[ 4][t 1][2024-10-16 08:39:25.309390987][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:1] init {
  options = options {
    config = config {
      config = "{"liteservers": [{"ip": 2130706433, "port": 17353, "id": {"@type": "pub.ed25519", "key": "Xr4ioh+d4Ktp9ej1gHdAm50E+fU6OakqPeEXR5w04GE="}}], "dht": {"a": 3, "k": 3, "static_nodes": {"nodes": [{"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "K2AWu8leN2RjYmhMpYAaGX/F6nGVk9oZw9c09RX3yyc="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1592601963, "port": 38723}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "21g16jxnqbb2ENAijrZFccHqLQcmmpkAI1HA46DaPvnVYvMkATFNEyHTy2R1T1jgU5M7CCLGJN+MxhwZfl/ZDA=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "fVIJzD9ATMilaPd847eFs6PtGSB67C+D9b4R+nf1+/s="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1097649206, "port": 29081}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "wH0HEVT6yAfZZAoD5bF6J3EZWdSFwBGl1ZpOfhxZ0Bp2u52tv8OzjeH8tlZ+geMLTG50Csn5nxSKP1tswTWwBg=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "gu+woR+x7PoRmaMqAP7oeOjK2V4U0NU8ofdacWZ34aY="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1162057690, "port": 41578}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "0PwDLXpN3IbRQuOTLkZBjkbT6+IkeUcvlhWrUY9us3IfSehmCfQjScR9mkVYsQ6cQHF+JeaFmqzV4GAiUcgjAg=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "WC4BO1eZ916FnLBSKmt07Pn5NP4D3/1wary1VjaCLaY="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": -1304477830, "port": 9670}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "cvpzkGeuEuKV+d92qIVkln9ngm8qeDnmYtK5rq8uSet0392hAZcIv2IniDzTw0rN42NaOHL9A4KEelwKu1N2Ag=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "nC8dcxV+EV2i0ARvub94IFJKKZUYACfY4xFj1NaG7Pw="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1959453117, "port": 63625}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "AHF6joNvQhyFFE0itV4OMA9n3Q8CEHVKapCLqazP7QJ4arsn4pdVkRYiGFEyQkngx+cm8izU4gB0JIaxF6PiBg=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "dqsRZLzTg/P7uxUlQpgl4VyTBNYBRMc4js3mnRiolBk="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": -809760973, "port": 40398}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "mJxLrAv5RamN5B9mDz6MhQwFjF92D3drJ5efOSZryDaazil0AR4bRHh4vxzZlYiPhi/X/NyG6WwNvKBz+1ntBw=="}, {"@type": "dht.node", "id": {"@type": "pub.ed25519", "key": "fO6cFYRCRrD+yQzOJdHcNWpRFwu+qLhQnddLq0gGbTs="}, "addr_list": {"@type": "adnl.addressList", "addrs": [{"@type": "adnl.address.udp", "ip": 1097633201, "port": 7201}], "version": 0, "reinit_date": 0, "priority": 0, "expire_at": 0}, "version": -1, "signature": "o/rhtiUL3rvA08TKBcCn0DCiSjsNQdAv41aw7VVUig7ubaqJzYMv1cW3qMjxvsXn1BOugIheJm7voA1/brbtCg=="}], "@type": "dht.nodes"}, "@type": "dht.config.global"}, "@type": "config.global", "validator": {"zero_state": {"file_hash": "Z+IKwYS54DmmJmesw/nAD5DzWadnOCMzee+kdgSYDOg=", "seqno": 0, "root_hash": "gj+B8wb/AmlPk1z1AhVI484rhrUpgSr2oSFIh56VoSg=", "workchain": -1, "shard": -9223372036854775808}, "@type": "validator.config.global", "init_block": {"workchain": -1, "shard": -9223372036854775808, "seqno": 24063640, "root_hash": "idxu6Hf3cJ5xCoy4e/SPV9+pbacA7FPLBQ1A5BfrQdo=", "file_hash": "y6dsT+2CU6r6Son81SDA3TlE6G4i/eb4ngrR59EasP4="}, "hardforks": [{"file_hash": "jF3RTD+OyOoP+OI9oIjdV6M8EaOh9E+8+c3m5JkPYdg=", "seqno": 5141579, "root_hash": "6JSqIYIkW7y8IorxfbQBoXiuY3kXjcoYgQOxTJpjXXA=", "workchain": -1, "shard": -9223372036854775808}, {"file_hash": "WrNoMrn5UIVPDV/ug/VPjYatvde8TPvz5v1VYHCLPh8=", "seqno": 5172980, "root_hash": "054VCNNtUEwYGoRe1zjH+9b1q21/MeM+3fOo76Vcjes=", "workchain": -1, "shard": -9223372036854775808}, {"file_hash": "xRaxgUwgTXYFb16YnR+Q+VVsczLl6jmYwvzhQ/ncrh4=", "seqno": 5176527, "root_hash": "SoPLqMe9Dz26YJPOGDOHApTSe5i0kXFtRmRh/zPMGuI=", "workchain": -1, "shard": -9223372036854775808}]}}"
      blockchain_name = ""
      use_callbacks_for_network = false
      ignore_cache = false
    }
    keystore_type = keyStoreTypeDirectory {
      directory = "/tmp/ton_keystore/worker_0"
    }
  }
}
[ 4][t 1][2024-10-16 08:39:25.309498847][TonlibClient.cpp:6064][!Tonlib]	loading libraries from disk cache
[ 4][t 0][2024-10-16 08:39:25.309526457][Client.cpp:78][&tonlib_requests]	Begin to wait for updates with timeout 1.000000
[ 3][t 1][2024-10-16 08:39:25.309661007][TonlibClient.cpp:2868][!Tonlib]	Use blockchain name from MASTER config: 'testnet' (was '')
[ 4][t 1][2024-10-16 08:39:25.309681927][LastBlockStorage.cpp:84][!Tonlib][&last_block]	Save to cache: [last_block:(-1,8000000000000000,0):823F81F306FF02694F935CF5021548E3CE2B86B529812AF6A12148879E95A128:67E20AC184B9E039A62667ACC3F9C00F90F359A76738233379EFA47604980CE8][last_key_block:(-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE][utime:0][init_block:(-2147483648,0000000000000000,0):400000000044000040040000C0440000C0400000C00400004040000040440000:00400000C000000000000000004400002A0000000000000040BCA5BE667F0000]
[ 4][t 1][2024-10-16 08:39:25.310246768][LastBlock.cpp:58][!Tonlib][&last_block]	State: [last_block:(-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE][last_key_block:(-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE][utime:0][init_block:(-2147483648,0000000000000000,0):400000000044000040040000C0440000C0400000C00400004040000040440000:00400000C000000000000000004400002A0000000000000040BCA5BE667F0000]
[ 4][t 1][2024-10-16 08:39:25.310266568][LastConfig.cpp:44][!Tonlib][&last_block]	State: 
[ 4][t 1][2024-10-16 08:39:25.310285428][TonlibClient.cpp:2195][!Tonlib][&tonlib_query id != 0]	Tonlib answer query [id:1] options_info {
  config_info = options_configInfo {
    default_wallet_id = 4085333890
    default_rwallet_init_public_key = "Puasxr0QfFZZnYISRphVse7XHKfW7pZU5SJarVHXvQ+rpzkD"
  }
}
[ 4][t 0][2024-10-16 08:39:25.310316418][Client.cpp:84][&tonlib_requests]	End to wait for updates, returning object 1 0x7f66b8003350
[ 4][t 0][2024-10-16 08:39:25.310784938][Client.cpp:78][&tonlib_requests]	Begin to wait for updates with timeout 1.000000
[ 4][t 1][2024-10-16 08:39:25.310889429][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:2] blocks_lookupBlock {
  mode = 1
  id = ton_blockId {
    workchain = -1
    shard = -9223372036854775808
    seqno = 3897
  }
  lt = 0
  utime = 0
}
[ 4][t 1][2024-10-16 08:39:25.311386729][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:3] blocks_getMasterchainInfo {
}
[ 4][t 2][2024-10-16 08:39:25.311477759][LastBlock.cpp:91][!LastBlock][&last_block]	get_masterchain_info: start
[ 4][t 2][2024-10-16 08:39:25.311509329][ExtClient.h:69][!LastBlock][&lite_server]	send query to liteserver: 1510405463 liteServer_getMasterchainInfo {
}
[ 4][t 2][2024-10-16 08:39:25.311516019][LastBlock.cpp:108][!LastBlock][&last_block]	check_init_block: start - init_block -> last_block
[ 4][t 2][2024-10-16 08:39:25.311519219][LastBlock.cpp:142][!LastBlock][&last_block]	check_init_block: continue (-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE -> (-1,8000000000000000,24063640):89DC6EE877F7709E710A8CB87BF48F57DFA96DA700EC53CB050D40E417EB41DA:CBA76C4FED8253AAFA4A89FCD520C0DD3944E86E22FDE6F89E0AD1E7D11AB0FE
[ 4][t 2][2024-10-16 08:39:25.311534609][ExtClient.h:69][!LastBlock][&lite_server]	send query to liteserver: 1636828721 liteServer_getBlockProof {
  mode = 1
  known_block = tonNode_blockIdExt {
    workchain = -1
    shard = -9223372036854775808
    seqno = 24063640
    root_hash = { 89 DC 6E E8 77 F7 70 9E 71 0A 8C B8 7B F4 8F 57 DF A9 6D A7 00 EC 53 CB 05 0D 40 E4 17 EB 41 DA }
    file_hash = { CB A7 6C 4F ED 82 53 AA FA 4A 89 FC D5 20 C0 DD 39 44 E8 6E 22 FD E6 F8 9E 0A D1 E7 D1 1A B0 FE }
  }
  target_block = tonNode_blockIdExt {
    workchain = -1
    shard = -9223372036854775808
    seqno = 24063640
    root_hash = { 89 DC 6E E8 77 F7 70 9E 71 0A 8C B8 7B F4 8F 57 DF A9 6D A7 00 EC 53 CB 05 0D 40 E4 17 EB 41 DA }
    file_hash = { CB A7 6C 4F ED 82 53 AA FA 4A 89 FC D5 20 C0 DD 39 44 E8 6E 22 FD E6 F8 9E 0A D1 E7 D1 1A B0 FE }
  }
}
[ 4][t 2][2024-10-16 08:39:25.311547379][LastBlock.cpp:408][!LastBlock][&last_block]	Sync state: 0 / 4270903656
[ 3][t 2][2024-10-16 08:39:25.311552709][ExtClientLazy.cpp:101][!ExtClientLazy]	Connecting to liteserver [127.0.0.1:17353]
[ 4][t 1][2024-10-16 08:39:25.311582039][ExtClient.h:69][!Tonlib][&lite_server]	send query to liteserver: 1218353467 liteServer_getMasterchainInfo {
}
[ 4][t 1][2024-10-16 08:39:25.311597839][TonlibClient.cpp:2218][!Tonlib][&tonlib_query]	Tonlib got query [id:4] sync {
}
[ 4][t 1][2024-10-16 08:39:25.311957540][TonlibClient.cpp:2196][!Tonlib][&tonlib_query id == 0]	Tonlib update updateSyncState {
  sync_state = syncStateInProgress {
    from_seqno = 24063640
    to_seqno = 0
    current_seqno = 24063640
  }
}
[ 1][t 1][2024-10-16 08:39:25.311978490][adnl-ext-connection.cpp:129][!outconn]	Client got error [PosixError : Connection refused : 111 : Error on [fd:34]]
[ 4][t 0][2024-10-16 08:39:25.311979440][Client.cpp:84][&tonlib_requests]	End to wait for updates, returning object 0 0x7f66b800eac0
[ 4][t 2][2024-10-16 08:39:25.312015150][ExtClient.h:93][!LastBlock][&lite_server res.is_error()]	got error from liteserver: 1636828721 [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 1][2024-10-16 08:39:25.312021070][ExtClient.h:93][!Tonlib][&lite_server res.is_error()]	got error from liteserver: 1218353467 [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:25.312080260][LastBlock.cpp:229][!LastBlock][&last_block]	check_init_block: error [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 0][2024-10-16 08:39:25.312136080][Client.cpp:78][&tonlib_requests]	Begin to wait for updates with timeout 1.000000
[ 4][t 2][2024-10-16 08:39:25.312140850][LastBlock.cpp:369][!LastBlock][&last_block]	sync: error [Error : 500 : LITE_SERVER_NETWORK(during check init block)]
[ 4][t 2][2024-10-16 08:39:25.312149530][LastBlock.cpp:408][!LastBlock][&last_block]	Sync state: 0 / 4270903656
[ 4][t 2][2024-10-16 08:39:25.312169590][ExtClient.h:93][!LastBlock][&lite_server res.is_error()]	got error from liteserver: 1510405463 [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:25.312175650][LastBlock.cpp:260][!LastBlock][&last_block]	get_masterchain_info: error [Error : 500 : LITE_SERVER_NETWORK]
[ 2][t 2][2024-10-16 08:39:25.312178360][LastBlock.cpp:261][!LastBlock]	Failed liteServer_getMasterchainInfo [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 2][2024-10-16 08:39:25.312181710][LastBlock.cpp:369][!LastBlock][&last_block]	sync: error [Error : 500 : LITE_SERVER_NETWORK]
[ 4][t 1][2024-10-16 08:39:25.312169230][TonlibClient.cpp:2195][!Tonlib][&tonlib_query id != 0]	Tonlib answer query [id:3] error {
  code = 500
  message = "LITE_SERVER_NETWORK"
}
[ 0][t 1][2024-10-16 08:39:25.312235660][Status.h:559][!Tonlib][&status_.is_ok()]	[Error : 500 : LITE_SERVER_NETWORK(during check init block)]
[ 4][t 0][2024-10-16 08:39:25.312238600][Client.cpp:84][&tonlib_requests]	End to wait for updates, returning object 3 0x7f66b800d2a0

@ryujimin220
Copy link

Were you guys able to solve the issue?
I have similar issue right now,, a local full node running liteserver..
configured mainnet.json to only use my local liteserver .. but it doesn't seem like it's working properly..
@jamescarter-le @jonathanudd

@jonathanudd
Copy link

I didn't get this to work by using 2130706433 (127.0.0.1) as suggested in the README but I got it working at some point by following the instructions in the README but using the local IP of the machine e.g. 192.168.x.x and running that through this script.

I'm not sure what was wrong along the way, maybe I just made a mistake or maybe it didn't work until the node was in sync... I can't say what mistake I made except for using 127.0.0.1

@ryujimin220
Copy link

Hi @jonathanudd , thanks so much for the reply.

To briefly explain what our issue is,,
Currently, we're using the ton-http-api to check the node's block number. But instead of mytonctrl, we're running it with Docker. We noticed that the ton-http-api is fetching the status from a different node, not ours.

We noticed this cause even when we stop the validator-engine container, Grafana still shows that it's fetching the block number.. which seemed a bit strange..

We asked a person at Ton foundation and he said it seems like we're using ton.org/global.config.json instead of our local config.

So what we did was.. after setting up our fullnode with liteserver enabled, we got our liteserver info (ip, public id, port) and replaced the private/mainnet.json with only our liteserver,, and then ran ton-http-api..HOWEVER.. it still doesn't seem like it's working properly..

My question is, are you also running your own fullnode with liteserver enabled? If so, would you be able to guide us on how we could get this to work?

Below is the docker script with liteserver enabled:

docker run -d --name ton-full-node \
        --restart always \
        --mount type=bind,source=$HOST_VOLUME,target=/var/ton-work/db \
        --network host \
	--security-opt apparmor=unconfined \
        -e "PUBLIC_IP=$HOST_IP" -e "CONSOLE_PORT=80"  -e "LITE_PORT=81" -e "LITESERVER=true" \
        -it $DOCKER_REPO:$MODE-$VERSION

Thanks so much again!!

@jonathanudd
Copy link

In the end I created the local config with mytonctrl > installer > clcf according to the instructions in the README of this repo and replaced the lightserver IP with the local IP of the machine where the lightserver is running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants