nm dialog prematurely while reconnecting vpn after sleep

Bug #1514619 reported by Max Waterman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

1. connect to vpn
2. close laptop lid so machine goes to sleep(?)
3. open laptop lid - notice that vpn is no longer connected
4. attempt to reconnect vpn

At this point, the nm dialog opens, and connects to the remote vpn host, and offers the 'login' (password is saved).

I guess there is a timing issue, but often, after pressing the 'login' button, there is a message that pops up saying the vpn connection has failed; resulting in me having to attempt to reconnect again. It is quite confusing and it seems like the login attempt has failed due to something wrong, but it is probably only informing me that the vpn was disconnected due to the machine going to sleep.

IMO, the displaying of the 'vpn disconnected' message should not cause the attempt to reconnect to become invalid/cancelled. I don't mind seeing the message, but it should not delay my attempt to reconnect and should be followed by a 'connected' message.

Description: Ubuntu 15.10
Release: 15.10

$ apt-cache policy network-manager
network-manager:
  Installed: 1.0.4-0ubuntu5.1
  Candidate: 1.0.4-0ubuntu5.1
  Version table:
 *** 1.0.4-0ubuntu5.1 0
        500 http://archive.ubuntu.com/ubuntu/ wily-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.0.4-0ubuntu5 0
        500 http://archive.ubuntu.com/ubuntu/ wily/main amd64 Packages

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.