Bug 2216357 - NetworkManager sometimes fails to ask for a password when connecting to an encrypted WiFi network
Summary: NetworkManager sometimes fails to ask for a password when connecting to an en...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-21 00:25 UTC by Dima Ryazanov
Modified: 2024-05-22 14:09 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-22 14:09:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dima Ryazanov 2023-06-21 00:25:04 UTC
Description of problem:

Once in a while, when connecting to a new WiFi network, I don't get a password prompt, and it simply doesn't connect. If I open WiFi settings in the Settings app and click the network, then the password prompt appears for maybe 0.1 seconds and disappears. The network gets "saved", and, as a workaround, I can then click the "gear" icon and manually enter the password in the security tab.

Version-Release number of selected component (if applicable):

NetworkManager-1.42.6-1.fc38.x86_64

How reproducible:

Somewhat infrequent. Last time it happened, I used airplane mode and USB tethering just before trying to connect to the WiFi.

Steps to Reproduce:
1.
2.
3.

Actual results:

Password prompt appears for 0.1 seconds and disappears

Expected results:

Password prompt should prompt for a password

Additional info:

systemd logs:

Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.0214] device (wlp1s0): Activation: starting connection '87743Ewifipod' (1009cf5e-6207-42b3-b88c-742fe5068a75)
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.0216] audit: op="connection-activate" uuid="1009cf5e-6207-42b3-b88c-742fe5068a75" name="87743Ewifipod" pid=11564 uid=1000 result="success"
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.0236] device (wlp1s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.0368] device (wlp1s0): set-hw-addr: reset MAC address to E4:B3:18:12:34:56 (preserve)
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.0412] device (wlp1s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.0418] device (wlp1s0): Activation: (wifi) access point '87743Ewifipod' has security, but secrets are required.
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.0418] device (wlp1s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Jun 20 17:01:51 dima-dell systemd-resolved[2527]: Using degraded feature set TCP instead of UDP for DNS server ::1.
Jun 20 17:01:51 dima-dell systemd-resolved[2527]: Using degraded feature set UDP instead of TCP for DNS server ::1.
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.0482] device (wlp1s0): supplicant interface state: inactive -> disconnected
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.0482] device (p2p-dev-wlp1s0): supplicant management interface state: inactive -> disconnected
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.0536] device (wlp1s0): supplicant interface state: disconnected -> inactive
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.0537] device (p2p-dev-wlp1s0): supplicant management interface state: disconnected -> inactive
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <warn>  [1687305711.1424] device (wlp1s0): no secrets: No agents were available for this request.
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.1424] device (wlp1s0): state change: need-auth -> failed (reason 'no-secrets', sys-iface-state: 'managed')
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <warn>  [1687305711.1430] device (wlp1s0): Activation: failed for connection '87743Ewifipod'
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.1433] device (wlp1s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Jun 20 17:01:51 dima-dell NetworkManager[2921]: <info>  [1687305711.1537] device (wlp1s0): set-hw-addr: set MAC address to FA:0E:BE:B3:1D:94 (scanning)

Comment 1 Aoife Moloney 2024-05-22 14:09:31 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.