public inbox for iwd@lists.linux.dev
 help / color / mirror / Atom feed
* How to triage an "Invalid Key" error message?
@ 2025-01-18  6:03 Christian Hewitt
  2025-01-18 15:52 ` James Prestwood
  0 siblings, 1 reply; 7+ messages in thread
From: Christian Hewitt @ 2025-01-18  6:03 UTC (permalink / raw)
  To: iwd

Hello folks :)

The Kodi focussed distro LibreELEC switched to iwd from
wpa_supplicant for our most recent release. It has been an
overall positive change, but we continue to see a trickle
of end-user reports of an “Invalid Key” error when devices
connect to a network.

Things we’ve established:

* Reverting to wpa_supplicant allows the device to connect
* Happens on a range of hardware so is not driver specific
* Happens on a range of kernels (tested back to 6.1)
* Poor signal strength shows the issue more frequently
* Networks with FT enabled show the issue more frequently
* Has nothing to do with passphrase length/characters

TL/DR: We are reasonably confident the issue is within iwd
code and not drivers or kernels. We also use latest or very
recent kernels (and in-kernel drivers) and latest ConnMan
(we are generally ‘current’ with upstream sources throughout
the distro). We suspect a combination of radio properties
(influenced by poor signal and features) results in an error
which is not handled correctly so you end up in the wrong
place in code and trip the ‘Invalid Key’ error instead.

Our project team are not able to replicate the issue with
our own devices and networks so we are currently reliant
on end-user reports. We also lack iwd debugging experience.
However, our embedded style distro packaging makes it very
simple for users to update and run an image tweaked with
iwd patches and/or config to get the output required to
triage the issue.

So I’d like to understand what needs to be collected or
patched etc. to help start the process.

Thanks in advance,

Christian

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-01-21 14:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-18  6:03 How to triage an "Invalid Key" error message? Christian Hewitt
2025-01-18 15:52 ` James Prestwood
2025-01-18 16:38   ` KeithG
2025-01-20 15:36     ` Christian Hewitt
2025-01-21 13:50       ` James Prestwood
2025-01-21 14:24         ` Christian Hewitt
2025-01-21 14:36           ` James Prestwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox