I have been running into "OVF Import failed. Error writing request body to server." error when attempting to transfer templates from one vSphere environment to another. The Deploy OVF Template task in the vSphere task list has a status of "Operation timed out" before the data copy completes.
c.vmware.hc.agent.udt.UDTSocketImpl - Received 9470976 bytes
2014-02-04 09:47:54.019 CST [Thread-41] INFO c.vmware.hc.agent.udt.UDTSocketImpl - Received 9472000 bytes
2014-02-04 09:47:54.028 CST [tomcat-http--27] DEBUG c.vmware.hc.agent.business.task.Task - isCompleted = false
2014-02-04 09:47:54.050 CST [Thread-41] INFO c.vmware.hc.agent.udt.UDTSocketImpl - Received 9473024 bytes
2014-02-04 09:47:54.056 CST [Thread-41] INFO c.vmware.hc.agent.udt.UDTSocketImpl - Received 9474048 bytes
2014-02-04 09:47:54.086 CST [taskExecutor-10] ERROR c.v.h.a.c.impl.CopyTaskTrackerImpl - Exception occured
com.vmware.hc.exception.HcException: OVF import failed. Error writing request body to server
at com.vmware.hc.agent.copy.impl.VsphereCloudAdaptor.doImport(VsphereCloudAdaptor.java:572) ~[VsphereCloudAdaptor.class:na]
at com.vmware.hc.agent.copy.impl.VsphereCloudAdaptor.run(VsphereCloudAdaptor.java:159) ~[VsphereCloudAdaptor.class:na]
Caused by: java.io.IOException: Error writing request body to server
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(Unknown Source) ~[na:1.7.0_15]
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(Unknown Source) ~[na:1.7.0_15]
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(Unknown Source) ~[na:1.7.0_15]
at com.vmware.hc.agent.copy.impl.VsphereCloudAdaptor.uploadVMDKFile(VsphereCloudAdaptor.java:875) ~[VsphereCloudAdaptor.class:na]
at com.vmware.hc.agent.copy.impl.VsphereCloudAdaptor.uploadFiles(VsphereCloudAdaptor.java:948) ~[VsphereCloudAdaptor.class:na]
at com.vmware.hc.agent.copy.impl.VsphereCloudAdaptor.doImport(VsphereCloudAdaptor.java:535) ~[VsphereCloudAdaptor.class:na]
... 1 common frames omitted
2014-02-04 09:47:54.095 CST [taskExecutor-10] ERROR c.v.h.a.service.TaskProgressUpdater - OVF import failed. Error writing request body to server
org.quartz.JobExecutionException: OVF import failed. Error writing request body to server
at com.vmware.hc.agent.copy.MasterAgentTask.execute(MasterAgentTask.java:332) ~[MasterAgentTask.class:na]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213) ~[quartz-2.1.3.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_15]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_15]
at java.lang.Thread.run(Unknown Source) [na:1.7.0_15]
com.vmware.hc.exception.HcException: OVF import failed. Error writing request body to server
at com.vmware.hc.agent.copy.impl.VsphereCloudAdaptor.doImport(VsphereCloudAdaptor.java:572) ~[VsphereCloudAdaptor.class:na]
at com.vmware.hc.agent.copy.impl.VsphereCloudAdaptor.run(VsphereCloudAdaptor.java:159) ~[VsphereCloudAdaptor.class:na]
Caused by: java.io.IOException: Error writing request body to server
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(Unknown Source) ~[na:1.7.0_15]
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(Unknown Source) ~[na:1.7.0_15]
at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(Unknown Source) ~[na:1.7.0_15]
at com.vmware.hc.agent.copy.impl.VsphereCloudAdaptor.uploadVMDKFile(VsphereCloudAdaptor.java:875) ~[VsphereCloudAdaptor.class:na]
at com.vmware.hc.agent.copy.impl.VsphereCloudAdaptor.uploadFiles(VsphereCloudAdaptor.java:948) ~[VsphereCloudAdaptor.class:na]
at com.vmware.hc.agent.copy.impl.VsphereCloudAdaptor.doImport(VsphereCloudAdaptor.java:535) ~[VsphereCloudAdaptor.class:na]
... 1 common frames omitted
2014-02-04 09:47:54.095 CST [taskExecutor-10] DEBUG c.vmware.hc.agent.business.task.Task - taskName remoteimport, state COMPLETED_WITH_ERROR
2014-02-04 09:47:54.095 CST [taskExecutor-10] DEBUG c.vmware.hc.agent.business.task.Task - taskName remoteimport
, progressLabel The task has completed with an error.
2014-02-04 09:47:54.195 CST [Thread-41] INFO c.vmware.hc.agent.udt.UDTSocketImpl - Received 9475072 bytes
2014-02-04 09:47:54.214 CST [Thread-41] INFO c.vmware.hc.agent.udt.UDTSocketImpl - Received 9476096 bytes
2014-02-04 09:47:54.217 CST [Thread-41] INFO c.vmware.hc.agent.udt.UDTSocketImpl - Received 9477120 bytes
2014-02-04 09:47:54.230 CST [Thread-41] INFO c.vmware.hc.agent.udt.UDTSocketImpl - Received 9478144 bytes
2014-02-04 09:47:54.313 CST [Thread-41] INFO c.vmware.hc.agent.udt.UDTSocketImpl - Received 9479168 bytes
2014-02-04 09:47:54.314 CST [Thread-41] INFO c.vmware.hc.agent.udt.UDTSocketImpl - Received 9480192 bytes
2014-02-04 09:47:54.336 CST [Thread-41] INFO c.vmware.hc.agent.udt.UDTSocketImpl - Received 9481216 bytes
2014-02-04 09:47:54.462 CST [Thread-41] INFO