server icon indicating copy to clipboard operation
server copied to clipboard

Failed to read DnsConfig

Open PeterAkakpo opened this issue 7 years ago • 9 comments

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

PeterAkakpo avatar Mar 08 '17 05:03 PeterAkakpo

Dial in a fake dns address in network config like 8.8.8.8

mauricev78 avatar Mar 08 '17 07:03 mauricev78

@Julusian is this still an issue?

ronag avatar Feb 15 '18 10:02 ronag

ping @Julusian

ronag avatar Mar 06 '18 18:03 ronag

I think I was still seeing this recently. It happens when there is no active network connection or WiFi disconnected.

TomKaltz avatar Mar 06 '18 18:03 TomKaltz

Yes, I can reproduce this

Julusian avatar Mar 06 '18 20:03 Julusian

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(); });

Julusian avatar Mar 07 '18 13:03 Julusian

We need to see console.log output.

jesperstarkar avatar Mar 07 '18 17:03 jesperstarkar

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 Capture

markusnygard avatar May 31 '19 19:05 markusnygard

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.

bine-tfn avatar Oct 27 '20 18:10 bine-tfn