Comment 41 for bug 1247682

Revision history for this message
Tom Carroll (h-thomas-carroll) wrote :

I disagree with the duplicate status.

From my debug logs and the above attached patches, a timeout is expiring.

The key artifact is

NetworkManager[14599]: <debug> [1476879550.3835] agent-manager: req[0xb9f6c0, :1.43/org.freedesktop.nm-applet/1000]: agent failed secrets request [0x7f13f8006270/"My VPN"/"vpn"]: Timeout was reached
NetworkManager[14599]: <debug> [1476879550.3837] settings-connection[0xb528f0,b7ea4f0f-f388-4225-ae66-536753417125]: (vpn:0xbc7180) secrets request error: No agents were available for this request.

The problem arises that the dbus timeout expires waiting for user to input username and password. This happens as the timeout includes the time for cstub to execute. The attached patch, which borrows from NetworkManager 1.4.2, increases the timeout to allow for more time for cstub to execute and the user to provide input.