-
Notifications
You must be signed in to change notification settings - Fork 22
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
Start TON-HTTP-API #23
Comments
Could you please try to execute (without start) and post the result here? |
|
It seems that ton-http-api is installed correctly. Also make sure that you don't have ton-http-process running somewhere. If you have previously marked the checkbox "Enable ton-http-api service", please execute start the app again: |
|
I see that this is not the whole file, the starting messages are missing. |
From this log file I can see that ton-http-api is never get started.
and send the log file again. |
|
Interesting. One more test, please. |
Looks like I had bad installed python version ( Currently, it's:
|
Try this please:
pip install setuptools
…On Tue, Dec 12, 2023, 13:47 artmon ***@***.***> wrote:
Could you please open a terminal (cmd) and execute ton-http-api? What
does it say?
Looks like I had bad installed python version (
I have deleted it and installed from MyLocalTon suggested me 3.12.0
Currently, it's now:
C:\Users\garkavyy.a>ton-http-api
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\garkavyy.a\AppData\Local\Programs\Python\Python312\Scripts\ton-http-api.exe\__main__.py", line 7, in <module>
File "C:\Users\garkavyy.a\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyTON\__main__.py", line 63, in main
from pyTON.main import app
File "C:\Users\garkavyy.a\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyTON\main.py", line 24, in <module>
from pyTON.manager import TonlibManager
File "C:\Users\garkavyy.a\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyTON\manager.py", line 12, in <module>
from pyTON.worker import TonlibWorker
File "C:\Users\garkavyy.a\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyTON\worker.py", line 10, in <module>
from pytonlib import TonlibClient, TonlibException, BlockNotFound
File "C:\Users\garkavyy.a\AppData\Local\Programs\Python\Python312\Lib\site-packages\pytonlib\__init__.py", line 1, in <module>
from pytonlib.client import TonlibClient
File "C:\Users\garkavyy.a\AppData\Local\Programs\Python\Python312\Lib\site-packages\pytonlib\client.py", line 8, in <module>
from pytonlib.tonlibjson import TonLib
File "C:\Users\garkavyy.a\AppData\Local\Programs\Python\Python312\Lib\site-packages\pytonlib\tonlibjson.py", line 5, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
C:\Users\garkavyy.a>
myLocalTon.log
<https://github.com/neodix42/MyLocalTon/files/13648226/myLocalTon.log>
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMOVWWLQYRCVDUZKGKNPPMTYJBG7BAVCNFSM6AAAAABAPZN5OOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJRHE3TCMRRGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
It works! But currently I can't get masterchain Info. It's loading forever |
From the log file, I see that there are no errors. |
Doesn't help for me. When I run
|
ok, it seems that you are missing OpenSSL in your system. |
Could you please try with OpenSSL 1.1 version?
…On Thu, Dec 14, 2023, 18:05 artmon ***@***.***> wrote:
Everything is the same.
image.png (view on web)
<https://github.com/neodix42/MyLocalTon/assets/5512957/d561ed3e-4570-4666-a642-e5cd9d2df3be>
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMOVWWKLR3OIFX7SQPFULLLYJMWWHAVCNFSM6AAAAABAPZN5OOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJWGIZTANJTGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
It works! Just perfect! Thank you very much! 🤝 |
It's a strange, but it works only 10-20 first requests (getMasterchainInfo) and then always "error": "Liteserver timeout". |
Please try the latest version and reply if you are still having this issue. Thanks for reporting. |
Please, help. Can't start TON-HTTP-API.
I got empty wondow:
My settings:
I tried Manual TON-HTTP-API installation
but got this:
start pip3 install -U ton-http-api
What path I have to do it in?
I have jdk-17 (tried jdk-21 too)
I tried to connect to MyLocalTon from local TON-HTTP-API.
I used configs (all of them) in path:
myLocalTon\genesis\db
and got this:
Logs (myLocalTon\genesis\db\log):
2023.12.11_15-55-21.thread1.log
2023.12.11_15-55-21.thread2.log
2023.12.11_15-55-25.thread2.log
2023.12.11_15-55-25.thread3.log
The text was updated successfully, but these errors were encountered: