Bug 382017

Summary: A dialog asks me password again, after I entered password and clicked on "Connect" in applet
Product: [Plasma] plasma-nm Reporter: Lion Yang <lion>
Component: appletAssignee: Jan Grulich <jgrulich>
Status: RESOLVED DUPLICATE    
Severity: minor CC: jgrulich, nate, raist356
Priority: NOR    
Version: 5.10.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lion Yang 2017-07-05 14:53:04 UTC
Version:
plasma-nm/os-amd64,now 5.10.0
networkmanager-qt/os-amd64,now 5.34.0
networkmanager/os-amd64,now 1.8.0-3

Here is the log (119 lines):
```
>> Here, I entered password for this WiFi ("TP501"), clicked connect button on applet.
17:30:07 NetworkManager[916]: <info>  [1499247007.2037] keyfile: add connection in-memory (85494039-6684-4671-bdcb-ab0f9281260c,"TP501")
17:30:07 NetworkManager[916]: <info>  [1499247007.2052] device (wlp0s20u2): Activation: starting connection 'TP501' (85494039-6684-4671-bdcb-ab0f9281260c)
17:30:07 NetworkManager[916]: <info>  [1499247007.2183] keyfile: update /etc/NetworkManager/system-connections/TP501 (85494039-6684-4671-bdcb-ab0f9281260c,"TP501") and persist connection
17:30:07 NetworkManager[916]: <info>  [1499247007.2193] keyfile: update /etc/NetworkManager/system-connections/TP501 (85494039-6684-4671-bdcb-ab0f9281260c,"TP501") after persisting connection
17:30:07 NetworkManager[916]: <info>  [1499247007.2195] audit: op="connection-add-activate" uuid="85494039-6684-4671-bdcb-ab0f9281260c" name="TP501" pid=1257 uid=1000 result="success"
17:30:07 NetworkManager[916]: <info>  [1499247007.2265] device (wlp0s20u2): state change: disconnected -> prepare (reason 'none') [30 40 0]
17:30:07 NetworkManager[916]: <info>  [1499247007.2267] manager: NetworkManager state is now CONNECTING
17:30:07 NetworkManager[916]: <info>  [1499247007.2276] device (wlp0s20u2): state change: prepare -> config (reason 'none') [40 50 0]
17:30:07 NetworkManager[916]: <info>  [1499247007.2278] device (wlp0s20u2): Activation: (wifi) access point 'TP501' has security, but secrets are required.
17:30:07 NetworkManager[916]: <info>  [1499247007.2279] device (wlp0s20u2): state change: config -> need-auth (reason 'none') [50 60 0]
17:30:07 kdeinit5[1217]: plasma-nm: Unhandled active connection state change:  1
17:30:07 kdeinit5[1217]: plasma-nm: virtual void SecretAgent::SaveSecrets(const NMVariantMapMap&, const QDBusObjectPath&)
17:30:07 kdeinit5[1217]: plasma-nm: Path: "/org/freedesktop/NetworkManager/Settings/6"
17:30:07 kdeinit5[1217]: plasma-nm: virtual NMVariantMapMap SecretAgent::GetSecrets(const NMVariantMapMap&, const QDBusObjectPath&, const QString&, const QStringList&, uint)
17:30:07 kdeinit5[1217]: plasma-nm: Path: "/org/freedesktop/NetworkManager/Settings/6"
17:30:07 kdeinit5[1217]: plasma-nm: Setting name: "802-11-wireless-security"
17:30:07 kdeinit5[1217]: plasma-nm: Hints: ()
17:30:07 kdeinit5[1217]: plasma-nm: Flags: 5
17:30:07 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
(Repeated 35 times)
17:30:07 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:07 plasmashell[1257]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:44:32: Unable to assign [undefined] to int
>> Here *the dialog* showed, immediately, everthing happened at 17:30:07.
>> 14 seconds, I entered the password again, on dialog. Go on.
17:30:21 NetworkManager[916]: <info>  [1499247021.8609] device (wlp0s20u2): state change: need-auth -> prepare (reason 'none') [60 40 0]
17:30:21 NetworkManager[916]: <info>  [1499247021.8617] device (wlp0s20u2): state change: prepare -> config (reason 'none') [40 50 0]
17:30:21 NetworkManager[916]: <info>  [1499247021.8619] device (wlp0s20u2): Activation: (wifi) connection 'TP501' has security, and secrets exist.  No new secrets needed.
17:30:21 NetworkManager[916]: <info>  [1499247021.8620] Config: added 'ssid' value 'TP501'
17:30:21 NetworkManager[916]: <info>  [1499247021.8620] Config: added 'scan_ssid' value '1'
17:30:21 NetworkManager[916]: <info>  [1499247021.8620] Config: added 'key_mgmt' value 'WPA-PSK'
17:30:21 NetworkManager[916]: <info>  [1499247021.8620] Config: added 'auth_alg' value 'OPEN'
17:30:21 NetworkManager[916]: <info>  [1499247021.8620] Config: added 'psk' value '<hidden>'
17:30:21 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:21 plasmashell[1257]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:44:32: Unable to assign [undefined] to int
17:30:21 plasmashell[1257]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/ExpandedRepresentation.qml:74: TypeError: Cannot read property 'title' of null
17:30:21 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
(Repeated 10 times)
17:30:22 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:22 NetworkManager[916]: <info>  [1499247022.2431] device (wlp0s20u2): supplicant interface state: disconnected -> scanning
17:30:30 wpa_supplicant[995]: wlp0s20u2: Trying to associate with 88:25:93:5a:66:f9 (SSID='TP501' freq=2412 MHz)
17:30:30 wpa_supplicant[995]: wlp0s20u2: Association request to the driver failed
17:30:30 NetworkManager[916]: <info>  [1499247030.3212] device (wlp0s20u2): supplicant interface state: scanning -> associating
17:30:30 kernel: R8188EU: assoc success
17:30:30 wpa_supplicant[995]: wlp0s20u2: Associated with 88:25:93:5a:66:f9
17:30:30 systemd-timesyncd[873]: No network connectivity, watching for changes.
17:30:30 NetworkManager[916]: <info>  [1499247030.4491] device (wlp0s20u2): supplicant interface state: associating -> 4-way handshake
17:30:30 wpa_supplicant[995]: wlp0s20u2: WPA: Key negotiation completed with 88:25:93:5a:66:f9 [PTK=CCMP GTK=CCMP]
17:30:30 wpa_supplicant[995]: wlp0s20u2: CTRL-EVENT-CONNECTED - Connection to 88:25:93:5a:66:f9 completed [id=0 id_str=]
17:30:30 systemd-networkd[920]: wlp0s20u2: Gained carrier
17:30:30 systemd-timesyncd[873]: No network connectivity, watching for changes.
17:30:30 kdeinit5[1217]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "RxBytes"
17:30:30 kdeinit5[1217]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "TxBytes"
17:30:30 NetworkManager[916]: <info>  [1499247030.4878] device (wlp0s20u2): supplicant interface state: 4-way handshake -> completed
17:30:30 NetworkManager[916]: <info>  [1499247030.4878] device (wlp0s20u2): Activation: (wifi) Stage 2 of 5 (Device Configure) successful.  Connected to wireless network 'TP501'.
17:30:30 NetworkManager[916]: <info>  [1499247030.4880] device (wlp0s20u2): state change: config -> ip-config (reason 'none') [50 70 0]
17:30:30 NetworkManager[916]: <info>  [1499247030.4889] dhcp4 (wlp0s20u2): activation: beginning transaction (timeout in 45 seconds)
17:30:30 NetworkManager[916]: <info>  [1499247030.4923] dhcp4 (wlp0s20u2): dhclient started with pid 2116
17:30:30 plasmashell[1257]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "RxBytes"
17:30:30 plasmashell[1257]: networkmanager-qt: virtual void NetworkManager::DevicePrivate::propertyChanged(const QString&, const QVariant&) Unhandled property "TxBytes"
17:30:30 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:30 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:30 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:30 dhclient[2116]: DHCPDISCOVER on wlp0s20u2 to 255.255.255.255 port 67 interval 5
17:30:30 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:30 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:30 kernel: IPv4: martian source 255.255.255.255 from 192.168.1.2, on dev wlp0s20u2
17:30:30 kernel: ll header: 00000000: ff ff ff ff ff ff 88 25 93 5a 66 fa 08 00        .......%.Zf...
17:30:30 dhclient[2116]: DHCPREQUEST on wlp0s20u2 to 255.255.255.255 port 67
17:30:30 dhclient[2116]: DHCPOFFER from 192.168.1.2
17:30:30 kdeconnectd[1255]: kdeconnect.core: Broadcasting identity packet
17:30:31 kernel: IPv4: martian source 255.255.255.255 from 192.168.1.2, on dev wlp0s20u2
17:30:31 kernel: ll header: 00000000: ff ff ff ff ff ff 88 25 93 5a 66 fa 08 00        .......%.Zf...
17:30:31 dhclient[2116]: DHCPACK from 192.168.1.2
17:30:31 NetworkManager[916]: <info>  [1499247031.1552] dhcp4 (wlp0s20u2):   address 192.168.1.109
17:30:31 NetworkManager[916]: <info>  [1499247031.1552] dhcp4 (wlp0s20u2):   plen 24 (255.255.255.0)
17:30:31 NetworkManager[916]: <info>  [1499247031.1552] dhcp4 (wlp0s20u2):   gateway 192.168.1.1
17:30:31 NetworkManager[916]: <info>  [1499247031.1553] dhcp4 (wlp0s20u2):   server identifier 192.168.1.2
17:30:31 NetworkManager[916]: <info>  [1499247031.1553] dhcp4 (wlp0s20u2):   lease time 7200
17:30:31 NetworkManager[916]: <info>  [1499247031.1553] dhcp4 (wlp0s20u2):   nameserver '192.168.1.1'
17:30:31 avahi-daemon[897]: Joining mDNS multicast group on interface wlp0s20u2.IPv4 with address 192.168.1.109.
17:30:31 NetworkManager[916]: <info>  [1499247031.1554] dhcp4 (wlp0s20u2): state changed unknown -> bound
17:30:31 avahi-daemon[897]: New relevant interface wlp0s20u2.IPv4 for mDNS.
17:30:31 avahi-daemon[897]: Registering new address record for 192.168.1.109 on wlp0s20u2.IPv4.
17:30:31 NetworkManager[916]: <info>  [1499247031.1597] device (wlp0s20u2): state change: ip-config -> ip-check (reason 'none') [70 80 0]
17:30:31 NetworkManager[916]: <info>  [1499247031.1609] device (wlp0s20u2): state change: ip-check -> secondaries (reason 'none') [80 90 0]
17:30:31 NetworkManager[916]: <info>  [1499247031.1619] device (wlp0s20u2): state change: secondaries -> activated (reason 'none') [90 100 0]
17:30:31 NetworkManager[916]: <info>  [1499247031.1624] manager: NetworkManager state is now CONNECTED_LOCAL
17:30:31 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:31 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:31 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:31 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:31 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:31 dhclient[2116]: bound to 192.168.1.109 -- renewal in 3518 seconds.
17:30:31 NetworkManager[916]: <info>  [1499247031.2825] manager: NetworkManager state is now CONNECTED_GLOBAL
17:30:31 NetworkManager[916]: <info>  [1499247031.2826] policy: set 'TP501' (wlp0s20u2) as default for IPv4 routing and DNS
17:30:31 NetworkManager[916]: <info>  [1499247031.3327] device (wlp0s20u2): Activation: successful, device activated.
17:30:31 dbus[899]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
17:30:31 systemd[1]: Starting Network Manager Script Dispatcher Service...
17:30:31 kdeconnectd[1255]: kdeconnect.core: Broadcasting identity packet
17:30:31 dbus[899]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
17:30:31 systemd[1]: Started Network Manager Script Dispatcher Service.
17:30:31 nm-dispatcher[2126]: req:1 'up' [wlp0s20u2]: new request (1 scripts)
17:30:31 nm-dispatcher[2126]: req:1 'up' [wlp0s20u2]: start running ordered scripts...
17:30:31 nm-dispatcher[2126]: req:2 'connectivity-change': new request (1 scripts)
17:30:31 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:31 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:31 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:31 nm-dispatcher[2126]: req:2 'connectivity-change': start running ordered scripts...
17:30:31 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:31 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
(Repeated...)
17:30:31 plasmashell[1257]: file:///usr/lib/qt5/qml/QtQuick/Controls/Button.qml:99: TypeError: Cannot read property of null
17:30:31 avahi-daemon[897]: Joining mDNS multicast group on interface wlp0s20u2.IPv6 with address fe80::ae81:5533:4740:76c3.
17:30:31 avahi-daemon[897]: New relevant interface wlp0s20u2.IPv6 for mDNS.
17:30:31 systemd-networkd[920]: wlp0s20u2: Gained IPv6LL
17:30:31 avahi-daemon[897]: Registering new address record for fe80::ae81:5533:4740:76c3 on wlp0s20u2.*.
17:30:31 PackageKit[1447]: get-updates transaction /543_caceacdb from uid 1000 finished with success after 26ms
>> Connected. Journal(log) got its breath again...
```
Comment 1 Morbid 2017-08-25 14:41:03 UTC
Happens to me also. With every network I have to write password twice. It always asks for password on separate window, although correct password was provided in the applet.
I noticed this behavior in every Plasma release after the LTS one.
Comment 2 Morbid 2017-08-25 14:42:51 UTC
(In reply to raist356 from comment #1)
> Happens to me also. With every network I have to write password twice. It
> always asks for password on separate window, although correct password was
> provided in the applet.
> I noticed this behavior in every Plasma release after the LTS one.

I forgot to add. It is distribution independent. Happened to me on Arch, Manjaro and openSUSE.
Comment 3 Jan Grulich 2017-09-11 11:39:53 UTC

*** This bug has been marked as a duplicate of bug 381578 ***