VMware Cloud Community
Terrs2017
Contributor
Contributor

The server refused connection

Hi,

    We got the error information 'The server refused connection' When tested VDDK6.5 sample code, as below:

# ./vix-disklib-sample -info -host xxx -user root -password xxx  -thumb 60:ED:55:19:7B:5C:33:58:EC:60:B1:29:B3:49:49:30:2C:D9:2B:9F "[datastore1] win2003/win2003_0.vmdk"

Error: [vixDiskLibSample.cpp:673] 36b9 The server refused connection

     Env as blow:

VDDK library:VMware-vix-disklib-6.5.2-6195444.x86_64

EXSI server: 6.5

thumb string: openssl x509 -sha1 -in /etc/vmware/ssl/rui.crt -noout -fingerprint | cut -d '=' -f 2

     Searching the key for this problem, Thanks so much!

-Haiwei

0 Kudos
1 Reply
ncist2011
Contributor
Contributor

hi, i got the same errors,

my env is :  ESXI 6.5 (132.11.33.234),  VDDK version 6.5.2-6195444

is this vddk bug?

ESXI must be managed by vsphere center whether or not?

is thumb only used by VC not by ESXI?

# ./vix-disklib-sample -info -host 132.11.33.234 -user root -password 12345678 -initex null -mode san -thumb 70:EE:55:19:7B:5C:33:58:EC:60:B1:29:B3:49:49:30:2C:D9:2B:33 " [datastore1]\ win2008/win2008_0.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.5) Release build-6195444

Log: lib/ssl: OpenSSL using FIPS_drbg for RAND

Log: lib/ssl: protocol list tls1.2

Log: lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)

Log: lib/ssl: cipher list !aNULL:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES

Log: VixDiskLibVim: VixDiskLibVim_Init: Initialization is completed.

Log: VixDiskLib: VixDiskLib_ConnectEx: Establish connection using san.

Log: VixDiskLib: VixDiskLib_Connect: Establish connection.

Log: VixDiskLib: Resolve host.

Log: VixDiskLib: VixDiskLib_ConnectEx: No transport plugin. Advanced transports not available.

Log: VixDiskLib: VixDiskLib_OpenEx: Open a disk.

Log: VixDiskLibVim: VixDiskLibVim_GetNfcTicket: Get NFC ticket for  [datastore1]\ win2008/win2008_0.vmdk.

Log: lib/ssl: OpenSSL using FIPS_drbg for RAND

Log: lib/ssl: protocol list tls1.2

Log: lib/ssl: protocol list tls1.2 (openssl flags 0x17000000)

Log: lib/ssl: cipher list !aNULL:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES

Log: VixDiskLibVim: VixDiskLibVim_FreeNfcTicket: Free NFC ticket.

Log: NBD_ClientOpen: attempting to create connection to ha-nfc:// [datastore1]\ win2008/win2008_0.vmdk@132.11.33.234:902

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

Warning: SSL: Unknown SSL Error

Log: SSL Error: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

Warning: SSL: connect failed (1)

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: The remote host certificate has these problems:

Log:

Log: * Host name does not match the subject name(s) in certificate.

Log:

Log: * self signed certificate in certificate chain

Warning: [NFC ERROR] NfcNewAuthdConnectionEx: Failed to connect to peer. Error: The remote host certificate has these problems:

Warning:

Warning: * Host name does not match the subject name(s) in certificate.

Warning:

Warning: * self signed certificate in certificate chain

Log: NBD_ClientOpen: Couldn't connect to 132.11.33.234:902 The remote host certificate has these problems:

Log:

Log: * Host name does not match the subject name(s) in certificate.

Log:

Log: * self signed certificate in certificate chain

Log: DISKLIB-DSCPTR: : "ha-nfc:// [datastore1]\ win2008/win2008_0.vmdk@132.11.33.234:902" : Failed to open NBD extent.

Log: DISKLIB-LINK  : "ha-nfc:// [datastore1]\ win2008/win2008_0.vmdk@132.11.33.234:902" : failed to open (NBD_ERR_NETWORK_CONNECT).

Log: DISKLIB-CHAIN : "ha-nfc:// [datastore1]\ win2008/win2008_0.vmdk@132.11.33.234:902" : failed to open (NBD_ERR_NETWORK_CONNECT).

Log: DISKLIB-LIB   : Failed to open 'ha-nfc:// [datastore1]\ win2008/win2008_0.vmdk@132.11.33.234: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]\ win2008/win2008_0.vmdk@132.11.33.234:902?root/12345678. Error 14009 (The server refused connection) (DiskLib error 2338: NBD_ERR_NETWORK_CONNECT) at 4799.

Log: VixDiskLib: VixDiskLib_OpenEx: Cannot open disk  [datastore1]\ win2008/win2008_0.vmdk. Error 14009 (The server refused connection) (DiskLib error 2338: NBD_ERR_NETWORK_CONNECT) at 5026.

Log: VixDiskLib: VixDiskLib_Open: Cannot open disk  [datastore1]\ win2008/win2008_0.vmdk. Error 14009 (The server refused connection) at 5064.

Error: [vixDiskLibSample.cpp:673]  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.

0 Kudos