ESXi CHAP fails with Target Error: (0x0201 Initiator could not be successfully authenticated.)
search cancel

ESXi CHAP fails with Target Error: (0x0201 Initiator could not be successfully authenticated.)

book

Article ID: 410093

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Configuring iSCSI CHAP authentication on an ESX host fails. 

ESX logs (/var/log/vmware/syslog.log):

2025-09-10T18:04:38.606Z Er(27) iscsid[2100232]: Login failed to authenticate with target iqn.2007-11.com.examplestorage:chap-test##-#################.00000053.########

2025-09-10T18:04:38.606Z Wa(28) iscsid[2100232]: Shutdown Session: iqn.2007-11.com.examplestorage:chap-testii-#################.00000053.######## if=default addr=###.##.##.##:3260 (TPGT:2460 ISID:0x1)  (T58 C0) Reason=5

2025-09-10T18:04:38.614Z Wa(28) iscsid[2100232]: Login Failed: iqn.2007-11.com.examplestorage:chap-test##-#################.00000053.######## if=default addr=###.##.##.##:3260 (TPGT:2460 ISID:0x1) Reason: 00050201 Target Error: (0x0201 Initiator could not be successfully authenticated.)

 

Environment

ESXi

Cause

The error code 0201 indicates that the initiator could not be successfully authenticated. The CHAP and mutual CHAP credentials configured on the ESXi initiator and on the iSCSI array do not match. Error 0201 indicates that the iSCSI initiator could not be successfully authenticated due to mismatched or missing CHAP/mutual CHAP credentials.

 

Resolution

The ESXi host and the iSCSI storage system must have CHAP enabled and must have common credentials. During iSCSI login, the iSCSI storage system exchanges its credentials with the ESXi system and checks them.

Additional Information