amnezia-vpn / amnezia-client

Amnezia VPN Client (Desktop+Mobile)
https://amnezia.org
GNU General Public License v3.0
4.47k stars 291 forks source link

"connect" button doesnt work sometimes #1080

Open JayKesler opened 1 week ago

JayKesler commented 1 week ago

Describe the bug I push "Connect" button and nothing happens

To Reproduce Steps to reproduce the behavior:

  1. Go to Amnezia
  2. Click on "Connect"
  3. ...
  4. Ure fucked!

Expected behavior Connection

Log files Dunno where they are. If u want ppl to attach logs, please make them appear in the core folder under "logs".

Screenshots n/a

Desktop (please complete the following information):

Smartphone (please complete the following information): n/a

Server (please complete the following information):

Additional context It comes and goes. In the morning i was connected for quite some time, but then, suddenly, i couldnt connect anymore. Then in, like, an hour, it started working again and now at night it doesnt. Using Amneia protocol and Amnezia DNS. Connecting to the server in Germany from Russia. Half the time it works fine, almost instantly connects and works great. Other times it doesnt work at all, doesnt even give me any type of error message, button just wont work and that is it. Checked server: it was running as always, nothing happened to it. Restarting server and restarting my PC doesnt fix the issue.

HallisCode commented 1 week ago

i have a log file chained with this issue :

Looks like the error is on the backend, I tried to find the log files on the server but couldn't.

2024-09-22 12:58:10 debug VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
2024-09-22 12:58:10 debug "ConnectToVpn, Server index is 0, container is amnezia-awg, route mode is" Settings::VpnOnlyForwardSites
2024-09-22 12:58:10 debug IpcClient::init succeed
2024-09-22 12:58:10 debug Amnezia "LocalSocketController" "Deactivating"
2024-09-22 12:58:10 debug Amnezia "LocalSocketController" "Deactivating"
2024-09-22 12:58:10 debug Amnezia "LocalSocketController" "Initializing"
2024-09-22 12:58:10 debug Amnezia "LocalSocketController" "Connecting to: \\\\.\\pipe\\amneziavpn"
2024-09-22 12:58:10 debug Amnezia "LocalSocketController" "Daemon connected"
2024-09-22 12:58:10 debug Amnezia "LocalSocketController" "Check status"
2024-09-22 12:58:10 debug Amnezia "LocalSocketController" "Reading"
2024-09-22 12:58:10 debug Amnezia "LocalSocketController" "Parse command: status"
2024-09-22 12:58:40 debug Amnezia "LocalSocketController" "Reading"
2024-09-22 12:58:40 debug Amnezia "LocalSocketController" "Parse command: backendFailure"
2024-09-22 12:58:40 critical backendFailure
2024-09-22 12:58:40 debug Amnezia "LocalSocketController" "Parse command: disconnected"
2024-09-22 12:59:40 warning Retrying to obtain clipboard.
ITmind commented 9 hours ago

The problem is similar. I click the "Connect" button, it spins and the inscription "Connect"remains. BUT at the same time, the Amnezia VPN (tunnel) service rises and traffic goes through the VPN (everything works). The problem is that the app says that it is not connected, although in fact it is connected. And to disconnect from the VPN, you need to manually stop the Amnezia VPN service

2024-09-30 14:28:59 debug LocalServer new connection 2024-09-30 14:28:59 debug Amnezia "DaemonLocalServer" "New connection received" 2024-09-30 14:28:59 debug Amnezia "DaemonLocalServerConnection" "Connection created" 2024-09-30 14:28:59 debug Amnezia "DaemonLocalServerConnection" "Read Data" 2024-09-30 14:28:59 debug Amnezia "DaemonLocalServerConnection" "Command received: status" 2024-09-30 14:28:59 debug Amnezia "Daemon" "Status request" 2024-09-30 14:28:59 debug Amnezia "DaemonLocalServerConnection" "Command received: activate" 2024-09-30 14:28:59 debug Amnezia "Daemon" "Activating interface" 2024-09-30 14:28:59 debug Getting Current Internet Adapter that routes to "94.156.116.85" 2024-09-30 14:28:59 debug Internet Adapter: "ethernet_32769" 2024-09-30 14:28:59 debug Amnezia "WindowsTunnelService" "Starting the tunnel service" 2024-09-30 14:28:59 debug Amnezia "WindowsCommons" "Failed to find WireGuard Tunnel log file" 2024-09-30 14:28:59 debug Amnezia "WindowsTunnelService" "Service: C:/Program Files/AmneziaVPN/AmneziaVPN-service.exe" 2024-09-30 14:28:59 debug Amnezia "WindowsTunnelService" "The service is not in the right status yet." 2024-09-30 14:28:59 warning QFSFileEngine::open: No file name specified 2024-09-30 14:28:59 warning QFSFileEngine::open: No file name specified 2024-09-30 14:28:59 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:00 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:00 debug Amnezia "WindowsTunnelService" "The tunnel service is up and running" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Enabling Killswitch Using Adapter: 65" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow usage of VPN Adapter : Allow out traffic on Adapter 65" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow usage of VPN Adapter : Allow in traffic on Adapter 65" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow usage of VPN Adapter : Allow out traffic on Adapter 65" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow usage of VPN Adapter : Allow in traffic on Adapter 65" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow DHCP Traffic : Allow Outbound DHCP" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow DHCP Traffic : Allow inbound DHCP" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow DHCP Traffic : Allow outbound DHCPv6" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow DHCP Traffic : Allow inbound DHCPv6" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow Hyper-V Traffic : Permit Hyper-V => Hyper-V outbound" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow Hyper-V Traffic : Permit Hyper-V => Hyper-V inbound" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow all for AmneziaVPN.exe : Permit (out) IPv4 Traffic of: AmneziaVPN-service" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow all for AmneziaVPN.exe : Permit (in) IPv4 Traffic of: AmneziaVPN-service" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Block all DNS : Block outgoing v6 on Port 53" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Block all DNS : Block outgoing v4 on Port 53" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Block all DNS : Block incoming v4 on Port 53" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Block all DNS : Block incoming v6 on Port 53" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow Loopback traffic on device loopback_0 : Allow out traffic on Adapter 1" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow Loopback traffic on device loopback_0 : Allow in traffic on Adapter 1" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow Loopback traffic on device loopback_0 : Allow out traffic on Adapter 1" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow Loopback traffic on device loopback_0 : Allow in traffic on Adapter 1" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Killswitch on! Rules: 20" 2024-09-30 14:29:00 debug Amnezia "WireguardUtilsWindows" "Registration completed" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Adding exclusion route for XXXXXXXX" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 1 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 6 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 22 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 32 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 2 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Failed to update route: 5010" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Enabling traffic for peer SPjiXvSZ8DBOtTIQpvXOBI6ayA7ndG3HbFTI0XMLdFY=" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Block Internet : Block traffic to 0.0.0.0/0" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Block Internet : Block traffic from 0.0.0.0/0" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Block Internet : Block traffic to ::/0" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Block Internet : Block traffic from ::/0" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow DNS-Server : Permit traffic to 1.1.1.1 on port 53" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow DNS-Server : Permit traffic from 1.1.1.1 on port 53" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "range: 94.156.116.85" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow Ecxlude route : Allow traffic to 94.156.116.85/32" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Filter added: Allow Ecxlude route : Allow traffic from 94.156.116.85/32" 2024-09-30 14:29:00 debug Amnezia "WireguardUtilsWindows" "Configuring peer 48f8e25ef499f0304eb53210a6f5ce9ac80ee7746dc76cb7456 via 94.156.116.85" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Adding exclusion route for XXXXXXXX" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Exclusion route already exists" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Adding exclusion route for XXXXXXXX" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 1 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 6 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 22 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 32 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 2 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Failed to update route: 87" 2024-09-30 14:29:00 debug Amnezia "WireguardUtilsWindows" "DATA: errno=0" 2024-09-30 14:29:00 debug Amnezia "DnsUtilsWindows" "Configuring DNS for AmneziaVPN" 2024-09-30 14:29:00 debug Amnezia "WireguardUtilsWindows" "Failed to create route to XXXXXXXX result: 1168" 2024-09-30 14:29:00 debug Amnezia "Daemon" "Routing configuration failed for XXXXXXXX" 2024-09-30 14:29:00 debug Amnezia "WindowsFirewall" "Firewall Disabled!" 2024-09-30 14:29:00 debug Amnezia "DaemonLocalServerConnection" "Failed to activate the interface" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Routes changed" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 1 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 6 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 22 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 32 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 2 is valid for IPv4 routing" 2024-09-30 14:29:00 debug Amnezia "WindowsRouteMonitor" "Interface 1 is valid for IPv6 routing" 2024-09-30 14:29:00 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:00 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:00 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:01 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:01 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:01 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:02 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:02 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:02 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:02 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:03 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:03 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:03 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:03 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:04 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:04 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:04 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:04 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:05 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:05 warning QFSFileEngine::open: No file name specified 2024-09-30 14:29:05 warning QFSFileEngine::open: No file name specified