Bug 385304 - `No agents were available for this request` message when I set an encrypted wi-fi password
Summary: `No agents were available for this request` message when I set an encrypted w...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma-nm
Classification: Plasma
Component: kcm (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-02 18:19 UTC by Patrick Silva
Modified: 2017-10-03 12:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot showing the notification (26.97 KB, image/png)
2017-10-02 18:19 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2017-10-02 18:19:37 UTC
Created attachment 108132 [details]
screenshot showing the notification

Neon dev unstable here...
If an encrypted wi-fi password is configured, plasma shows this notification every time the network kcm is started.
Comment 1 Jan Grulich 2017-10-03 06:15:33 UTC
Can you please show me information about your connection which is selected by default when you open kcm?

Use: nmcli -f all connection show connection_name

But I guess you have broken kwallet configuration or something like that. You can also check whether our secret agent is running, using:
if `qdbus org.kde.kded5 /kded org.kde.kded5.loadedModules | grep networkmanagement > /dev/null`; then echo "running"; else echo "not running"; fi
Comment 2 Patrick Silva 2017-10-03 11:49:46 UTC
Yes, the secret agent is running.

Here is nmcli -f all connection show connection_name output

connection.id:                          Vírtua
connection.uuid:                        13a8920c-cfe6-4be2-a002-3bbfdeeee2f9
connection.interface-name:              --
connection.type:                        802-11-wireless
connection.autoconnect:                 yes
connection.autoconnect-priority:        0
connection.timestamp:                   1507031279
connection.read-only:                   no
connection.permissions:                 user:stalker
connection.zone:                        --
connection.master:                      --
connection.slave-type:                  --
connection.autoconnect-slaves:          -1 (default)
connection.secondaries:                 
connection.gateway-ping-timeout:        0
connection.metered:                     unknown
connection.lldp:                        -1 (default)
802-11-wireless.ssid:                   56Kbps
802-11-wireless.mode:                   infrastructure
802-11-wireless.band:                   --
802-11-wireless.channel:                0
802-11-wireless.bssid:                  --
802-11-wireless.rate:                   0
802-11-wireless.tx-power:               0
802-11-wireless.mac-address:            --
802-11-wireless.cloned-mac-address:     --
802-11-wireless.mac-address-blacklist:  
802-11-wireless.mac-address-randomization:default
802-11-wireless.mtu:                    auto
802-11-wireless.seen-bssids:            10:FE:ED:0E:96:C8
802-11-wireless.hidden:                 yes
802-11-wireless.powersave:              default (0)
802-11-wireless-security.key-mgmt:      wpa-psk
802-11-wireless-security.wep-tx-keyidx: 0
802-11-wireless-security.auth-alg:      --
802-11-wireless-security.proto:         
802-11-wireless-security.pairwise:      
802-11-wireless-security.group:         
802-11-wireless-security.leap-username: --
802-11-wireless-security.wep-key0:      <hidden>
802-11-wireless-security.wep-key1:      <hidden>
802-11-wireless-security.wep-key2:      <hidden>
802-11-wireless-security.wep-key3:      <hidden>
802-11-wireless-security.wep-key-flags: 0 (none)
802-11-wireless-security.wep-key-type:  0 (unknown)
802-11-wireless-security.psk:           <hidden>
802-11-wireless-security.psk-flags:     1 (agent-owned)
802-11-wireless-security.leap-password: <hidden>
802-11-wireless-security.leap-password-flags:0 (none)
ipv4.method:                            auto
ipv4.dns:                               
ipv4.dns-search:                        
ipv4.dns-options:                       (default)
ipv4.dns-priority:                      0
ipv4.addresses:                         
ipv4.gateway:                           --
ipv4.routes:                            
ipv4.route-metric:                      -1
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-timeout:                      0
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.dhcp-fqdn:                         --
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv4.dad-timeout:                       -1 (default)
ipv6.method:                            auto
ipv6.dns:                               
ipv6.dns-search:                        
ipv6.dns-options:                       (default)
ipv6.dns-priority:                      0
ipv6.addresses:                         
ipv6.gateway:                           --
ipv6.routes:                            
ipv6.route-metric:                      -1
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.ip6-privacy:                       -1 (unknown)
ipv6.addr-gen-mode:                     stable-privacy
ipv6.dhcp-send-hostname:                yes
ipv6.dhcp-hostname:                     --
Comment 3 Jan Grulich 2017-10-03 12:04:12 UTC
Your password is "agent-owned", which means it should be stored in KWallet, can you verify that? You can open kwalletmanager and go to "Network Management" → Maps → some UUID, where one of them will be your connection. Does the connection connect without prompting for a password when you activate it?
Comment 4 Patrick Silva 2017-10-03 12:21:00 UTC
kwalletmanager was disabled on my system.
After enabled it and restart my session, plasma does not ask for my wi-fi password anymore and no notification appears when I open the network kcm.
Comment 5 Jan Grulich 2017-10-03 12:24:02 UTC
That was my guess. Glad your problem is gone.