You are currently working on UAT 

"Failed to publish project" error with Timeout Exception

The following error only happens sometimes. Any idea why this happens and is it possible to increase the timeout?

<SDLErrorDetails time="2023/10/11 9:38:40">
  <ErrorMessage>Failed to publish the project.</ErrorMessage>
  <Exception>
    <Type>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>mscorlib</Source>
    <HResult>-2146233083</HResult>
    <StackTrace><![CDATA[
Server stack trace: 
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Sdl.Enterprise2.Platform.Contracts.IO.IFileOperationService.WriteData(Guid operationId, Byte[] data)
   at Sdl.TranslationStudio.ProjectServerPlugin.IO.FileOperationServiceClient.WriteData(Guid operationId, Byte[] data)
   at Sdl.TranslationStudio.ProjectServerPlugin.IO.FileOperationStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at Sdl.TranslationStudio.ProjectServerPlugin.IO.FileStreamUtil.CopyStream(Stream sourceStream, Stream destinationStream, Int32 bufferSize, EventHandler`1 progressEventHandler)
   at Sdl.TranslationStudio.ProjectServerPlugin.IO.FileStreamUtil.CopyStream(Stream sourceStream, Stream destinationStream, EventHandler`1 progressEventHandler)
   at Sdl.TranslationStudio.ProjectServerPlugin.IO.FileOperationClient.Upload(Stream sourceStream, EventHandler`1 progressEventHandler)
   at Sdl.TranslationStudio.ProjectServerPlugin.IO.FileOperationClient.Upload(String sourcePath, EventHandler`1 progressEventHandler)
   at Sdl.TranslationStudio.ProjectServerPlugin.ProjectServerCommuteClient.InitiatePublishProjectPackage(Guid projectId, String packageFilePath, EventHandler`1 progressEventHandler)
   at Sdl.ProjectApi.Implementation.Server.PublishProjectOperation.Execute()]]></StackTrace>
    <InnerException>
      <Type>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
      <HelpLink />
      <Source>System.ServiceModel</Source>
      <HResult>-2146233083</HResult>
      <StackTrace><![CDATA[   at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)]]></StackTrace>
      <InnerException>
        <Type>System.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <Status>UnknownError</Status>
        <HelpLink />
        <Source>System</Source>
        <HResult>-2146233079</HResult>
        <StackTrace><![CDATA[   at System.Net.HttpWebRequest.GetResponse()
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)]]></StackTrace>
      </InnerException>
    </InnerException>
  </Exception>
  <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.2.9.9198</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1041</OperatingSystemLanguage>
    <CodePage>932</CodePage>
    <LoggedOnUser>ITP\chisato_yokota</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>JPH324TNVW</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>33216080 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

emoji
Parents
  • Hi Jesse,

    this error probably occurs when writing (a chunk of) the project package being published takes longer than 60 seconds.

    Unfortunately, I am not aware of a way to increase this timeout and also not of a way to decrease the chunk size.

    The situation may improve when using the newest Trados Studio and GorupShare (which uses a different method of communication).


    Other than that I can only advise

    A) to ensure that you network connection speed is sufficient

    B) the server performs adequately (this is a huge topic for itself, maybe working with support can help)

    Raphael

    emoji
Reply
  • Hi Jesse,

    this error probably occurs when writing (a chunk of) the project package being published takes longer than 60 seconds.

    Unfortunately, I am not aware of a way to increase this timeout and also not of a way to decrease the chunk size.

    The situation may improve when using the newest Trados Studio and GorupShare (which uses a different method of communication).


    Other than that I can only advise

    A) to ensure that you network connection speed is sufficient

    B) the server performs adequately (this is a huge topic for itself, maybe working with support can help)

    Raphael

    emoji
Children
No Data