Skip to content

RPi Pico W with WPA3/PMF yields "ConnectionError: Unknown failure 1" #10385

Open
@KizzyCode

Description

@KizzyCode

CircuitPython version and board name

Adafruit CircuitPython 9.2.8 on 2025-05-28; Raspberry Pi Pico W with rp2040

Code/REPL

import wifi

wifi.radio.connect(ssid="myssid", password="mypass")

Behavior

main.py output:
Traceback (most recent call last):
  File "main.py", line 3, in <module>
ConnectionError: Unknown failure 1

The RPi Pico W fails to connect to the WPA3 WLAN network; the handshake also does not appear in the hostapd logs at all (as opposed to handshakes from other devices).

Description

The WiFi has been setup with hostapd using this config:

# Logging config
logger_syslog=0
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=0

# Basic interface config
interface=wlx***********a
country_code=DE
hw_mode=g
ieee80211n=1
ieee80211d=1
channel=5

# Indoor Tasmota Network
ssid=myotherssid
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
ieee80211w=1
wpa_passphrase={{ passphrase.myotherssid }}
ap_isolate=1

# Outdoor WPA3 Network
bss=wlx***********b
ssid=myssid
auth_algs=1
wpa=2
wpa_key_mgmt=SAE
rsn_pairwise=CCMP
ieee80211w=2
wpa_passphrase={{ passphrase.myssid }}
ap_isolate=1

Other devices can connect to the WPA3 network myssid without problems.

Additional information

If I change the network config to:

# Outdoor WPA3 Network
bss=wlx***********b
ssid=myssid
auth_algs=1
wpa=2
#wpa_key_mgmt=SAE
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
#ieee80211w=2
ieee80211w=1
wpa_passphrase={{ passphrase.myssid }}
ap_isolate=1

the Pi can connect flawlessly too; however as the official board page explicitly mentions WPA3, I think the Pi should be able to connect too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions