I have this error in console.
And there is no word in documentation about it.
But in server mode proxy works good with this error.
In ton site mode it doesn’t work.

[ 2][t 1][2022-10-02 10:00:11.736060209][TonlibClient.cpp:2052][!tonlibclient][&!config->ignore_cache_] Unknown LastBlockState: [Error : 0 : Unknown key]

Oct 2, 2022, 7:49 PM
How can I understand that the proxy has started successfully, and if it doesn’t work I should check my server settings like firewall and others.

It’s just not working, and I don’t know what is wrong: server settings, ton binaries or I just had a mistake while run command.
And it’s not only my problem , then I post message here one guy went to dm and we start discuss about proxies and he has the same questions
Is there russian dev chat, where we can talk in russian))
Oct 2, 2022, 7:57 PM
Why talk in Russian? We want to be part of the conversation :)
English is not my native language either 😅
Oct 2, 2022, 8:38 PM
That's fair point ))
Oct 2, 2022, 8:39 PM
Sorry for that…
Btw, I usually ask to move conversation in DM so as not to spam in public chats.
Oct 2, 2022, 8:58 PM
I guess it's fine as long as issues are getting resolved or documented somewhere, so your debugging efforts are not lost :)
Oct 2, 2022, 8:59 PM
Anyway i’ll chat a summary of issue here)
The issue in this case was in node-server. Accessing site from curl command, we got 308 Permanent redirect error.
As we found, the site was throwing requests to API non-stop. Probably this was the reason.
Then we tried to host simple test site instead, and proxy worked correctly. Now @matthew_maclay will try to remove all functionalty from his site and, by adding it stepwise, will figure out which part cause problem.
Oct 2, 2022, 9:10 PM
And this error is not an error.
It’s warning, and proxy is work after run.

[ 2][t 1][2022-10-02 10:00:11.736060209][TonlibClient.cpp:2052][!tonlibclient][&!config->ignore_cache_] Unknown LastBlockState: [Error : 0 : Unknown key]
Oct 2, 2022, 9:14 PM
And here is the recommendation for one who tries to run rldp-http-proxy:
1) try to run proxy with following command: rldp-http-proxy -p 8080 -a :3333 -A -L ‘*’ -C global.config.json --verbosity 3.
2) if you see Unknown LastBlockState error — do not worry, it is OK.
3) after this try to reach your site/service/etc with curl: curl -x :8080 http://.adnl -v. In logs you shoud find 200 status and code of response.
4) If it doesn’t work, host some example site/service on port 80 instead and try to reach it.
Oct 2, 2022, 9:16 PM

© 2024 Draquery.com All rights reserved.