I have a remote Converter Server and two remote vCenters. I have some code to submit jobs automatically with Converter API. Most of time, the jobs are successful. But when there are some running jobs, the next jobs may fail with time out exception.
Can some one give me some suggestions? How to avoid this tiime-out exception? Can I improve the Converter Server performance? Can I set a longer waiting time for ConverterAPI? Thanks a lot.
2014-03-26 01:48:14,859 ERROR BatchConverterServer - Caught Exception :
Name : WebException
Message : The operation has timed out
Trace : at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at ConverterApi.ConverterService.ConverterServerConversionManagerCreateJob(ManagedObjectReference _this, ConverterServerConversionConversionJobSpec spec, Object extraInfo)
at Batchv2v.Server.BatchConverterServer.Batchv2v.Server.ConverterServer.submitJob(String jobName, SourceVM sourceVM, TargetVM targetVM) in C:\Users\Administrator\git\batchV2V\SubmitV2VJob\Server\BatchConverterServer.cs:line 153
System.Net.WebException: The operation has timed out
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at ConverterApi.ConverterService.ConverterServerConversionManagerCreateJob(ManagedObjectReference _this, ConverterServerConversionConversionJobSpec spec, Object extraInfo)
at Batchv2v.Server.BatchConverterServer.Batchv2v.Server.ConverterServer.submitJob(String jobName, SourceVM sourceVM, TargetVM targetVM) in C:\Users\Administrator\git\batchV2V\SubmitV2VJob\Server\BatchConverterServer.cs:line 153
2014-03-26 01:48:14,890 ERROR SubmitTask - ERROR: Failed to