8000 RPi Pico W with WPA3/PMF yields "ConnectionError: Unknown failure 1" · Issue #10385 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
KizzyCode opened this issue May 29, 2025 · 2 comments
Open

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

KizzyCode opened this issue May 29, 2025 · 2 comments
Labels
bug network rp2 Both RP2 microcontrollers
Milestone

Comments

@KizzyCode
Copy link
KizzyCode commented May 29, 2025

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.

@KizzyCode KizzyCode added the bug label May 29, 2025
@dhalbert
Copy link
Collaborator

There is available WPA3 support in recent versions of the underlying driver. Could you try 10.0.0-alpha.6? I'm not sure it's been enabled, but that will give us a starting point. Thanks.

@dhalbert dhalbert added this to the 10.x.x milestone May 29, 2025
@dhalbert dhalbert added network rp2 Both RP2 microcontrollers labels May 29, 2025
@KizzyCode
Copy link
Author

Now running on Adafruit CircuitPython 10.0.0-alpha.6 on 2025-05-17; Raspberry Pi Pico W with rp2040, but still the exactly same error. I'll try to check if I can setup and reproduce it with another WPA3-only access point to ensure it's not a problem with my hostapd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug network rp2 Both RP2 microcontrollers
Projects
None yet
Development

No branches or pull requests

2 participants
0