/var/log/vmware/content-library/cls.log2024-06-24T11:16:01.300Z | 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 upload2024-06-24T11:16:21.078Z warning hostd[2100826] [Originator@6876 sub=Libs opID=###] [NFC ERROR]NfcNetTcpSetError: Connection reset by peer2024-06-24T11:16:21.078Z warning hostd[2100826] [Originator@6876 sub=Libs opID=###] [NFC ERROR]NfcNetTcpRead: bRead: -1. errno: 104.2024-06-24T11:16:21.078Z warning hostd[2100826] [Originator@6876 sub=Libs opID=###] [NFC ERROR]NfcNet_Recv: requested 264, recevied only 0 bytes2024-06-24T11:16:21.078Z warning hostd[2100826] [Originator@6876 sub=Libs opID=###] [NFC ERROR]NfcGetMessage: NfcNet_Recv failed: NFC_NETWORK_ERROR2024-06-24T11:16:21.078Z 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)2024-06-24T11:16:21.078Z 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