ton-blockchain / mytonctrl

A tool to run and maintain a TON node/validator
GNU General Public License v3.0
274 stars 151 forks source link

Mytonctl2 get adnl error #322

Open nooperpudd opened 3 months ago

nooperpudd commented 3 months ago
 mytonctrl
[info]    08.08.2024, 09:46:41.514 (UTC)  <MainThread>  Start program `/home/ubuntu/.local/share/mytonctrl/mytonctrl.py`
Welcome to the console. Enter 'help' to display the help menu.
[error]   08.08.2024, 09:46:45.068 (UTC)  <MainThread>  Failed to check adnl connection to local node: host: xxxx, port: 15525, pubkey: Dxxxxxxx, error: timed out
[debug]   08.08.2024, 09:46:45.068 (UTC)  <MainThread>  start GetValidatorStatus function

but there is no port 15525 running in the background

ubuntu@blockchain-ton:~/.local/share/mytonctrl$ netstat -nplt
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:5432            0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:46057           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:51164           0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      -
tcp6       0      0 :::8081                 :::*                    LISTEN      -
tcp6       0      0 :::8080                 :::*                    LISTEN      -
tcp6       0      0 :::5432                 :::*                    LISTEN      -
tcp6       0      0 :::22                   :::*                    LISTEN      -
MEIIIOK2 commented 3 months ago

Same for me. Please tag when you find solution.

dawu22 commented 3 months ago

that is udp port. use nc command to test it is success, but mytonctrl is also same error.

macrocan commented 2 months ago

Same for me, had confused me for a long time

dawu22 commented 2 months ago

I set rule udp xxx allow 0.0.0.0/0 in security group, and it's no error now.