Unable to get any version of VDDK to connect to ESXi 6.5.
Following are the outputs from VDDK 5.5.4 and 6.0.2.
Tried VDDK installed on Windows 7 and Windows 10.
Similar command works fine with ESXi 5.5 & 6.0.
Any help would be appreciated.
VDDK 5.5.4:
vixDiskLibSample.exe -info -host 192.168.241.130 -user root -password x
xxxxxxx -thumb 0B:1E:C4:21:14:EA:2F:CF:B0:C6:2E:3A:40:4E:97:77:A4:BE:C0:BB -init
ex null "[datastore1] vlab8vm01/vlab8vm01.vmdk"
Warning: VixDiskLib: Unable to load configuration options from null.
Log: OBJLIB-LIB: Objlib initialized.
Log: VixDiskLib: Advanced transport module not loaded.
Log: VixDiskLib: Using transport modes from DiskLib: file:nbdssl:nbd.
Log: VMware VixDiskLib (5.5) Release build-2454786
Log: PREF early PreferenceGet(poll.forceSelect), using default
Log: POLL Using the WSAPoll API Implementation for PollDefault
Log: VixDiskLibVim: VixDiskLibVim_Init: Initialization is completed.
Log: VixDiskLib: VixDiskLib_Connect: Establish connection.
Log: HOSTINFO 462703657053 @ 2435927Hz -> 0 @ 1000000000Hz
Log: HOSTINFO ((x * 3443702541) >> 23) + -189949722233224
Log: VixDiskLib: VixDiskLib_OpenEx: Open a disk.
Log: VixDiskLibVim: VixDiskLibVim_GetNfcTicket: Get NFC ticket for [datastore1]
vlab8vm01/vlab8vm01.vmdk.
Log: HOSTINFO 462703709602 @ 2435927Hz -> 0 @ 1000000000Hz
Log: HOSTINFO ((x * 3443702541) >> 23) + -189949743805710
Log: VThreadBase detected multiple threads.
Log: VixDiskLibVim: VixDiskLibVim_FreeNfcTicket: Free NFC ticket.
Log: NBD_ClientOpen: attempting to create connection to ha-nfc://[datastore1] vl
ab8vm01/vlab8vm01.vmdk@192.168.241.130:902
Log: Started up WSA
Log: SSL: EOF in violation of protocol
Warning: SSL: connect failed
Log: CnxAuthdConnect: Returning false because SSL_ConnectAndVerify failed
Log: CnxConnectAuthd: Returning false because CnxAuthdConnect failed
Log: Cnx_Connect: Returning false because CnxConnectAuthd failed
Log: Cnx_Connect: Error message:
Warning: [NFC ERROR] NfcNewAuthdConnectionEx: Failed to connect to peer. Error:
Log: NBD_ClientOpen: Couldn't connect to 192.168.241.130:902
Log: DISKLIB-DSCPTR: : "ha-nfc://[datastore1] vlab8vm01/vlab8vm01.vmdk@192.168.2
41.130:902" : Failed to open NBD extent.
Log: DISKLIB-LINK : "ha-nfc://[datastore1] vlab8vm01/vlab8vm01.vmdk@192.168.241
.130:902" : failed to open (NBD_ERR_NETWORK_CONNECT).
Log: DISKLIB-CHAIN : "ha-nfc://[datastore1] vlab8vm01/vlab8vm01.vmdk@192.168.241
.130:902" : failed to open (NBD_ERR_NETWORK_CONNECT).
Log: DISKLIB-LIB : Failed to open 'ha-nfc://[datastore1] vlab8vm01/vlab8vm01.v
mdk@192.168.241.130:902' with flags 0x1e NBD_ERR_NETWORK_CONNECT (2338).
Log: VixDiskLib: Detected DiskLib error 2338 (NBD_ERR_NETWORK_CONNECT).
Error: [vixDiskLibSample.cpp:609] 922000036b9 NBD_ERR_NETWORK_CONNECT
Log: VixDiskLib: VixDiskLib_Disconnect: Disconnect.
Log: VixDiskLib: VixDiskLib_Exit: Unmatched Init calls so far: 1.
Log: VixDiskLibVim: VixDiskLibVim_Exit: Clean up.
VDDK 6.0.2:
vixDiskLibSample.exe -info -host 192.168.241.130 -user root -password x
xxxxxxx -thumb xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx -init
ex null "[datastore1] vlab8vm01/vlab8vm01.vmdk"
Warning: VixDiskLib: Unable to load configuration options from null.
Log: OBJLIB-LIB: Objlib initialized.
Log: VixDiskLib: Advanced transport module not loaded.
Log: VixDiskLib: Using transport modes from DiskLib: file:nbdssl:nbd.
Log: VMware VixDiskLib (6.0) Release build-2942432
Log: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Program
Data\VMware): Cannot create a file when that file already exists (183)
Log: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Program
Data\VMware): Cannot create a file when that file already exists (183)
Log: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Program
Data\VMware): Cannot create a file when that file already exists (183)
Log: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Program
Data\VMware): Cannot create a file when that file already exists (183)
Log: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Program
Data\VMware): Cannot create a file when that file already exists (183)
Log: PREF early PreferenceGet(poll.forceSelect), using default
Log: POLL Using the WSAPoll API Implementation for PollDefault
Log: VixDiskLibVim: VixDiskLibVim_Init: Initialization is completed.
Log: VixDiskLib: VixDiskLib_Connect: Establish connection.
Log: VixDiskLib: Resolve host.
Log: VixDiskLib: VixDiskLib_OpenEx: Open a disk.
Log: VixDiskLibVim: VixDiskLibVim_GetNfcTicket: Get NFC ticket for [datastore1]
vlab8vm01/vlab8vm01.vmdk.
Log: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Program
Data\VMware): Cannot create a file when that file already exists (183)
Log: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Program
Data\VMware): Cannot create a file when that file already exists (183)
Log: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Program
Data\VMware): Cannot create a file when that file already exists (183)
Log: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Program
Data\VMware): Cannot create a file when that file already exists (183)
Log: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\Program
Data\VMware): Cannot create a file when that file already exists (183)
Log: VixDiskLibVim: VixDiskLibVim_FreeNfcTicket: Free NFC ticket.
Log: NBD_ClientOpen: attempting to create connection to ha-nfc://[datastore1] vl
ab8vm01/vlab8vm01.vmdk@192.168.241.130:902
Log: Started up WSA
Log: CnxConnectAuthd: Returning false because CnxAuthdProtoConnect failed
Log: Cnx_Connect: Returning false because CnxConnectAuthd failed
Log: Cnx_Connect: Error message: 550 User not authorized for host agent contact
Warning: [NFC ERROR] NfcNewAuthdConnectionEx: Failed to connect to peer. Error:
550 User not authorized for host agent contact
Log: NBD_ClientOpen: Couldn't connect to 192.168.241.130:902 550 User not author
ized for host agent contact
Log: DISKLIB-DSCPTR: : "ha-nfc://[datastore1] vlab8vm01/vlab8vm01.vmdk@192.168.2
41.130:902" : Failed to open NBD extent.
Log: DISKLIB-LINK : "ha-nfc://[datastore1] vlab8vm01/vlab8vm01.vmdk@192.168.241
.130:902" : failed to open (NBD_ERR_NETWORK_CONNECT).
Log: DISKLIB-CHAIN : "ha-nfc://[datastore1] vlab8vm01/vlab8vm01.vmdk@192.168.241
.130:902" : failed to open (NBD_ERR_NETWORK_CONNECT).
Log: DISKLIB-LIB : Failed to open 'ha-nfc://[datastore1] vlab8vm01/vlab8vm01.v
mdk@192.168.241.130:902' with flags 0x1e NBD_ERR_NETWORK_CONNECT (2338).
Log: VixDiskLib: Detected DiskLib error 2338 (NBD_ERR_NETWORK_CONNECT).
Log: VixDiskLib: Failed to open disk ha-nfc://[datastore1] vlab8vm01/vlab8vm01.v
mdk@192.168.241.130:902?root/xxxxxxx. Error 14009 (The server refused connectio
n) (DiskLib error 2338: NBD_ERR_NETWORK_CONNECT) at 4464.
Log: VixDiskLib: VixDiskLib_OpenEx: Cannot open disk [datastore1] vlab8vm01/vlab
8vm01.vmdk. Error 14009 (The server refused connection) (DiskLib error 2338: NBD
_ERR_NETWORK_CONNECT) at 4680.
Log: VixDiskLib: VixDiskLib_Open: Cannot open disk [datastore1] vlab8vm01/vlab8v
m01.vmdk. Error 14009 (The server refused connection) at 4718.
Error: [vixDiskLibSample.cpp:644] 36b9 The server refused connection
Log: VixDiskLib: VixDiskLib_Disconnect: Disconnect.
Log: VixDiskLib: VixDiskLib_Exit: Unmatched Init calls so far: 1.
Log: VixDiskLibVim: VixDiskLibVim_Exit: Clean up.
No. I can't seem to get vixDiskLibSample in VDDK 6.5 to compile. Build process complains of missing boost headers.
Hi jeremyb,
I have met the same issue.
Have you solved this issue? If so, could you give me some help. Thanks.
Hi Jeremyb,
Did you resolve this issue? I am getting the same errors. Using VDDK 5.5.0 U2 to connect ESXi 6.5.
Thanks in Advance.
if you use vddk 6.5 , -thumb must be given ,just like :
./vixDiskLibSample -info -host 192.168.1.197 -user administrator@vsphere.local -password Jrsa1234/ -vm moref=vm-32
-thumb FF:1D:14:0E:68:D2:22:50:50:5C:62:96:8D:29:06:42:B3:9F:DC:68 "[datastore1]\ Linux/vm-32_Linux_0.vmdk"
while, you can use this command get the thumb string on linux :
echo -n | openssl s_client -connect 192.168.1.197:443 2>/dev/null | openssl x509 -noout -fingerprint -sha1
Hi, definitely use the SSL thumbprint parameter as WanHaiTao suggested and switch to VDDK 5.5.5U3. There's a few TLS related fixes in that release.
Cheers, Pavel