Post
Topic
Board Announcements (Altcoins)
Merits 2 from 2 users
Re: Lethean (LTHN): The Safest Way To Be Online. P2P VPN
by
readonly
on 19/10/2018, 20:42:00 UTC
⭐ Merited by proride (1) ,YaStaer (1)
I found a bug with exit-node(proxy). when the server is restarted, cron launches lethean-wallet-vpn-rpc, but it dies with an error

Code:
2018-10-19 19: 26: 40.894 7f9dfdb29740 ERROR wallet.vpn.rpc src/wallet/wallet_vpn_rpc_server.cpp: 175 Failed to create file lethean-wallet-vpn-rpc.14660.login. Check permissions or remove file
2018-10-19 19: 26: 40.894 7f9dfdb29740 ERROR wallet.vpn.rpc src/wallet/wallet_vpn_rpc_server.cpp: 703 Failed to initialize wallet rpc server

why do you need it? I do not understand.
it turns out the wallet can not create a file, since it already exists and it has rights

Code:
-r-------- 1 vpnuser vpnuser 21 Oct 19 20:31 lethean-wallet-vpn-rpc.14660.login

with such rights it is impossible to create a file and we are offered to delete it in order to create a new file.
and when the wallet does not work, then itnsdispatcher dies with an error

Code:
ERROR: root: No connection to wallet. Exiting

if lethean-wallet-vpn-rpc and itnsdispatcher do not work, then when we connect to the node, we get error 503 and we cannot connect, and the coins will already go away.
I found such a way out. in cron the first line I added

Code:
@reboot unlink /home/vpnuser/lethean-wallet-vpn-rpc.14660.login

this will first remove the file lethean-wallet-vpn-rpc.14660.login, and then the wallet and itnsdispatcher will start well

perhaps for this reason we have many non-working nodes. since after a reboot, it is impossible to run lethean-wallet-vpn-rpc and itnsdispatcher