Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Exception: The connection was dropped



  • I'm using Otter 2.2.3 and Inedo Agent 44.0.0.

    ERROR: Unhandled exception: Inedo.Agents.AgentConnectionException: The connection was dropped.
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Agents.InedoAgentClientBase.<SendMessageAsync>d__28.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Agents.InedoAgentClientBase.<ExecuteCommandAsync>d__261.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.LazyAsync1.<GetValueAsync>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Otter.Service.PlanExecuter.OtterPlanExecuter.<InitializeAgentAsync>d__50.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Otter.Service.PlanExecuter.OtterPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-GetExternalContextAsync>d__59.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.ExecutionEngine.Executer.ExecuterThread.<ExecuteAsync>d__54.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.ExecutionEngine.Executer.ExecuterThread.<ExecuteNextAsync>d__36.MoveNext()

    The deployment goes on for some time before stopping. What is causing this?


  • inedo-engineer

    A lot of things can cause a "connection was dropped" message... from unplugging network device to the Inedo Agent crashing.

    There's no way for Otter to know event caused the dropped connection, so the next place I would check is the server with the INedo Agent installed. The Windows Event logs should have some sort of stack trace or event that gives clues as to what happened.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation