Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more detailed logs to the client #206

Open
teon opened this issue Feb 15, 2024 · 0 comments
Open

Add more detailed logs to the client #206

teon opened this issue Feb 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@teon
Copy link
Contributor

teon commented Feb 15, 2024

Someone just posted an issue with connecting:

  1. My error - VPN could not be connected and have this error in the console - would be good to know what IP is it assigning?, what does it mean by internal error - the place where the internal error occurs there should be more logs:
[2024-03-27][13:52:47][ERROR][defguard_client::utils] Failed to create interface: status: Unavailable, message: "error trying to connect: tcp connect error: Can't assign requested address (os error 49)", details: [], metadata: MetadataMap { headers: {} }
[2024-03-27][13:52:47][ERROR][k0@tauri://localhost/assets/index-3758b28b.js:68:7119] Invoking connect FAILED
"Internal error"
[2024-03-27][13:52:47][ERROR][k0@tauri://localhost/assets/index-3758b28b.js:68:7119] Error handling interface: Internal error
[2024-03-27][13:52:49][ERROR][k0@tauri://localhost/assets/index-3758b28b.js:68:7119] Invoking get_latest_app_version FAILED
{"name":"TimeoutError","message":"Promise timed out after 5000 milliseconds"}
  1. A domain in place of VPN server IP (we support IP):
2024-02-15][12:32:23][INFO][defguard_client::commands] Instances retrieved(0)
[2024-02-15][12:32:26][INFO][defguard_client::commands] Instance created.
[2024-02-15][12:32:26][INFO][defguard_client::commands] Instances retrieved(1)
[2024-02-15][12:32:32][ERROR][k0@tauri://localhost/assets/index-d5216b38.js:68:7119] Invoking connect FAILED
"IP address parse error: invalid socket address syntax"
[2024-02-15][12:32:32][ERROR][k0@tauri://localhost/assets/index-d5216b38.js:68:7119] Error handling interface: IP address parse error: invalid socket address syntax

Logs should print the IPs and more details..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Testing
Development

No branches or pull requests

2 participants