404 Not Found when clicking Proceed

In some of our deploys we have a manual step which requires a user to click ‘Proceed’. Almost every time after clicking thius it gives us a 404 Not Found error. After going back to the home page and navigating back to click proceed again it works (some times this takes a few attempts).

Any idea what’s going on here?

Ta,

Ted

p.s. i think you should allow email addresses with apostrophes.

Hi Ted,

I’m not sure. Could you check the Windows event viewer on the Octopus server the next time it happens to see if any more information is available?

Paul

Hi Paul,
Thanks for looking, the error the event view gives me is (I hope this helps):

The description for Event ID 0 from source Octopus cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

2013-10-31 10:24:55,161 [121] ERROR Octopus [(null)] - System.AggregateException: One or more errors occurred. —> Octopus.Shared.Activities.ActivityFailedException: Running script on the Tentacle failed.

Server stack trace:
at Octopus.Server.Tasks.Deploy.ScriptRunner.RunScript(MachineEndpoint tentacleEndpoint, String script, IEnumerable1 variables, IActivityLog log) in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\ScriptRunner.cs:line 36 at Octopus.Server.Tasks.Deploy.RunScriptOnTentacleActivity.<>c__DisplayClass2.<Execute>b__1() in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\RunScriptOnTentacleActivity.cs:line 33 at Octopus.Shared.Activities.Activity1.StartNewThread.Execute() in c:\w\e6923628be6eaf72\source\Octopus.Shared\Activities\Activity.cs:line 52
at System.Threading.Tasks.Task.Execute()

Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__5.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 56

Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Tasks.Deploy.RunScriptActivity.d__5.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\RunScriptActivity.cs:line 55

Exception rethrown at [2]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__5.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 56

Exception rethrown at [3]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Tasks.Deploy.InstallationActivity.d__a.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\InstallationActivity.cs:line 71

Exception rethrown at [4]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__5.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 56

Exception rethrown at [5]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Tasks.Deploy.DeploymentControllerActivity.d__2.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\DeploymentControllerActivity.cs:line 44

Exception rethrown at [6]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__5.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 56
— End of inner exception stack trace —
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Octopus.Shared.Activities.ActivityState.WaitForComplete() in c:\w\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityState.cs:line 91
at Octopus.Server.Tasks.TaskRunner.Execute(Task task) in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\TaskRunner.cs:line 71
—> (Inner Exception #0) Octopus.Shared.Activities.ActivityFailedException: Running script on the Tentacle failed.

Server stack trace:
at Octopus.Server.Tasks.Deploy.ScriptRunner.RunScript(MachineEndpoint tentacleEndpoint, String script, IEnumerable1 variables, IActivityLog log) in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\ScriptRunner.cs:line 36 at Octopus.Server.Tasks.Deploy.RunScriptOnTentacleActivity.<>c__DisplayClass2.<Execute>b__1() in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\RunScriptOnTentacleActivity.cs:line 33 at Octopus.Shared.Activities.Activity1.StartNewThread.Execute() in c:\w\e6923628be6eaf72\source\Octopus.Shared\Activities\Activity.cs:line 52
at System.Threading.Tasks.Task.Execute()

Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__5.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 56

Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Tasks.Deploy.RunScriptActivity.d__5.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\RunScriptActivity.cs:line 55

Exception rethrown at [2]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__5.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 56

Exception rethrown at [3]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Tasks.Deploy.InstallationActivity.d__a.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\InstallationActivity.cs:line 71

Exception rethrown at [4]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__5.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 56

Exception rethrown at [5]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Server.Tasks.Deploy.DeploymentControllerActivity.d__2.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Server\Tasks\Deploy\DeploymentControllerActivity.cs:line 44

Exception rethrown at [6]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Octopus.Shared.Activities.ActivityRuntime.d__5.MoveNext() in c:\w\e6923628be6eaf72\source\Octopus.Shared\Activities\ActivityRuntime.cs:line 56<—

the message resource is present but the message is not found in the string/message table

Hi,

Glad to see we’re not the only ones encountering this problem. We’ve recently suffered through a very tedious and slow deployment because of this. A manual verification step which more often than not returned a 404 after clicking “proceed”, and required endless back-forth-click-retry-etc… before it eventually worked.

Our ops team is flagging this as a major problem for upcoming production releases and any help in resolving this would be greatly appreciated.

We are also having this problem. Out stack trace from the event log looks almost identical.

I recently started using this manual intevention step and am seeing the same error.

Do you have any ideas what is causing it?