Skip to main content
apFortinet
Staff
Staff
Jun 8, 2025 9:25 PM UTC

IKEv2: unexpected payload type 41

  • Nov 9, 2026 7:41 AM UTC
  • 0 replies
  • 10451 views
  • Translate All

Description

How to resolve the 'IKEv2: unexpected payload type 41' error seen in IKE debugs while troubleshooting a dial-up IPsec VPN with IKEv2.

Scope

FortiGate, FortiClient version 7.4.4+.

Solution

When troubleshooting a dial-up IPsec VPN with IKEv2, the following error is seen in the IKE debug log output: 

ike V=root:0:IPsec-Home-W:17: responder received EAP msg
ike V=root:0:IPsec-Home-W:17: unexpected payload type 41
ike V=root:0:IPsec-Home-W:17: schedule delete of IKE SA de9a206cc7d94ad0/957aa4c9698f726b
ike V=root:0:IPsec-Home-W:17: scheduled delete of IKE SA de9a206cc7d94ad0/957aa4c9698f726b
ike V=root:0:IPsec-Home-W: connection expiring due to phase1 down

 

The following IKE debug outputs can be run to troubleshoot the dial-up IPsec VPN issues:

diagnose vpn ike log-filter clear
diagnose vpn ike log filter src-addr4 x.x.x.x.
diagnose vpn ike log-filter dst-addr4 x.x.x.x 
diagnose debug application ike -1
diagnose debug application fnbamd -1  
diagnose debug console timestamp enable
diagnose debug enable

 
Replace x.x.x.x with the Public IP of the Test user PC.

To stop the debugs:

diagnose debug disable
diagnose debug reset 


Note:

Starting from version 7.4.1, the 'diagnose vpn ike log-filter dst-addr4' command has been changed to 'diagnose vpn ike log filter rem-addr4' and the 'diagnose vpn ike log filter src-addr4' command to 'diagnose vpn ike log filter loc-addr4'.

This issue was reported in both FortiClient macOS version 14 and version 15 and Windows 11.

To resolve this issue, make sure the authmethod (Pre-Shared Key or Signature) is the same on both FortiClient and FortiGate. If authmethod Pre-Shared is selected on FortiGate and Signature is selected on FortiClient, or vice versa, then the connection fails with 'unexpected payload type 41'. Check the pre-shared key on both sides (FortiGate and FortiClient) and make sure that they are the same.

ISAKMP payload 41 is 'Notify'. This payload has different subtypes. When the pre-shared key does not match, FortiClient will send a 'Notify type 24 (AUTHENTICATION_FAILED)' message.

payload41.png

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024