# IKE phase 1 negotiation failed — no matching proposal / authentication failed / pre-shared key mismatch

**Code:** `IKE phase 1` · **Category:** Networking · **Seen on:** IPsec, strongSwan

An IPsec site-to-site or client VPN failed in the first IKE exchange.

## 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?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/networking/ike-phase1-failed-psk-mismatch)
