NetworkManager itself appears to be resetting the number of retries for
*all* "failed" connections regardless of what the cause for failure was,
even if that failure was caused by missing secrets (what seems to be
causing the prompt for entering the password again).

Now, this particular issue can come from buggy drivers which would pass
the secret wrong or otherwise fail to connect to an access-point with an
unusual or plain incorrect return code. We can't really account for
these without special casing each driver. However, I was able to
reproduce the issue and write a patch that seems to properly fix the
authentication cases where the password in "incorrect" in NM or
otherwise refused by the AP. When a connection fails because of missing
secrets (e.g the user was prompted but never answered), the connection
is properly marked as failed; then, after 5 minutes the connections that
are failed because of "missing secrets" don't have their retries set
back to 0 like the other failed connections, but rather will wait until
an agent registers, at they should.

There is a test package being built at https://launchpad.net/~mathieu-
tl/+archive/ppa/+sourcepub/3776171/+listing-archive-extra (my PPA).
Please give it a shot and let me know if this fixes the issue
acceptably.

** Changed in: network-manager-applet (Ubuntu)
       Status: Invalid => Triaged

** Changed in: network-manager-applet (Ubuntu)
     Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/912702

Title:
  [MASTER] Endlessly many "Wireless Network Authentication Required"
  dialogs put up

Status in One Hundred Papercuts:
  Fix Released
Status in The Linux Mint Distribution:
  New
Status in NetworkManager:
  Unknown
Status in “network-manager” package in Ubuntu:
  In Progress
Status in “network-manager-applet” package in Ubuntu:
  Triaged

Bug description:
  I left the computer turned on for the night and in the morning I found
  not less than 65, yes 65!!!!!! instances of the same window. my system
  was responding very slowly. and closing one took more than a minute,
  so I had to kill it manually. take a look on my screenshots, they look
  really weird.

  this is very annoying!!!!

  solution: this window shouldn't pop up when the previous one was not
  closed!

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: network-manager-gnome 0.9.1.90-0ubuntu6
  ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
  Uname: Linux 3.0.0-14-generic i686
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  CRDA: Error: [Errno 2] No such file or directory
  Date: Fri Jan  6 11:38:28 2012
  ExecutablePath: /usr/bin/nm-applet
  Gconf:
   
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110921.2)
  IpRoute:
   default via 158.195.192.1 dev eth0  proto static 
   158.195.192.0/19 dev eth0  proto kernel  scope link  src 158.195.196.69  
metric 1 
   169.254.0.0/16 dev eth0  scope link  metric 1000
  Keyfiles: Error: [Errno 2] No such file or directory
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  SourcePackage: network-manager-applet
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/912702/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to