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

Failed to read DnsConfig #1771

Open
alexandrethsilva opened this issue Apr 9, 2014 · 21 comments
Open

Failed to read DnsConfig #1771

alexandrethsilva opened this issue Apr 9, 2014 · 21 comments
Labels

Comments

@alexandrethsilva
Copy link

On OS X I have an alert that's triggered on every node-webkit project that I run (including the sample apps), where the terminal throws the following:

[38459:0409/121155:WARNING:dns_config_service_posix.cc(289)] Failed to read DnsConfig.

The apps seem to run normally despite the issue and while investigating the warning all I could find was the part of Chromium's source code that contains this trigger, but nothing else.

My question is if that's an actual error of node-webkit and how it could be solved.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@sholladay
Copy link

I also experience this. Same behavior. I'm guessing it has something to do with network connectivity issues.

@matthew-dean
Copy link

Yeah, what's this about? I get this error all the time. It doesn't seem to cause any fatal problems with the app, but it pollutes the console.

I also get now:

[37399:0427/092538:FATAL:child_shared_bitmap_manager.cc(112)] Check failed: false. 

@Nedudi
Copy link

Nedudi commented Apr 30, 2015

Hi, I have the same issue on OS X

[26837:0430/214650:WARNING:dns_config_service_posix.cc(293)] Failed to read DnsConfig.

@xixixao
Copy link

xixixao commented Jun 9, 2015

Backdoor to Chromium? This happens when I'm offline.

@angelxmoreno
Copy link

any word on this? Does anyone know how this affects the apps built?

@matthew-dean
Copy link

Any ETA on when this will be fixed?

screen shot 2015-09-01 at 11 27 36 am

@mayeaux
Copy link

mayeaux commented Mar 6, 2016

Same thing on OS X
[15576:0306/162600:WARNING:dns_config_service_posix.cc(293)] Failed to read DnsConfig.

@stale
Copy link

stale bot commented Nov 9, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 9, 2017
@stale stale bot closed this as completed Nov 12, 2017
@miry
Copy link

miry commented Jan 2, 2018

Nice. I have the same issue, but it was resolved by bot :)

@sholladay
Copy link

When bugs go unfixed for a long time, they fix themselves!

@rogerwang rogerwang reopened this Jan 3, 2018
@stale stale bot removed the stale label Jan 3, 2018
@rogerwang
Copy link
Member

CC @Christywl please follow up.

@rogerwang
Copy link
Member

@miry @sholladay
In 0.13 and later versions we changed to an optimized architecture so more features can be supported, see http://nwjs.io/blog/whats-new-in-0.13/ and it's good for keeping up with Chromium upstream -- we released with new Chromium versions within 1 day after upstream release.
The new version would fixed many issues reported here and we're scrubbing them. We'll see if this issue still reproduce.

@Christywl
Copy link
Contributor

I try some simple tests on Mac with nwjs v0.27.3 and don't see this error . @miry , could you please provide a sample to reproduce this issue?

@miry
Copy link

miry commented Jan 3, 2018

@Christywl the issue/warning related with Alpine docker image and Chromium in my case:

Sample Dockerfile:

FROM gradle:jdk8-alpine

USER root
RUN apk -U --no-cache --allow-untrusted add \
   zlib-dev \
   chromium \
   wait4ports \
   dbus \
   ttf-freefont \
   chromium-chromedriver \
   grep

After built you can run:

$ docker run -it imagename  /usr/bin/chromium-browser --disable-web-security --headless --disable-gpu --no-sandbox --dump-dom  https://www.chromestatus.com | head -n 1

@rogerwang
Copy link
Member

If it reproduces with the latest Chromium browser, please report it to the Chromium upstream: https://crbug.com/new

@stale
Copy link

stale bot commented Dec 31, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 31, 2018
@stale stale bot closed this as completed Jan 6, 2019
@etheaven
Copy link

I still need help with this.

@DerZyklop
Copy link

Still happening.

@ichux
Copy link

ichux commented Sep 4, 2022

This is still happening till this point in time. I still experience it even after using https://github.com/Zenika/alpine-chrome/blob/master/Dockerfile as recommended by https://stackoverflow.com/a/56829128/2787992

I do not know if this is the reason why Chrome will not use a working VPN inside the docker container I set up, but Firefox is able to use same VPN!

Here is a sample snapshot:
Screenshot 2022-09-04 at 08 31 39

On further investigation, WARNING:dns_config_service_linux.cc(428)] Failed to read DnsConfig appears at the source code location
https://source.chromium.org/chromium/chromium/src/+/master:net/dns/dns_config_service_win.cc;l=512

@YuliyaFilippova
Copy link

Have got this issue with updating Chrome 110.0.0 version.
WARNING:dns_config_service_win.cc(583)] Failed to read DnsConfig.

Any workaround of the issue?

@dberardo-com
Copy link

any workaround ?

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

No branches or pull requests