Closed tbnobody closed 1 month ago
This works as a workaround
diff --git a/src/dashboard.py b/src/dashboard.py
index fca6bc0..5cbd83c 100644
--- a/src/dashboard.py
+++ b/src/dashboard.py
@@ -1118,7 +1118,7 @@ class DashboardConfig:
"peer_global_DNS": "1.1.1.1",
"peer_endpoint_allowed_ip": "0.0.0.0/0",
"peer_display_mode": "grid",
- "remote_endpoint": ifcfg.default_interface()['inet'],
+ "remote_endpoint": ifcfg.default_interface()['inet'] if ifcfg.default_interface() else '',
"peer_MTU": "1420",
"peer_keep_alive": "21"
},
Will add this workaround to the fix
Fixed in v4.0.3. Thanks to @tbnobody providing the fix.
Describe The Problem When starting the dashboard I get the following errors message:
To Reproduce I also just launched a python interpreter and executed the following:
Not sure how ifcfg determines a default interface but it doesn't seem to work always.
OS Information: