Comments (8)
i have same trouble, with same error
from amnezia-client.
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
from amnezia-client.
from amnezia-client.
Please provide full logs for this issue -
C:\Users%USERNAME%\AppData\Roaming\AmneziaVPN.ORG\AmneziaVPN\log
and
C:\ProgramData\AmneziaVPN\log
from amnezia-client.
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"
from amnezia-client.
What is server OS, VPS hosting?
I found error "no tty present and no askpass program specified" - something wrong with sudo.
from amnezia-client.
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
from amnezia-client.
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.
from amnezia-client.
Related Issues (20)
- Is it possible to run AmnesiaVPN Client on Rapsbian?
- Android app не принимает .ovpn конфиги
- AmneziaWG can't bypass DPI. HOT 1
- Правила раздельного туннелирования подтягиваемые с сервера
- VPN keeps disabling on mobile
- Optional disabling of the Kill-Switch feature HOT 5
- Importing a vpn:// file results in an error "Invalid configuration file" HOT 2
- (запрос на доработку) Изменение значка приложения MacOS HOT 10
- Support for non-systemd linux distributions.
- Please fix bool type field UDP from ios_controller.mm
- Failed to apply OpenVPN configuration when trying to connect OVPN over Cloak from iOS
- Failed to apply OpenVPN configuration when trying to connect OVPN over Cloak from iOS
- Failed to apply OpenVPN configuration when trying to connect OVPN over Cloak from iOS
- No internet connection on Arch Linux HOT 3
- Custom Split tunneling
- debug IpcClient::init failed on Mac OS M3 after reboot HOT 4
- Feature Request: Connect Using Domain
- Feature Request: Proxy only mode
- Feature Request: remote control support via Tasker/Automate on Android
- Only 255 AmneziaWG configs (users) can be created
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amnezia-client.