Automatically start Agent after shutdown caused by (504) Gateway Error?

Hi,

A Gateway timeout caused my Agent service to shut down, is there a way to for me to configure the Agent to restart after an error like this?

 

From log:

----------------------------------------

Timestamp: 4/10/2018 6:00:37 PM

 

Severity: Error

 

Title:Scribe.Core.Processor.ProcessorServiceManager

 

Win32 ThreadId:60532

 

Message: Exception Type : WebException 

Message : The remote server returned an error: (504) Gateway Timeout. 

StackTrace :  at System.Net.HttpWebRequest.GetResponse()

  at Scribe.Core.Common.BaseServiceClient`1.CallService(String relativeUrl, RequestMethod method, String& response, Boolean authenticate, Byte[] body, String contentType)

  at Scribe.Core.Processor.ServiceClients.CommandServiceClient2.GetAgentSettings(Guid agentId)

  at Scribe.Core.Processor.AgentServices.Setup(ProcessorServiceManager processorServiceManager)

  at Scribe.Core.Processor.ProcessorServiceManager.Initialize()

  at Scribe.Core.Processor.ProcessorServiceManager.Run() 

----------------------------------------

----------------------------------------

Timestamp: 4/10/2018 6:00:37 PM

 

Severity: Information

 

Title:Scribe.Core.Processor.CacheConnectManager+CachedConnections

 

Win32 ThreadId:41432

 

Message: Shutting down Run thread.

 

 

----------------------------------------

----------------------------------------

Timestamp: 4/10/2018 6:00:39 PM

 

Severity: Information

 

Title:Scribe.Core.Access.Engine

 

Win32 ThreadId:41432

 

Message: Shutting down Run thread.

 

 

----------------------------------------

(4) Answers

Login