Closed naughtyfox closed 1 year ago
I launched the app in console, hit connect (wireguard this time) and got the logs:
# AmneziaVPN
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
VpnLogic::onConnectionStateChanged "Disconnected"
libpng warning: iCCP: known incorrect sRGB profile
2023-01-08 17:04:28 warning libpng warning: iCCP: known incorrect sRGB profile
2023-01-08 17:04:28 warning qrc:/ui/qml/Pages/Protocols/PageProtoTorWebSite.qml:30: ReferenceError: pb_save is not defined
2023-01-08 17:04:28 debug Warning: Pages components are not ready
2023-01-08 17:04:28 warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:27:5: QML Connections: Detected function "onStartDecode" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
2023-01-08 17:04:28 warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:27:5: QML Connections: Detected function "onStopDecode" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
2023-01-08 17:04:28 warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:28: ReferenceError: nil is not defined
2023-01-08 17:04:29 warning QSystemTrayIcon::setVisible: No Icon set
2023-01-08 17:04:29 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-08 17:04:29 info Started AmneziaVPN version 2.1.2.0
2023-01-08 17:04:29 info Ubuntu 20.04.5 LTS (x86_64)
2023-01-08 17:04:31 debug "СonnectToVpn, Server index is 0, container is amnezia-wireguard, route mode is" Settings::VpnAllSites
2023-01-08 17:04:31 debug IpcClient::init succeed
2023-01-08 17:04:31 debug VpnLogic::onConnectionStateChanged "Connecting..."
2023-01-08 17:04:31 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-08 17:04:31 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-08 17:04:31 critical Failed to save wireguard config to "/tmp/AmneziaVPN.WireGuard0.conf"
2023-01-08 17:04:31 debug VpnProtocol::setConnectionState "Error"
2023-01-08 17:04:31 debug Connection state: 'Error'
2023-01-08 17:04:31 critical VpnProtocol error, code ErrorCode::23(Internal error) Internal error
2023-01-08 17:04:31 debug VpnLogic::onConnectionStateChanged "Error"
I moved file /tmp/AmneziaVPN.WireGuard0.conf
and launched again:
# AmneziaVPN
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
VpnLogic::onConnectionStateChanged "Disconnected"
libpng warning: iCCP: known incorrect sRGB profile
2023-01-08 17:07:48 warning libpng warning: iCCP: known incorrect sRGB profile
2023-01-08 17:07:48 warning qrc:/ui/qml/Pages/Protocols/PageProtoTorWebSite.qml:30: ReferenceError: pb_save is not defined
2023-01-08 17:07:48 debug Warning: Pages components are not ready
2023-01-08 17:07:48 warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:27:5: QML Connections: Detected function "onStartDecode" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
2023-01-08 17:07:48 warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:27:5: QML Connections: Detected function "onStopDecode" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
2023-01-08 17:07:48 warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:28: ReferenceError: nil is not defined
2023-01-08 17:07:48 warning QSystemTrayIcon::setVisible: No Icon set
2023-01-08 17:07:48 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-08 17:07:48 info Started AmneziaVPN version 2.1.2.0
2023-01-08 17:07:48 info Ubuntu 20.04.5 LTS (x86_64)
2023-01-08 17:07:51 debug "СonnectToVpn, Server index is 0, container is amnezia-wireguard, route mode is" Settings::VpnAllSites
2023-01-08 17:07:51 debug IpcClient::init succeed
2023-01-08 17:07:51 debug VpnLogic::onConnectionStateChanged "Connecting..."
2023-01-08 17:07:51 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-08 17:07:51 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-08 17:07:51 debug Set config data /tmp/AmneziaVPN.WireGuard0.conf
2023-01-08 17:07:51 debug Set config data
2023-01-08 17:07:51 critical Wireguard executable missing!
2023-01-08 17:07:51 debug VpnProtocol::setConnectionState "Error"
2023-01-08 17:07:51 debug Connection state: 'Error'
2023-01-08 17:07:51 critical VpnProtocol error, code ErrorCode::28(Internal error) Internal error
2023-01-08 17:07:51 debug VpnLogic::onConnectionStateChanged "Error"
2023-01-08 17:07:51 debug VpnProtocol::setConnectionState "Error"
2023-01-08 17:07:51 critical VpnProtocol error, code ErrorCode::28(Internal error) Internal error```
Okay, I installed wiregurad on my linux. It connected! Trying to figure out what to do with other protocols
The same issue is for ShadowSocks transport:
$ AmneziaVPN
VpnLogic::onConnectionStateChanged "Disconnected"
libpng warning: iCCP: known incorrect sRGB profile
2023-01-09 12:41:01 warning libpng warning: iCCP: known incorrect sRGB profile
2023-01-09 12:41:01 warning qrc:/ui/qml/Pages/Protocols/PageProtoTorWebSite.qml:30: ReferenceError: pb_save is not defined
2023-01-09 12:41:01 debug Warning: Pages components are not ready
2023-01-09 12:41:01 warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:27:5: QML Connections: Detected function "onStartDecode" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
2023-01-09 12:41:01 warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:27:5: QML Connections: Detected function "onStopDecode" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
2023-01-09 12:41:01 warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:28: ReferenceError: nil is not defined
2023-01-09 12:41:01 warning QSystemTrayIcon::setVisible: No Icon set
2023-01-09 12:41:01 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-09 12:41:01 info Started AmneziaVPN version 2.1.2.0
2023-01-09 12:41:01 info Ubuntu 20.04.5 LTS (x86_64)
2023-01-09 12:41:06 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-09 12:41:06 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-09 12:41:10 debug "СonnectToVpn, Server index is 0, container is amnezia-shadowsocks, route mode is" Settings::VpnAllSites
2023-01-09 12:41:10 debug IpcClient::init succeed
2023-01-09 12:41:10 debug VpnLogic::onConnectionStateChanged "Connecting..."
2023-01-09 12:41:10 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-09 12:41:10 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-09 12:41:10 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2023-01-09 12:41:10 debug Set config data /tmp/AmneziaVPN.yiUCzB
2023-01-09 12:41:10 debug VpnProtocol::setConnectionState "Error"
2023-01-09 12:41:10 debug Connection state: 'Error'
2023-01-09 12:41:10 debug VpnLogic::onConnectionStateChanged "Error"
2023-01-09 12:41:10 critical VpnProtocol error, code ErrorCode::25(ShadowSocks (ss-local) executable missing) ShadowSocks (ss-local) executable missing
I made:
sudo apt install shadowsocks-libev
The VPN connected successfully, but it couldn't connect to forbidden sites. But this is another isuue.
Hi!
I have VPS server on Hetzner and want to try Amnezia out. I installed the client software (version 2.1.2 from github) on my linux laptop (Ubuntu 20.04), run the client and installed OpenVPN over Shadowsocks. When I hit "Connect" button, it ends up with an error. I could not find any additional info.
What should I do? Thanks.
UPD. I found
Open logs folder
button in Application settings. But when I press this button nothing happens. UPD2. It managed to connect only to OpenVPN without any extra transport plugins.