/var/log/vmware/content-library/cls.logYYYY-MM-DDTHH:MM:SSZ | ERROR | null | transferService-nfc-#####-test.vmdk-upload | NfcEndpointImpl | Session ###: IO error while uploading to datastore (ds:///vmfs/volumes/###//contentlib-###/###/test.vmdk?serverId=###): Read timed out/var/run/log/hostd.log on the ESXi host participating in the uploadYYYY-MM-DDTHH:MM:SSZ warning hostd[2100826] [Originator@6876 sub=Libs opID=###] [NFC ERROR]NfcNetTcpSetError: Connection reset by peerYYYY-MM-DDTHH:MM:SSZ warning hostd[2100826] [Originator@6876 sub=Libs opID=###] [NFC ERROR]NfcNetTcpRead: bRead: -1. errno: 104.YYYY-MM-DDTHH:MM:SSZ warning hostd[2100826] [Originator@6876 sub=Libs opID=###] [NFC ERROR]NfcNet_Recv: requested 264, recevied only 0 bytesYYYY-MM-DDTHH:MM:SSZ warning hostd[2100826] [Originator@6876 sub=Libs opID=###] [NFC ERROR]NfcGetMessage: NfcNet_Recv failed: NFC_NETWORK_ERRORYYYY-MM-DDTHH:MM:SSZ warning hostd[2100826] [Originator@6876 sub=Libs opID=###] [NFC ERROR]NfcServerProcessClientMsg: Failed to get message from client: NFC_NETWORK_ERROR (The operation experienced a network error)YYYY-MM-DDTHH:MM:SSZ error hostd[2100826] [Originator@6876 sub=Nfcsvc opID=###] Read error from the nfcLib: NFC_NETWORK_ERROR (done = yep)
Content library has a two-minute timeout set for the NFC transfer session. For larger disks, at the end of the data transfer, it may take more than two minutes to complete the NFC transfer. This causes the manual import or the sync to fail.
Increase the timeout values.
cd /etc/vmware-content-library/config/ cp ts-config.properties ts-config.properties.origvi ts-config.propertiestransfer.nfcClient.socket.timeout.seconds=240 transfer.http.request.timeout.seconds=240service-control --stop vmware-content-library
service-control --start vmware-content-library