does somebody know what that means in ton-http-api response?
{
ok: false,
error: 'No working liteservers with ls_index=None, archival=None',
code: 503
}
Jun 29, 2022, 12:33 PM
what is all this errors? why it just don't work out of the box?
Or one must get familiar with system by directly diving in source code of blockchains?
{
"ok": false,
"error": "name 'TonlibError' is not defined",
"code": 503
}
Or one must get familiar with system by directly diving in source code of blockchains?
{
"ok": false,
"error": "name 'TonlibError' is not defined",
"code": 503
}
Ok, I will not waste my time on this project any more. It's so raw and laggy yet
Jun 29, 2022, 12:57 PM
i was also disappointed at how complex (many) things are. like even installing most printer drivers on Linux! 🤦♂ It feels like there's a conspiracy by printer manufacturers to push us to use windows or something! 🤦♂🤔
Jun 29, 2022, 1:11 PM
it certainly is a conspiracy by printer manufacturers =)
It's not bout the complexity, it's about key system module that doesn't just work and you get problem exiding many times your level of knowladge, as you begin to study the system
Jun 29, 2022, 1:15 PM
My experience shows that printers work in Linux out of the box, while in Windows you need to download ridiculous 1 GB drivers 😁
Jun 29, 2022, 1:22 PM
okay.
Jun 29, 2022, 1:23 PM
What TonCenter endpoint are you using?
Jun 29, 2022, 1:23 PM
If i get U write I'm not using toncenter. I use ton-http-api in docker as endpoint for tonweb. And mainnet config file from git
Jun 29, 2022, 1:28 PM
Are you sure that it's configured correctly? Try to use the public TonCenter just for comparison.
Jun 29, 2022, 1:29 PM
I use this config as described in docs
https://ton-blockchain.github.io/global.config.json
I tryed toncenter as http api, it worked but there are limits so I decided to do my own api
https://ton-blockchain.github.io/global.config.json
I tryed toncenter as http api, it worked but there are limits so I decided to do my own api
Jun 29, 2022, 1:31 PM
It is fine to use public TC in development, the limits should be fine and the infrastructure is simpler.
However, in production you should use your own instance of TC.
Jun 29, 2022, 1:33 PM
thanks for answers.
one more while you'r active in chat. does ton-http-api sync chain or something? It eats space in my virt-mashine and does not stops
one more while you'r active in chat. does ton-http-api sync chain or something? It eats space in my virt-mashine and does not stops
Jun 29, 2022, 1:37 PM
How much space does it eat? Are we talking about RAM or FS?
Jun 29, 2022, 1:51 PM
It does not, it connects to ton servers
Maybe the problem is the cache?
Jun 29, 2022, 1:51 PM
It's not syncing blocks by the way. It's only a proxy for lite servers.
Jun 29, 2022, 1:51 PM
cache is disabled. after starting ton-http-api virtual mashine grows and increased in size about 10 GB.
Jun 29, 2022, 1:53 PM
strange. Just use other people node like tonhub one
https://mainnet.tonhubapi.com/
Jun 29, 2022, 1:55 PM
That's weird.
@ruslixag can you elaborate on this, please?
Jun 29, 2022, 1:55 PM
and that's why i asked about sync. I will analyze situation
Jun 29, 2022, 1:56 PM