DefGuard / client

Best WireGuard desktop client with Multi-Factor Authentication
66 stars 9 forks source link

Ubuntu 22.04: client doesn't show as connected - no way to disconnect #245

Open Kevin-Thierry-Scaleflex opened 1 week ago

Kevin-Thierry-Scaleflex commented 1 week ago

On Ubuntu 22.04, clicking on "Connect" displays the "Unexpected error occurred!" message but actually establishes the connection. Because of this, it is not possible to disconnect from the VPN.

image

defguard-client version: 0.3.0

Logs when starting defguard-client from the command line (the last 3 lines happen when clicking on "Connect"):

[2024-06-27][08:19:45][INFO][tracing::span] perform;
[2024-06-27][08:19:45][INFO][zbus::handshake] write_command; command=Auth(Some(External), Some([49, 48, 48, 48]))
[2024-06-27][08:19:45][INFO][tracing::span] read_command;
[2024-06-27][08:19:45][INFO][zbus::handshake] write_command; command=NegotiateUnixFD
[2024-06-27][08:19:45][INFO][tracing::span] read_command;
[2024-06-27][08:19:45][INFO][zbus::handshake] write_command; command=Begin
[2024-06-27][08:19:45][INFO][zbus::connection] start_object_server; started_event=Some(Event { .. })
[2024-06-27][08:19:45][INFO][zbus::connection] {}; obj_server_task_name="ObjectServer task"
[2024-06-27][08:19:45][INFO][tracing::span] socket reader;

** (defguard-client:5481): WARNING **: 15:19:45.899: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
[2024-06-27][08:19:45][INFO][defguard_client::database] Created app data dir at: /home/kevin/.local/share/net.defguard
[2024-06-27][08:19:45][INFO][defguard_client::database] Database exists skipping creating database. Database path: /home/kevin/.local/share/net.defguard/defguard.db
[2024-06-27][08:19:45][INFO][defguard_client::database] Applied migrations.
[2024-06-27][08:19:45][INFO][defguard_client] Database initialization completed
[2024-06-27][08:19:45][INFO][defguard_client] Starting main app thread.
[2024-06-27][08:19:45][INFO][defguard_client] Database info result: Ok(
    (),
)

(defguard-client:5481): Gdk-CRITICAL **: 15:19:46.018: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
[2024-06-27][08:19:46][INFO][defguard_client::commands] Instances retrieved(1)
[2024-06-27][08:19:46][INFO][defguard_client::commands] Fetching latest application version with args: current version 0.3.0 and operating system linux
[2024-06-27][08:19:46][INFO][defguard_client::commands] Instances retrieved(1)
[2024-06-27][08:19:51][ERROR][defguard_client::utils] Failed to create interface: status: Internal, message: "Failed to configure DNS for WireGuard interface SBG: DNS error", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "date": "Thu, 27 Jun 2024 08:19:51 GMT", "content-length": "0"} }
[2024-06-27][08:19:51][ERROR][k0@tauri://localhost/assets/index-23b058b6.js:68:7119] Invoking connect FAILED
"Internal error"
[2024-06-27][08:19:51][ERROR][k0@tauri://localhost/assets/index-23b058b6.js:68:7119] Error handling interface: Internal error

Please, let me know if you need me to run more tests or provide more information.