IKE phase 1 negotiation failed — no matching proposal / authentication failed / pre-shared key mismatch
An IPsec site-to-site or client VPN failed in the first IKE exchange.
IKE phase 1 negotiation failedIKE_SA authentication failedNO_PROPOSAL_CHOSEN IKEpre-shared key mismatch Meaning
Both ends must agree on encryption, hash, DH group, lifetime, and identity or PSK. Logs on the responder tell which payload did not match.
Common causes
- PSK mismatch
- Different IKE version (v1 vs v2)
- Proposal parameters differ (AES, SHA, DH group)
- Peer ID or NAT-T mismatch
- Peer IP wrong or dynamic
⚡ Quick fix
- Compare proposals on both devices
- Re-enter the PSK
- Align IKE version, DH group and lifetimes
Detailed fix by platform
strongSwan
ipsec statusallandjournalctl -u strongswan -n 100
How to diagnose
- Logs — Which mismatch?
- PSK — Same?
- Version — IKEv1 or v2?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- Connections hang on large transfers (PMTU black hole) Networking: SSH/HTTPS connects but hangs on large data — path MTU discovery black hole
- Error 789 Windows VPN: Error 789 — The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer
- Internal hostnames fail on VPN (split DNS / systemd-resolved) Networking: VPN connected but internal names like db.corp.local don't resolve — split DNS / 127.0.0.53 stub resolver not using the VPN DNS
Most viewed in Networking
- Rogue DHCP server hands out wrong gateway/DNS Networking: Clients receive the wrong default gateway or DNS server — a rogue DHCP server (often a home router) answers first
- dig: status: SERVFAIL (DNSSEC validation failed) Networking: dig: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL — resolver failed to answer (DNSSEC validation or upstream failure)
- 4-way handshake timeout / Incorrect password Networking: wlan0: WPA: 4-way handshake failed - pre-shared key may be incorrect / WRONG_KEY
Other ways to find it
Where this error sits
Origin: Network. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 2 Dec 2026