Skip to content
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

WIFI: Error: Activating connection failed, check connection settings. #5587

Open
michalsomora opened this issue Jan 29, 2025 · 0 comments
Open
Labels

Comments

@michalsomora
Copy link

Describe the issue you are experiencing

Hi folks,

i have a problem with connection of my hasiso to huawei inverter wifi. I keep getting the same error
"Error: Activating connection failed, check connection settings."

When doing it via ssh like:
ha network update wlan0 --ipv4-method auto --wifi-auth wpa-psk --wifi-mode infrastructure --wifi-ssid 'SUN2000-XXX' --wifi-psk 'XXX' --log-level debug

i get following output

DEBU[0000] Adding homedir to searchpath homedir=/root INFO[0000] No configfile found DEBU[0000] Debug flags apiToken=6168db72963a2fe170377454d5b59ac603166dd711b6a999660f5a9b844bf4d0d7d72b0582b07d310f4a38b61df42eaef434ef867c2fdc7f cfgFile= endpoint=supervisor logLevel=TRACE noProgress=false rawJSON=false DEBU[0000] network update args="[wlan0]" DEBU[0000] [GenerateURI] base=supervisor command="interface/{interface}/update" section=network DEBU[0000] [GenerateURI] Result uri="http://supervisor/network/interface/{interface}/update" url="http://supervisor/network/interface/%7Binterface%7D/update" url(string)="http://supervisor/network/interface/{interface}/update" DEBU[0000] Request body options="map[enabled:true ipv4:map[method:auto] wifi:map[auth:wpa-psk mode:infrastructure psk:XXX ssid:SUN2000-XXX]]" ^[[ADEBU[0025] Response body="{\"result\":\"error\",\"message\":\"Activating connection failed, check connection settings.\"}" fields.time=25.044012303s headers="map[Content-Length:[87] Content-Type:[application/json; charset=utf-8] Date:[Wed, 29 Jan 2025 14:03:28 GMT] Server:[Python/3.12 aiohttp/3.11.11]]" received-at="2025-01-29 15:03:28.629514569 +0100 CET m=+25.053097507" request="&{POST http://supervisor/network/interface/wlan0/update HTTP/1.1 1 1 map[Accept:[application/json] Authorization:[Bearer 6168db72963a2fe170377454d5b59ac603166dd711b6a999660f5a9b844bf4d0d7d72b0582b07d310f4a38b61df42eaef434ef867c2fdc7f] Content-Type:[application/json] User-Agent:[go-resty/2.15.2 (https://github.com/go-resty/resty)]] 0x40001b67e0 0x308630 138 [] false supervisor map[] map[] <nil> map[] <nil> <nil> <nil> {{}} <nil> [] map[]}" status="400 Bad Request" statuscode=400 Error: Activating connection failed, check connection settings.

When i use -e flag i got 200 response with Command completed successfully. but hassio is still not connected.

Wifi settings are correct, i have no problem with connection with my mobile.

Thanks for any hints

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

...

Anything in the Supervisor logs that might be useful for us?

nothing relevant

System Health information

nothing relevant

Supervisor diagnostics

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant