Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue during rendering using C# in Compound Templating

A sudden issue appeared on one of the environments when publishing/rendering a certain piece of code in Compound Templating. It is an DTAP environment, and the issue is only happening on the Production environment (as always ;-), where there are two CMS machine and two publishers. All showing the same behavior.

The code which causes the problem is:

StructureGroup SG = (StructureGroup)engine.GetObject("/webdav/pub/root/etc/etc...");

The error in the Template builder is:

System.Net.WebException: The underlying connection was closed: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.77.66.136:80 
   bij System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) 
   bij System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) 
   bij System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) 
   --- Einde van intern uitzonderingsstackpad --- 
   bij System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) 
   bij System.Net.HttpWebRequest.GetRequestStream() 
   bij System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) 
   bij Tridion.ContentManager.Templating.CompoundTemplates.DomainModel.Proxy.CompoundTemplateWebService.GetDebuggingState(String debuggerSessionId, String lastLogMessageId) 
   bij Tridion.ContentManager.Templating.CompoundTemplates.DomainModel.DebugObject.Start(Template template, Object debugItem, LoggingOptions loggingOptions) 

What is odd that we are not really trying to get to an external server. At least, that's what it looks like. Maybe I am missing something in how Tridion works. I am fairly certain it is a security issue, but I don't know where to look.

like image 827
Hendrik Beenker Avatar asked May 07 '12 11:05

Hendrik Beenker


People also ask

What is a render error?

This type of error is commonly caused by a particular clip in your project. Using footage that is different from most of your clips (for example, from a different camera, different format, different codec, different frame size, different frame rate), could be the source of the issue.

How do I fix rendering issues in Premiere Pro?

Whether it's a rendering issue or any general Premiere Pro issue, sometimes a restart is all it takes. Simply save your project, close Premiere Pro, then open it again. To be really sure, you can close all Adobe Creative Cloud services then re-open them. This will reset a lot of random issues.


1 Answers

I figured out the problem of the error with the help of Nickoli and Nuno's advice.

This error is shown when the Template Builder is trying to run from a location in a network, which doesn't have access to the code. I thought it was related to the engine.GetObject method, because the error would only appear when that method was run.

There was an error in the code in the end as well, but that had to do with a bad recursive method.

like image 157
Hendrik Beenker Avatar answered Oct 19 '22 19:10

Hendrik Beenker