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

Provide better feedback or retry when incorrect type (TAP/TUN) (L2/L3) is used #308

Open
Lyamc opened this issue Jun 12, 2022 · 1 comment

Comments

@Lyamc
Copy link

Lyamc commented Jun 12, 2022

** Describe the high-level goal you want to achieve **

When Peer A is running with TAP and Peer B attempts to connect to Peer A, Peer B will get ERROR - Parse error: Invalid IP protocol version instead of either helping point me to the problem, or, just trying something else to make it work.

** Here's a few possible solutions **

1: Provide a clearer or more helpful message like:
ERROR - Parse error: Invalid IP protocol version. Check that the specified type (TUN/TAP) is correct.

2: Add an prompt to test a connection with the config tool to verify that things are correct

3: Add a retry TAP/TUN upon initial connection failure, and display WARN in the logs to indicate that something isn't quite right.

@dswd
Copy link
Owner

dswd commented Jun 17, 2022

Thanks for pointing out. I will add a hint to the error message and maybe some logic to identify the misconfiguration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants