server
server copied to clipboard
Failed to read DnsConfig
Dns_config_service_win.cc(653) failed to read Dnsconfig warning message keep showing up every 5 seconds in the console when you are on a standalone machine(if you are not connected to any network). Is there a way to disable this message, because it keep interfering with typing of command
Dial in a fake dns address in network config like 8.8.8.8
@Julusian is this still an issue?
ping @Julusian
I think I was still seeing this recently. It happens when there is no active network connection or WiFi disconnected.
Yes, I can reproduce this
The solution to this appears to be to reduce the amount of logging done by CEF. That does stop any js console.log calls from being shown and could potentially hide other useful information.
diff --git a/src/modules/html/html.cpp b/src/modules/html/html.cpp
index 4ecec06f2..9e3404700 100644
--- a/src/modules/html/html.cpp
+++ b/src/modules/html/html.cpp
@@ -238,6 +238,7 @@ void init(core::module_dependencies dependencies)
settings.no_sandbox = true;
settings.remote_debugging_port = env::properties().get(L"configuration.html.remote-debugging-port", 0);
settings.windowless_rendering_enabled = true;
+ settings.log_severity = LOGSEVERITY_ERROR;
CefInitialize(main_args, settings, CefRefPtr<CefApp>(new renderer_application(enable_gpu)), nullptr);
});
g_cef_executor->begin_invoke([&] { CefRunMessageLoop(); });
We need to see console.log
output.
The error message doesnt appear in the Caspar-log file.
The same problem is in 2.18NRK, 2.2.0 and 2.2.1 that I have tested.
caspar_2019-05-31.log
We encountered the same issue today with a "standalone" machine running 2.3.2 LTS. It also prevented the scanner from running because it was unable to connect. We were able to work around the issue by connecting the LAN port to another local machine and setting IP information manually. Setting up a loopback adapter may also be a viable solution.