"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?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<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>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

emoji