Adding feed fails

Adding a feed gives this error:

An error occurred while posting the data to the server. Please reload the page and try again.

Is there a log somewhere where I can see the full exception ?

Octopus errors should get logged to the Windows event log. If you’re using Chrome or IE, you may be able to see the error output in the debugging tools (it’s usually a 500 error).

Seem to have worked now.
Have no idea what went wrong the first time.

The service seems to be stopping randomly (running on the same port as IIS might be the problem), and I’ve been having some issues with IE caching the pages. This might be related.

If you see the service stop randomly again, the event log should have some details. Please send a copy next time it happens :slight_smile:

Note I am running both the portal and tentacle on the same test machine. It’s also running IIS (and TeamCity on port 8000).
I’m running both the portal and tentacle under a domain account, that’s admin on this machine.
IIS has 2 app pools, one running the same user as the portal/tentacle services, and one running as ApplicationPoolIdentity.

These are the 3 errors I’m seeing in the event viewer when the service is stopped:

Faulting application name: Octopus.exe, version: 0.8.243.1, time stamp: 0x4e0139c5
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17514, time stamp: 0x4ce7bafa
Exception code: 0xe0434352
Fault offset: 0x0000b727
Faulting process id: 0xfb0
Faulting application start time: 0x01cc319c4ea79400
Faulting application path: C:\Octopus\Octopus\Server\Octopus.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 8cffcc04-9d8f-11e0-abbc-00155d01010b

=======================================

Application: Octopus.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.HttpListenerException
Stack:

Server stack trace:
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at Octopus.WebServer.Hosting.WebShellHost.Start()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessage)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32)
at Octopus.WebServer.Hosting.WebShellHost.Start()
at Octopus.WebServer.WebServer.Start()
at Autofac.ContainerBuilder.Build()
at Octopus.Application.Run()
at Octopus.Core.Startup.WindowsServiceHost.RunService()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

=======================================

An unhandled exception occurred and the process was terminated.

Application ID: Octopus.exe

Process ID: 4016

Exception: System.Net.HttpListenerException

Message: Failed to listen on prefix ‘http://localhost:80/Octopus/’ because it conflicts with an existing registration on the machine.

StackTrace:
Server stack trace:
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at Octopus.WebServer.Hosting.WebShellHost.Start()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

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 Octopus.WebServer.Hosting.WebShellHost.Start()
at Octopus.WebServer.WebServer.Start() in l:\Stovell Australia\Octopus\source\Octopus\WebServer\WebServer.cs:line 36
at Autofac.ContainerBuilder.Build()
at Octopus.Application.Run() in l:\Stovell Australia\Octopus\source\Octopus\Application.cs:line 38
at Octopus.Core.Startup.WindowsServiceHost.RunService() in l:\Stovell Australia\Octopus\source\Octopus.Core\Startup\WindowsServiceHost.cs:line 37
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()