Closed ghost closed 3 years ago
i have same trouble, with same error
you can open folder with log files by pressing L button on Amnezia client window, or open folder in C:\Users\%USERNAME%\AppData\Roaming\AmneziaVPN.ORG\AmneziaVPN\log
Amnezia service log is in C:\ProgramData\AmneziaVPN\log
Please provide full logs for this issue - C:\Users\%USERNAME%\AppData\Roaming\AmneziaVPN.ORG\AmneziaVPN\log and C:\ProgramData\AmneziaVPN\log
Same trouble
2021-04-14 17:38:20 info Started AmneziaVPN version 1.0.0.0 2021-04-14 17:38:20 info Windows 10 Version 2004 (x86_64) 2021-04-14 17:38:20 debug MainWindow::onConnectionStateChanged "Disconnected" 2021-04-14 17:38:20 debug Default config: C:/Users/Nexes/AppData/Roaming/AmneziaVPN.ORG/AmneziaVPN/config/AmneziaVPN.ovpn 2021-04-14 17:38:21 debug connectToVpn, CustomRouting is false 2021-04-14 17:38:21 debug Connect to VPN 2021-04-14 17:38:21 debug MainWindow::onConnectionStateChanged "Connecting..." 2021-04-14 17:38:21 debug EasyRsa sh path "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa" 2021-04-14 17:38:21 debug EasyRsa tmp path C:/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf 2021-04-14 17:38:21 debug EasyRsa args /C "ash.exe "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa" init-pki" 2021-04-14 17:38:22 debug Init PKI Note: using Easy-RSA configuration from: C:/Program Files (x86)/AmneziaVPN/easyrsa/vars
2021-04-14 17:38:22 debug Init PKI init-pki complete; you may now create a CA or requests. Your newly created PKI dir is: /cygdrive/c/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf/pki
2021-04-14 17:38:22 debug EasyRsa sh path "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa" 2021-04-14 17:38:22 debug EasyRsa args /C "ash.exe "C:\Program Files (x86)\AmneziaVPN\easyrsa\easyrsa" gen-req Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd nopass" 2021-04-14 17:38:22 debug Note: using Easy-RSA configuration from: C:/Program Files (x86)/AmneziaVPN/easyrsa/vars
2021-04-14 17:38:22 debug Using SSL: openssl OpenSSL 1.1.1f 31 Mar 2020
Common Name (eg: your user, host, or server name) [Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd]: 2021-04-14 17:38:23 debug Keypair and certificate request completed. Your files are: req: /cygdrive/c/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf/pki/reqs/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.req key: /cygdrive/c/Users/Nexes/AppData/Local/Temp/AmneziaVPN-agOTcf/pki/private/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.key
2021-04-14 17:38:23 debug Server connected by ssh 2021-04-14 17:38:24 debug sudo: no tty present and no askpass program specified
2021-04-14 17:38:24 debug 2 2021-04-14 17:38:24 debug Run script 2021-04-14 17:38:24 debug EXEC sudo docker exec -i amnezia-shadowsocks bash -c "cd /opt/amneziavpn_data && easyrsa import-req /opt/amneziavpn_data/clients/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.req Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd" 2021-04-14 17:38:24 debug stderr sudo: no tty present and no askpass program specified
2021-04-14 17:38:24 debug EXEC sudo docker exec -i amnezia-shadowsocks bash -c "export EASYRSA_BATCH=1; cd /opt/amneziavpn_data && easyrsa sign-req client Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd" 2021-04-14 17:38:25 debug stderr sudo: no tty present and no askpass program specified
2021-04-14 17:38:25 debug ServerController::runScript finished
2021-04-14 17:38:25 debug Copy file from container sudo docker exec -i amnezia-shadowsocks sh -c "cat '/opt/amneziavpn_data/pki/ca.crt'" 2021-04-14 17:38:25 debug ServerController::getTextFileFromContainer proc started 2021-04-14 17:38:25 debug Copy file from container sudo docker exec -i amnezia-shadowsocks sh -c "cat '/opt/amneziavpn_data/pki/issued/Sb0PBnALnBWvL3XdHvPLMnhpN1NvAYnd.crt'" 2021-04-14 17:38:25 debug ServerController::getTextFileFromContainer proc started 2021-04-14 17:38:25 debug Copy file from container sudo docker exec -i amnezia-shadowsocks sh -c "cat '/opt/amneziavpn_data/ta.key'" 2021-04-14 17:38:25 debug ServerController::getTextFileFromContainer proc started 2021-04-14 17:38:25 debug Run script 2021-04-14 17:38:25 debug EXEC sudo sysctl -w net.ipv4.ip_forward=1 2021-04-14 17:38:25 debug stderr sudo: 2021-04-14 17:38:25 debug stderr no tty present and no askpass program specified
2021-04-14 17:38:25 debug EXEC sudo iptables -P FORWARD ACCEPT 2021-04-14 17:38:25 debug stderr sudo: 2021-04-14 17:38:25 debug stderr no tty present and no askpass program specified
2021-04-14 17:38:25 debug EXEC sudo iptables -A INPUT -p icmp --icmp-type echo-request -j DROP 2021-04-14 17:38:25 debug stderr sudo: 2021-04-14 17:38:25 debug stderr no tty present and no askpass program specified
2021-04-14 17:38:25 debug ServerController::runScript finished
2021-04-14 17:38:25 debug MainWindow::onConnectionStateChanged "Error"
What is server OS, VPS hosting? I found error "no tty present and no askpass program specified" - something wrong with sudo.
What is server OS, VPS hosting? I found error "no tty present and no askpass program specified" - something wrong with sudo.
Self-hosted server, Ubuntu 18.04, created on proxmox, public IP. For test in file etc/sudoers we used "user ALL=(ALL) NOPASSWD:ALL" when "user" is login for Amnesia client but same trouble
Amnezia can't perform such changes on the server. Please ask https://t.me/amnezia_vpn (ru) or https://t.me/amnezia_vpn_en for support if you need help with setting your server.
Hi, i try to install on clean ubuntu server 18.04, after first login on this server i receive this error maybe somewhere i can find log about what process crashed? p.s, i connecting to this server over Zerotier, i think, i need direct (white IP), because after enabling VPN, Amnezia vpn lost connection to my server over Zerotier