IKE phase 1 Networking Origin: Network OSI layer 7 · Application Last updated 2 Dec 2026

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.

Exact message you may see IKE phase 1 negotiation failedIKE_SA authentication failedNO_PROPOSAL_CHOSEN IKEpre-shared key mismatch
Seen on: IPsec strongSwan

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

  1. Compare proposals on both devices
  2. Re-enter the PSK
  3. Align IKE version, DH group and lifetimes

Detailed fix by platform

strongSwan

  1. ipsec statusall and journalctl -u strongswan -n 100

How to diagnose

  1. Logs — Which mismatch?
  2. PSK — Same?
  3. 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:

Where this error sits

Origin: Network. Errors that are often confused with or caused by this one (click to open):

Connections hang on large transfers (PMTU black hole) — Networking: SSH/HTTPS connects but hangs on large data — path MTU discovery black hole (Networking)Connections hang on l…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 (Networking)Error 789Internal 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 (Networking)Internal hostnames fa…NO_PROPOSAL_CHOSEN (IPsec/IKE) — Networking: IKE: received NO_PROPOSAL_CHOSEN — IPsec peers can't agree on encryption, hash or DH group (Networking)NO_PROPOSAL_CHOSEN (I…TLS handshake failed — OpenVPN: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) (Networking)TLS handshake failedVPN connected but internal subnets unreachable — Networking: VPN is connected but I can't reach the internal network — missing routes, split tunnel or overlapping subnets (Networking)VPN connected but int…WireGuard: Handshake did not complete after 5 seconds — Networking: Handshake for peer did not complete after 5 seconds, retrying (try 2) — WireGuard tunnel never establishes (Networking)WireGuard: Handshake …Your Remote Desktop Services session has ended (network problem) — Networking: Your Remote Desktop Services session has ended. Possibly the network connection was lost / Remote Desktop disconnected, error code 0x904 (Networking)Your Remote Desktop S…IKE phase…

Explore the map of this error Full error map →

🧠 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.