Setting up a new install of Octopus Deploy 3.8.5. It was installed in the normal user authentication mode then converted to AD authentication mode. Normal forms-based authentication works fine, and Domain authentication seems to work - with a known-bad password you have to re-enter credentials. With a known-good password, however, it redirects you to this URL and returns a 400 internal server error instead of a web page:
https://XXXocto/integrated-challenge?redirectTo=/app#/users/sign-out
Nothing is recorded in Windows application logs or Octopus logs to indicate either success or failure of the login attempt.
The PowerShell test script at this URL works fine:
More output and diagnostic info below.
Sanitized configuration output below:
Environment Information:
OperatingSystem: Microsoft Windows NT 6.2.9200.0
OsBitVersion: x64
Is64BitProcess: True
CurrentUser: AD1\xxxxxxx
MachineName: XXXOCTO
ProcessorCount: 2
CurrentDirectory: c:\Program Files\Octopus Deploy\Octopus
TempDirectory: C:\Users\xxxxxxx\AppData\Local\Temp
HostProcessName: Octopus.Server
If I run Octopus.Server.exe checkservices I get the output below (sanitized):
Environment Information:
OperatingSystem: Microsoft Windows NT 6.2.9200.0
OsBitVersion: x64
Is64BitProcess: True
CurrentUser: AD1\xxxxxxx
MachineName: XXXOCTO
ProcessorCount: 2
CurrentDirectory: c:\Program Files\Octopus Deploy\Octopus
TempDirectory: C:\Users\xxxxxxx\AppData\Local\Temp
HostProcessName: Octopus.Server
Error: Object reference not set to an instance of an object.
Full error details are available in the log files.
At: C:\Users\xxxxxxx\AppData\Local\Octopus\Logs
Object reference not set to an instance of an object.
System.NullReferenceException
at Octopus.Shared.Startup.CheckServicesCommand.Start() in CheckServicesCommand.cs:line 34
at Octopus.Shared.Startup.AbstractCommand.Octopus.Shared.Startup.ICommand.Start(String[] commandLineArguments, ICommandRuntime commandRuntime, OptionSet commonOptions, String displayName, String version, String informationalVersion, String[] environmentInformation, String instanceName) in AbstractCommand.cs:line 77
at Octopus.Shared.Startup.OctopusProgram.Start(ICommandRuntime commandRuntime) in OctopusProgram.cs:line 214
at Octopus.Shared.Startup.ConsoleHost.Run(Action`1 start, Action shutdown) in ConsoleHost.cs:line 77
at Octopus.Shared.Startup.OctopusProgram.Run() in OctopusProgram.cs:line 104