6 Replies Latest reply: Aug 23, 2013 2:54 PM by Bob R. Kenyon
Bernard Harte Level 4 (3,220 points)

I have seen this problem before, but it was resolved in Snow Leopard (possibly before) and has only just started happening again in Lion (10.7.3):


When I select my company (Cisco IPSec) VPN from the (built-in) network menu it goes through the motions of "Connecting..." and then fails giving the reason "...negotiation with the VPN server failed..." in a dialog.  However, selecting it for a second time always presents the expected user authentication dialog.


I have also noticed a pattern that after a successful connection has been terminated, the next attempt will always fail in the manner described whereas cancelling at the authentication dialog and then immediately retrying will work as expected.


There's some kind of alternation going on here, but I can't explain what it is.  Does anyone else have experience of this or suggestions of what might be happening (and, ideally, a workaround) please?


NOTE: I have seen other discussions here about Back to My Mac being a culprit, but that appears to be consistently not working - not this alternation thing

MacBook Pro, Mac OS X (10.7.3), 13" Late 2011 8GB RAM
  • Jouster Level 1 (0 points)

    Yep, I have the same problem. Did you find a solution yet?

  • Bernard Harte Level 4 (3,220 points)

    Afraid not.  AppleCare recommended trashing /Library/Preferences/System\ Configuration/ folder and setting-up the connection again, but I have not had time to try yet (as it will wipe more than just my network preferences AFAIK).

  • Jouster Level 1 (0 points)

    Yeah, I'd be sceptical of that solution as it does the exact same thing on two separate Macs for me. Bummer.

  • Fiwalli Level 1 (0 points)

    Same problem here.  It is incredibly reliable.  After almost exactly 1 hour, VPN drops.  Then the first connection after fails to connect with your error.  Then the next attempt immediately connects.

  • Bernard Harte Level 4 (3,220 points)

    I think I may have found the solution (at least it seems to have worked for me):


    Trash: ~/Library/Preferences/com.apple.systemuiserver.plist  and the associated lockfile


    Restart the Mac.


    I noticed that my systemuiserver process was running out-of-control - nearly 100% of a CPU and hogging RAM - so that was my main motivation, but it seems to have dealt with the VPN problem also.

  • Bob R. Kenyon Level 1 (15 points)

    Thanks! That worked for me! I had the VPN server working perfectly and then from time to time, it wouldn't work any more without changing anything. Deleting these files fixed it.


    Thanks again!