Re: Issue 117973 in chromium: Chrome does not detect internet connection that established without NetworkManager

30 views
Skip to first unread message

chro...@googlecode.com

unread,
Mar 20, 2012, 2:52:30 AM3/20/12
to chromi...@chromium.org

Comment #1 on issue 117973 by felf...@gmail.com: Chrome does not detect
internet connection that established without NetworkManager
http://code.google.com/p/chromium/issues/detail?id=117973

I experience the same issue.

Some additional info:
- I don't have NetworkManager installed at all.
- My proxy is configured via standard env-variables.
- If started on the commandline, it spits out the following on stderr:

[4251:4259:2272690513:ERROR:object_proxy.cc(239)] Failed to call method:
org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.NetworkManager was not provided by any .service files

- If manually entering any URL, chrome apparently resolves *everything* to
127.0.0.1.
- DNS works perfectly with *everything* else.

So: PLEASE don't rely on NetworkManager - I now it's kind of cute - but not
for us nerds with multi-homed machines or otherwise fancy setups. If It
can't connect to the DBUS service, assume *online* state, or better make
the whole beast configurable so that we can disable it.

chro...@googlecode.com

unread,
Mar 24, 2012, 11:03:24 PM3/24/12
to chromi...@chromium.org
Updates:
Cc: ad...@chromium.org

Comment #3 on issue 117973 by mme...@chromium.org: Chrome does not detect

internet connection that established without NetworkManager
http://code.google.com/p/chromium/issues/detail?id=117973

Not at all familiar with NetworkChangeNotifier on Linux, but looks like we
are indeed using NetworkManager if it's available:

// This implementation of NetworkChangeNotifier's offline state detection
// depends on D-Bus and NetworkManager, and is known to work on at least
// GNOME version 2.30. If D-Bus or NetworkManager are unavailable, this
// implementation will always behave as if it is online.

Comment was added by adamk.

chro...@googlecode.com

unread,
Jun 7, 2012, 5:39:19 AM6/7/12
to chromi...@chromium.org

Comment #5 on issue 117973 by Guilhem....@gmail.com: Chrome does not detect
internet connection that established without NetworkManager
http://code.google.com/p/chromium/issues/detail?id=117973

same problem here!
We are using chromium on a server (Ubuntu 12.04) to do selenium tests.
Chromium can't be launch with the same error : ERROR:object_proxy.cc(239)]

chro...@googlecode.com

unread,
Jun 7, 2012, 10:53:18 AM6/7/12
to chromi...@chromium.org
Updates:
Status: Untriaged

Comment #6 on issue 117973 by cben...@chromium.org: Chrome does not detect
internet connection that established without NetworkManager
http://code.google.com/p/chromium/issues/detail?id=117973

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Jun 14, 2012, 7:54:16 PM6/14/12
to chromi...@chromium.org
Updates:
Status: Assigned
Owner: ad...@chromium.org
Labels: Mstone-22

Comment #7 on issue 117973 by w...@chromium.org: Chrome does not detect
internet connection that established without NetworkManager
http://code.google.com/p/chromium/issues/detail?id=117973

adamk: could you take a look at this? You added the Linux offline
state detection code (using org.freedesktop.NetworkManager) in
http://codereview.chromium.org/8575013. Thanks.

chro...@googlecode.com

unread,
Jun 14, 2012, 7:56:16 PM6/14/12
to chromi...@chromium.org

Comment #8 on issue 117973 by ad...@chromium.org: Chrome does not detect
internet connection that established without NetworkManager
http://code.google.com/p/chromium/issues/detail?id=117973

I don't think there's much we can do short of taking manfuin's suggestion
to add a flag to disable this for folks who run NetworkManager but don't
let it manage all connections. Unless we want to stop using the
NetworkManager solution altogether and roll something more low-level
ourselves.

chro...@googlecode.com

unread,
Sep 25, 2012, 2:03:07 AM9/25/12
to chromi...@chromium.org

Comment #10 on issue 117973 by mclipsco: Chrome does not detect internet
connection that established without NetworkManager
http://code.google.com/p/chromium/issues/detail?id=117973

For those that use Network-manager: I fixed this problem yesterday using
the following solution for Debian 6.x, Gnome 2.x window manager, and Google
Chrome Stable. The problem seemed to be an issue between Gnome's
network-manager and Google Chrome accessing Google Drive:

http://forums.debian.net/viewtopic.php?f=30&t=83013

Implement the change above: comment out the line with NetworkManager in
/etc/network/interfaces like this:

#NetworkManager#iface eth0 inet dhcp

save, reboot, and enjoy!

chro...@googlecode.com

unread,
Nov 9, 2012, 5:52:38 AM11/9/12
to chromi...@chromium.org

Comment #15 on issue 117973 by felf...@gmail.com: Chrome does not detect
internet connection that established without NetworkManager
http://code.google.com/p/chromium/issues/detail?id=117973

As i wrote earlier: Regardles of which mechanism you come up with, PLEASE
add an option which allows the user to switch off any atomatic. Linux users
usually KNOW if they are online or offline.


chro...@googlecode.com

unread,
Nov 29, 2012, 12:27:10 PM11/29/12
to chromi...@chromium.org

Comment #16 on issue 117973 by bugdro...@chromium.org: Chrome does not
detect internet connection that established without NetworkManager
http://code.google.com/p/chromium/issues/detail?id=117973#c16

The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=170211

------------------------------------------------------------------------
r170211 | paulj...@chromium.org | 2012-11-29T17:11:55.981580Z

Changed paths:
M
http://src.chromium.org/viewvc/chrome/trunk/src/net/net.gyp?r1=170211&r2=170210&pathrev=170211
D
http://src.chromium.org/viewvc/chrome/trunk/src/net/base/network_change_notifier_linux_unittest.cc?r1=170211&r2=170210&pathrev=170211
M
http://src.chromium.org/viewvc/chrome/trunk/src/net/base/network_change_notifier_linux.cc?r1=170211&r2=170210&pathrev=170211
M
http://src.chromium.org/viewvc/chrome/trunk/src/net/base/address_tracker_linux_unittest.cc?r1=170211&r2=170210&pathrev=170211
M
http://src.chromium.org/viewvc/chrome/trunk/src/net/base/network_change_notifier_linux.h?r1=170211&r2=170210&pathrev=170211
M
http://src.chromium.org/viewvc/chrome/trunk/src/net/base/address_tracker_linux.cc?r1=170211&r2=170210&pathrev=170211
M
http://src.chromium.org/viewvc/chrome/trunk/src/base/threading/thread_restrictions.h?r1=170211&r2=170210&pathrev=170211
M
http://src.chromium.org/viewvc/chrome/trunk/src/net/base/address_tracker_linux.h?r1=170211&r2=170210&pathrev=170211

Use Netlink instead of NetworkManager (via D-bus) to monitor network
connectivity on Linux.

BUG=117973


Review URL: https://chromiumcodereview.appspot.com/11359141
------------------------------------------------------------------------

chro...@googlecode.com

unread,
Nov 29, 2012, 12:34:10 PM11/29/12
to chromi...@chromium.org
Updates:
Status: Fixed
Owner: pauljen...@chromium.org

Comment #17 on issue 117973 by pauljen...@chromium.org: Chrome does not
detect internet connection that established without NetworkManager
Reply all
Reply to author
Forward
0 new messages