Upgrade to 5.05 now getting The supplied URL is not local

Upgrade to 5.05 now getting The supplied URL is not local

avatar
(anonymous user)

I just upgraded from PSU 4 to 5 and am now getting these errors after enabling windows auth when attempting to log in.

The supplied URL is not local. A URL with an absolute path is considered local if it does not have a host/authority part. URLs using virtual paths (‘~/’) are also local.

Here is the output of the log

2024-09-05 12:06:39.118 -04:00 [INF] Starting Hangfire Server using job storage: 'In-Memory Storage'
2024-09-05 12:06:39.136 -04:00 [INF] Using the following options for Hangfire Server:
    Worker count: 100
    Listening queues: 'default', 'psuserver'
    Shutdown timeout: 00:00:00.5000000
    Schedule polling interval: 00:00:15
2024-09-05 12:06:39.148 -04:00 [INF] Server psuserver:17020:c60cf2c6 successfully announced in 1.1105 ms
2024-09-05 12:06:39.150 -04:00 [INF] Server psuserver:17020:c60cf2c6 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, Worker, DelayedJobScheduler, RecurringJobScheduler...
2024-09-05 12:06:39.175 -04:00 [INF] Server psuserver:17020:c60cf2c6 all the dispatchers started
2024-09-05 12:06:43.999 -04:00 [INF] Creating services.
2024-09-05 12:06:45.070 -04:00 [INF] Starting scheduler.
2024-09-05 12:06:45.121 -04:00 [INF] Using object serializer: Quartz.Simpl.BinaryObjectSerializer, Quartz
2024-09-05 12:06:45.126 -04:00 [INF] Initialized Scheduler Signaller of type: Quartz.Core.SchedulerSignalerImpl
2024-09-05 12:06:45.127 -04:00 [INF] Quartz Scheduler created
2024-09-05 12:06:45.127 -04:00 [INF] RAMJobStore initialized.
2024-09-05 12:06:45.129 -04:00 [INF] Scheduler meta-data: Quartz Scheduler (v3.3.3.0) 'QuartzScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'Quartz.Core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'Quartz.Simpl.DefaultThreadPool' - with 100 threads.
  Using job-store 'Quartz.Simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2024-09-05 12:06:45.129 -04:00 [INF] Quartz scheduler 'QuartzScheduler' initialized
2024-09-05 12:06:45.129 -04:00 [INF] Quartz scheduler version: 3.3.3.0
2024-09-05 12:06:45.134 -04:00 [INF] Scheduler QuartzScheduler_$_NON_CLUSTERED started.
2024-09-05 12:06:45.146 -04:00 [INF] Dashboard configuration complete.
2024-09-05 12:06:48.732 -04:00 [INF] PSModulePath (PowerShell 7) - C:\inetpub\wwwroot\Agents\5.1\Modules;C:\Windows\system32\config\systemprofile\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;C:\inetpub\wwwroot\Modules;C:\inetpub\wwwroot\Modules;C:\Program Files\Microsoft Azure AD Connect Health Agent\Modules\;C:\ProgramData\UniversalAutomation\Repository\Modules;C:\inetpub\wwwroot\UniversalDashboard\Components;C:\ProgramData\UniversalAutomation\Repository\Components
2024-09-05 12:06:49.088 -04:00 [INF] PSModulePath (PowerShell 7) - C:\inetpub\wwwroot\Modules;C:\Windows\system32\config\systemprofile\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;C:\inetpub\wwwroot\Modules;C:\inetpub\wwwroot\Modules;C:\Program Files\Microsoft Azure AD Connect Health Agent\Modules\;C:\ProgramData\UniversalAutomation\Repository\Modules;C:\inetpub\wwwroot\UniversalDashboard\Components;C:\ProgramData\UniversalAutomation\Repository\Components
2024-09-05 12:08:09.251 -04:00 [WRN] Failed to process the job '97f6923b-e1d1-4916-ac32-4c8c94babf95': an exception occured. Job was automatically deleted because the retry attempt count exceeded 0.
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'.
   at PowerShellUniversal.Extensibility.EFTable`2.Update(T item) in C:\actions-runner\_work\universal\universal\src\PowerShellUniversal.Extensibility\Persistence\EFTable.cs:line 282
   at UniversalAutomation.HeartBeatService.Run() in C:\actions-runner\_work\universal\universal\src\Universal.Server\Services\HeartBeatService.cs:line 81
   at InvokeStub_HeartBeatService.Run(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
2024-09-05 12:09:41.031 -04:00 [INF] Server psuserver:17020:c60cf2c6 caught stopping signal...
2024-09-05 12:09:41.039 -04:00 [INF] Server psuserver:17020:c60cf2c6 All dispatchers stopped
2024-09-05 12:09:41.041 -04:00 [INF] Server psuserver:17020:c60cf2c6 successfully reported itself as stopped in 0.2927 ms
2024-09-05 12:09:41.042 -04:00 [INF] Server psuserver:17020:c60cf2c6 has been stopped in total 9.4437 ms
2024-09-05 12:10:48.633 -04:00 [INF] Starting PowerShell Universal...
2024-09-05 12:10:48.957 -04:00 [INF] PowerShell Universal Version: 5.0.5
2024-09-05 12:10:48.959 -04:00 [INF] OS Version: Microsoft Windows NT 10.0.14393.0
2024-09-05 12:10:48.959 -04:00 [INF] OS Architecture: x64
2024-09-05 12:10:48.959 -04:00 [INF] Process Architecture: x64
2024-09-05 12:10:48.959 -04:00 [INF] Node Name: psuserver
2024-09-05 12:10:48.959 -04:00 [INF] Running startup complete.
2024-09-05 12:10:48.988 -04:00 [INF] Starting PowerShell Universal...
2024-09-05 12:10:49.031 -04:00 [INF] Starting management service...
2024-09-05 12:10:49.238 -04:00 [INF] Loading app tokens...
2024-09-05 12:10:49.289 -04:00 [INF] Initializing database...
2024-09-05 12:10:49.420 -04:00 [INF] RPC services being provided by UniversalAutomation.IPublicSecretManagerService: 1
2024-09-05 12:10:49.437 -04:00 [INF] RPC services being provided by PowerShellUniversal.IdentityClient: 6
2024-09-05 12:10:49.452 -04:00 [INF] Loading configuration files...
2024-09-05 12:10:49.459 -04:00 [INF] RPC services being provided by PowerShellUniversal.JobDataService: 11
2024-09-05 12:10:49.468 -04:00 [WRN] Type cannot be serialized; ignoring: PowerShellUniversal.AuthenticationMethod
2024-09-05 12:10:49.468 -04:00 [WRN] Signature not recognized for PowerShellUniversal.IPublicClient.NewAuthenticationMethod; method will not be bound
2024-09-05 12:10:49.471 -04:00 [WRN] Type cannot be serialized; ignoring: PowerShellUniversal.Translation
2024-09-05 12:10:49.471 -04:00 [WRN] Signature not recognized for PowerShellUniversal.IPublicClient.NewTranslation; method will not be bound
2024-09-05 12:10:49.478 -04:00 [WRN] Signature not recognized for PowerShellUniversal.IPublicClient.SyncComponent; method will not be bound
2024-09-05 12:10:49.514 -04:00 [INF] RPC services being provided by PowerShellUniversal.PublicClient: 30
2024-09-05 12:10:49.524 -04:00 [INF] RPC services being provided by PowerShellUniversal.ComputerClient: 5
2024-09-05 12:10:49.537 -04:00 [INF] RPC services being provided by Universal.Server.Services.DashboardGrpcClient: 7
2024-09-05 12:10:49.539 -04:00 [WRN] Type cannot be serialized; ignoring: System.IDisposable
2024-09-05 12:10:49.539 -04:00 [WRN] Signature not recognized for PowerShellUniversal.IConfigurationSystemWatcher.Pause; method will not be bound
2024-09-05 12:10:49.539 -04:00 [WRN] Signature not recognized for PowerShellUniversal.IConfigurationSystemWatcher.CheckSum; method will not be bound
2024-09-05 12:10:49.541 -04:00 [INF] RPC services being provided by Universal.Server.Services.Configuration.ConfigurationSystemWatcher: 2
2024-09-05 12:10:49.550 -04:00 [INF] RPC services being provided by Universal.Server.Services.Configuration.PortalComponentService: 5
2024-09-05 12:10:49.558 -04:00 [INF] RPC services being provided by Universal.Server.Services.Configuration.PortalPageService: 5
2024-09-05 12:10:49.562 -04:00 [INF] RPC services being provided by Universal.Server.Services.Automation.JobInvokerService: 2
2024-09-05 12:10:49.571 -04:00 [INF] RPC services being provided by Universal.Server.Services.Authentication.AppTokenClient: 6
2024-09-05 12:10:49.579 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.ComputerGroupService: 5
2024-09-05 12:10:49.588 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.EndpointDocumentationService: 5
2024-09-05 12:10:49.597 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.EndpointService: 5
2024-09-05 12:10:49.605 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.EnvironmentConfigService: 5
2024-09-05 12:10:49.613 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.EventHubService: 5
2024-09-05 12:10:49.621 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.FolderService: 5
2024-09-05 12:10:49.628 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.HealthCheckConfigService: 5
2024-09-05 12:10:49.638 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.ModuleConfigService: 5
2024-09-05 12:10:49.648 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.PublishedFolderCommand: 5
2024-09-05 12:10:49.659 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.RoleService: 5
2024-09-05 12:10:49.667 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.ScriptService: 5
2024-09-05 12:10:49.675 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.TagService: 5
2024-09-05 12:10:49.684 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.TerminalService: 5
2024-09-05 12:10:49.693 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.TriggerService: 5
2024-09-05 12:10:49.701 -04:00 [INF] RPC services being provided by UniversalAutomation.Services.VariableService: 5
2024-09-05 12:10:49.707 -04:00 [INF] RPC services being provided by PowerShellUniversal.IGitSettingsService: 4
2024-09-05 12:10:49.768 -04:00 [INF] RPC services being provided by UniversalAutomation.IPublicGitService: 3
2024-09-05 12:10:49.776 -04:00 [INF] RPC services being provided by UniversalAutomation.IPublicApiService: 1
2024-09-05 12:10:49.788 -04:00 [INF] RPC services being provided by UniversalAutomation.IPublicGitSyncService: 5
2024-09-05 12:10:49.796 -04:00 [INF] RPC services being provided by PowerShellUniversal.IBrandingService: 1
2024-09-05 12:10:49.914 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/ - null null
2024-09-05 12:10:49.928 -04:00 [INF] Application started. Press Ctrl+C to shut down.
2024-09-05 12:10:49.928 -04:00 [INF] Hosting environment: Production
2024-09-05 12:10:49.928 -04:00 [INF] Content root path: C:\inetpub\wwwroot
2024-09-05 12:10:50.109 -04:00 [INF] Executing ChallengeResult with authentication schemes ([]).
2024-09-05 12:10:50.126 -04:00 [INF] AuthenticationScheme: Cookies was challenged.
2024-09-05 12:10:50.135 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/ - 302 null null 223.7027ms
2024-09-05 12:10:50.146 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/login - null null
2024-09-05 12:10:50.184 -04:00 [INF] Executing endpoint '/Login'
2024-09-05 12:10:50.199 -04:00 [INF] Route matched with {page = "/Login", action = "", controller = ""}. Executing page /Login
2024-09-05 12:10:50.211 -04:00 [INF] Executing handler method PowerShellUniversal.Login.OnGet - ModelState is "Valid"
2024-09-05 12:10:50.276 -04:00 [INF] Executed handler method OnGet, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2024-09-05 12:10:50.303 -04:00 [INF] Executed page /Login in 101.2126ms
2024-09-05 12:10:50.303 -04:00 [INF] Executed endpoint '/Login'
2024-09-05 12:10:50.305 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/login - 200 null text/html; charset=utf-8 159.5338ms
2024-09-05 12:10:51.353 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/login - null null
2024-09-05 12:10:51.384 -04:00 [INF] Executing endpoint '/Login'
2024-09-05 12:10:51.384 -04:00 [INF] Route matched with {page = "/Login", action = "", controller = ""}. Executing page /Login
2024-09-05 12:10:51.386 -04:00 [INF] Executing handler method PowerShellUniversal.Login.OnGet - ModelState is "Valid"
2024-09-05 12:10:51.392 -04:00 [INF] Executed handler method OnGet, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2024-09-05 12:10:51.397 -04:00 [INF] Executed page /Login in 13.2812ms
2024-09-05 12:10:51.397 -04:00 [INF] Executed endpoint '/Login'
2024-09-05 12:10:51.398 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/login - 200 null text/html; charset=utf-8 44.7812ms
2024-09-05 12:10:52.439 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/login - null null
2024-09-05 12:10:52.447 -04:00 [INF] Executing endpoint '/Login'
2024-09-05 12:10:52.447 -04:00 [INF] Route matched with {page = "/Login", action = "", controller = ""}. Executing page /Login
2024-09-05 12:10:52.450 -04:00 [INF] Executing handler method PowerShellUniversal.Login.OnGet - ModelState is "Valid"
2024-09-05 12:10:52.457 -04:00 [INF] Executed handler method OnGet, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2024-09-05 12:10:52.458 -04:00 [INF] Executed page /Login in 11.1118ms
2024-09-05 12:10:52.458 -04:00 [INF] Executed endpoint '/Login'
2024-09-05 12:10:52.459 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/login - 200 null text/html; charset=utf-8 19.454ms
2024-09-05 12:10:53.502 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/login - null null
2024-09-05 12:10:53.509 -04:00 [INF] Executing endpoint '/Login'
2024-09-05 12:10:53.509 -04:00 [INF] Route matched with {page = "/Login", action = "", controller = ""}. Executing page /Login
2024-09-05 12:10:53.510 -04:00 [INF] Executing handler method PowerShellUniversal.Login.OnGet - ModelState is "Valid"
2024-09-05 12:10:53.515 -04:00 [INF] Executed handler method OnGet, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2024-09-05 12:10:53.515 -04:00 [INF] Executed page /Login in 5.6912ms
2024-09-05 12:10:53.515 -04:00 [INF] Executed endpoint '/Login'
2024-09-05 12:10:53.516 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/login - 200 null text/html; charset=utf-8 14.0244ms
2024-09-05 12:10:54.356 -04:00 [INF] Scheduling script 1 on schedule 0 0 * * * with time zone US/Eastern.
2024-09-05 12:10:54.359 -04:00 [INF] Scheduling job 'update-userproxy' with schedule update-userproxy on time zone US/Eastern
2024-09-05 12:10:54.379 -04:00 [INF] Scheduling script 4 on schedule 0 0 * * * with time zone US/Eastern.
2024-09-05 12:10:54.380 -04:00 [INF] Scheduling job 'disable-nopwreq' with schedule disable-nopwreq on time zone US/Eastern
2024-09-05 12:10:54.389 -04:00 [INF] Scheduling script 3 on schedule 0 0 * * * with time zone US/Eastern.
2024-09-05 12:10:54.389 -04:00 [INF] Scheduling job 'cleanoldadcomp' with schedule cleanoldadcomp on time zone US/Eastern
2024-09-05 12:10:54.561 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/login - null null
2024-09-05 12:10:54.570 -04:00 [INF] Executing endpoint '/Login'
2024-09-05 12:10:54.570 -04:00 [INF] Route matched with {page = "/Login", action = "", controller = ""}. Executing page /Login
2024-09-05 12:10:54.570 -04:00 [INF] Executing handler method PowerShellUniversal.Login.OnGet - ModelState is "Valid"
2024-09-05 12:10:54.575 -04:00 [INF] Executed handler method OnGet, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2024-09-05 12:10:54.576 -04:00 [INF] Executed page /Login in 5.834ms
2024-09-05 12:10:54.576 -04:00 [INF] Executed endpoint '/Login'
2024-09-05 12:10:54.576 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/login - 200 null text/html; charset=utf-8 15.052ms
2024-09-05 12:10:55.617 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/login - null null
2024-09-05 12:10:55.635 -04:00 [INF] Executing endpoint '/Login'
2024-09-05 12:10:55.635 -04:00 [INF] Route matched with {page = "/Login", action = "", controller = ""}. Executing page /Login
2024-09-05 12:10:55.636 -04:00 [INF] Executing handler method PowerShellUniversal.Login.OnGet - ModelState is "Valid"
2024-09-05 12:10:55.640 -04:00 [INF] Executed handler method OnGet, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2024-09-05 12:10:55.641 -04:00 [INF] Executed page /Login in 5.3488ms
2024-09-05 12:10:55.641 -04:00 [INF] Executed endpoint '/Login'
2024-09-05 12:10:55.641 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/login - 200 null text/html; charset=utf-8 24.2974ms
2024-09-05 12:10:56.356 -04:00 [INF] Configuring authentication methods...
2024-09-05 12:10:56.432 -04:00 [INF] Synchronizing with git...
2024-09-05 12:10:56.449 -04:00 [INF] Running git sync, if configured.
2024-09-05 12:10:56.457 -04:00 [INF] Logging enabled at level Debug
2024-09-05 12:10:56.460 -04:00 [INF] Scheduling git sync service.
2024-09-05 12:10:56.460 -04:00 [INF] Scheduling background jobs...
2024-09-05 12:10:56.478 -04:00 [INF] Scheduling heartbeat job.
2024-09-05 12:10:56.508 -04:00 [INF] Scheduling update check.
2024-09-05 12:10:56.511 -04:00 [INF] Starting security service...
2024-09-05 12:10:56.522 -04:00 [INF] Starting heartbeat job.
2024-09-05 12:10:56.525 -04:00 [INF] Running health check: IIS WebSocket Feature Enabled
2024-09-05 12:10:56.530 -04:00 [INF] Starting security proxy.
2024-09-05 12:10:56.566 -04:00 [INF] Starting module discovery using Process.
2024-09-05 12:10:56.586 -04:00 [INF] Starting module discovery using Process.
2024-09-05 12:10:56.604 -04:00 [INF] Startup complete.
2024-09-05 12:10:56.678 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/login - null null
2024-09-05 12:10:56.686 -04:00 [INF] Executing endpoint '/Login'
2024-09-05 12:10:56.686 -04:00 [INF] Route matched with {page = "/Login", action = "", controller = ""}. Executing page /Login
2024-09-05 12:10:56.686 -04:00 [INF] Executing handler method PowerShellUniversal.Login.OnGet - ModelState is "Valid"
2024-09-05 12:10:56.728 -04:00 [INF] Finished heartbeat job.
2024-09-05 12:10:56.847 -04:00 [INF] Executed handler method OnGet, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2024-09-05 12:10:56.855 -04:00 [INF] Executed page /Login in 168.9887ms
2024-09-05 12:10:56.855 -04:00 [INF] Executed endpoint '/Login'
2024-09-05 12:10:56.855 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/login - 200 null text/html; charset=utf-8 177.6971ms
2024-09-05 12:10:57.996 -04:00 [INF] PowerShell Universal performance counters do not exist.
2024-09-05 12:10:59.010 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/api/v1/signin/windows - null null
2024-09-05 12:10:59.037 -04:00 [INF] Executing endpoint 'UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server)'
2024-09-05 12:10:59.045 -04:00 [INF] Route matched with {action = "WindowsLogin", controller = "Authentication", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult WindowsLogin(System.String) on controller UniversalDashboard.Controllers.AuthenticationController (Universal.Server).
2024-09-05 12:10:59.049 -04:00 [INF] Executing action method UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server) - Validation state: "Valid"
2024-09-05 12:10:59.052 -04:00 [INF] Executed action method UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server), returned result Microsoft.AspNetCore.Mvc.LocalRedirectResult in 0.298ms.
2024-09-05 12:10:59.053 -04:00 [INF] Executing LocalRedirectResult, redirecting to /admin.
2024-09-05 12:10:59.053 -04:00 [INF] Executed action UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server) in 7.7534ms
2024-09-05 12:10:59.053 -04:00 [INF] Executed endpoint 'UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server)'
2024-09-05 12:10:59.054 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/api/v1/signin/windows - 302 null null 44.1531ms
2024-09-05 12:10:59.059 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/admin - null null
2024-09-05 12:10:59.066 -04:00 [INF] Executing ChallengeResult with authentication schemes ([]).
2024-09-05 12:10:59.072 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/admin - 401 null null 12.9832ms
2024-09-05 12:10:59.123 -04:00 [INF] Request starting HTTP/1.1 GET https://psuserver/admin - null null
2024-09-05 12:10:59.136 -04:00 [INF] Executing ChallengeResult with authentication schemes ([]).
2024-09-05 12:10:59.138 -04:00 [INF] Request finished HTTP/1.1 GET https://psuserver/admin - 401 null null 14.267ms
2024-09-05 12:10:59.155 -04:00 [INF] Request starting HTTP/1.1 GET https://psuserver/admin - null null
2024-09-05 12:10:59.182 -04:00 [INF] Evaluating claims for fcwa\jmaskeny, Cache: True
2024-09-05 12:10:59.415 -04:00 [INF] Executing endpoint '/_Host'
2024-09-05 12:10:59.417 -04:00 [INF] Route matched with {page = "/_Host", action = "", controller = ""}. Executing page /_Host
2024-09-05 12:10:59.419 -04:00 [INF] Executing an implicit handler method - ModelState is "Valid"
2024-09-05 12:10:59.420 -04:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2024-09-05 12:10:59.462 -04:00 [INF] Running health check: CPU Usage
2024-09-05 12:10:59.645 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.647 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.648 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.650 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.651 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.653 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.654 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.697 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.698 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.699 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.700 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.701 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.702 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.703 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.773 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.937 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.941 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.942 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.944 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.945 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:10:59.947 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.021 -04:00 [INF] Executed page /_Host in 604.2953ms
2024-09-05 12:11:00.021 -04:00 [INF] Executed endpoint '/_Host'
2024-09-05 12:11:00.061 -04:00 [INF] Request finished HTTP/1.1 GET https://psuserver/admin - 200 null text/html; charset=utf-8 906.0542ms
2024-09-05 12:11:00.095 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/_framework/blazor.server.js - null null
2024-09-05 12:11:00.104 -04:00 [INF] Executing endpoint 'Blazor static files'
2024-09-05 12:11:00.108 -04:00 [INF] The file /_framework/blazor.server.js was not modified
2024-09-05 12:11:00.109 -04:00 [INF] Executed endpoint 'Blazor static files'
2024-09-05 12:11:00.109 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/_framework/blazor.server.js - 304 null text/javascript 14.4008ms
2024-09-05 12:11:00.204 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/_blazor/initializers - null null
2024-09-05 12:11:00.211 -04:00 [INF] Executing endpoint 'Blazor initializers'
2024-09-05 12:11:00.214 -04:00 [INF] Executed endpoint 'Blazor initializers'
2024-09-05 12:11:00.214 -04:00 [INF] Request finished HTTP/2 GET https://psuserver/_blazor/initializers - 200 null application/json; charset=utf-8 10.7185ms
2024-09-05 12:11:00.243 -04:00 [INF] Request starting HTTP/2 POST https://psuserver/_blazor/negotiate?negotiateVersion=1 - null 0
2024-09-05 12:11:00.250 -04:00 [INF] CORS policy execution failed.
2024-09-05 12:11:00.250 -04:00 [INF] Request origin https://psuserver does not have permission to access the resource.
2024-09-05 12:11:00.258 -04:00 [INF] Executing endpoint '/_blazor/negotiate'
2024-09-05 12:11:00.261 -04:00 [INF] Executed endpoint '/_blazor/negotiate'
2024-09-05 12:11:00.261 -04:00 [INF] Request finished HTTP/2 POST https://psuserver/_blazor/negotiate?negotiateVersion=1 - 200 316 application/json 17.8869ms
2024-09-05 12:11:00.535 -04:00 [INF] Request starting HTTP/1.1 GET https://psuserver/_blazor?id=ysCUsXgO6cPz4ZUVL5cbZA - null null
2024-09-05 12:11:00.538 -04:00 [INF] CORS policy execution failed.
2024-09-05 12:11:00.538 -04:00 [INF] Request origin https://psuserver does not have permission to access the resource.
2024-09-05 12:11:00.544 -04:00 [INF] Executing endpoint '/_blazor'
2024-09-05 12:11:00.598 -04:00 [INF] Running health check: Memory Utilization
2024-09-05 12:11:00.692 -04:00 [INF] Authorization failed. These requirements were not met:
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
2024-09-05 12:11:00.717 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.718 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.719 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.720 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.721 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.722 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.723 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.726 -04:00 [INF] Request starting HTTP/2 GET https://psuserver/api/v1/signin/windows?returnUrl=admin - null null
2024-09-05 12:11:00.726 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.728 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.729 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.730 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.731 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.732 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.733 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:11:00.737 -04:00 [WRN] Identity not found for user null
2024-09-05 12:11:00.741 -04:00 [INF] Executing endpoint 'UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server)'
2024-09-05 12:11:00.742 -04:00 [INF] Route matched with {action = "WindowsLogin", controller = "Authentication", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult WindowsLogin(System.String) on controller UniversalDashboard.Controllers.AuthenticationController (Universal.Server).
2024-09-05 12:11:00.745 -04:00 [INF] Executing action method UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server) - Validation state: "Valid"
2024-09-05 12:11:00.745 -04:00 [INF] Executed action method UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server), returned result Microsoft.AspNetCore.Mvc.LocalRedirectResult in 0.073ms.
2024-09-05 12:11:00.747 -04:00 [INF] Executed action UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server) in 5.4604ms
2024-09-05 12:11:00.747 -04:00 [INF] Executed endpoint 'UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server)'
2024-09-05 12:11:00.750 -04:00 [ERR] An unhandled exception has occurred while executing the request.
System.InvalidOperationException: The supplied URL is not local. A URL with an absolute path is considered local if it does not have a host/authority part. URLs using virtual paths ('~/') are also local.
   at Microsoft.AspNetCore.Mvc.Infrastructure.LocalRedirectResultExecutor.ExecuteAsync(ActionContext context, LocalRedirectResult result)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeResultAsync>g__Logged|22_0(ResourceInvoker invoker, IActionResult result)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
 


There is more to the log but I can only fit so much in one post. 


Product: PowerShell Universal
Version: 5.0.5


All Comments (4)

avatar

Here may be a more relevant snippet of the log

2024-09-05 12:14:08.331 -04:00 [WRN] Identity not found for user null
2024-09-05 12:14:08.333 -04:00 [INF] Request starting HTTP/1.1 GET https://psuserver/api/v1/signin/windows?returnUrl=admin - null null
2024-09-05 12:14:08.336 -04:00 [INF] Evaluating claims for fcwa\jmaskeny, Cache: True
2024-09-05 12:14:08.339 -04:00 [INF] Executing endpoint 'UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server)'
2024-09-05 12:14:08.340 -04:00 [INF] Route matched with {action = "WindowsLogin", controller = "Authentication", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult WindowsLogin(System.String) on controller UniversalDashboard.Controllers.AuthenticationController (Universal.Server).
2024-09-05 12:14:08.340 -04:00 [INF] Executing action method UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server) - Validation state: "Valid"
2024-09-05 12:14:08.340 -04:00 [INF] Executed action method UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server), returned result Microsoft.AspNetCore.Mvc.LocalRedirectResult in 0.0299ms.
2024-09-05 12:14:08.340 -04:00 [INF] Executed action UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server) in 0.8227ms
2024-09-05 12:14:08.340 -04:00 [INF] Executed endpoint 'UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server)'
2024-09-05 12:14:08.341 -04:00 [ERR] An unhandled exception has occurred while executing the request.
System.InvalidOperationException: The supplied URL is not local. A URL with an absolute path is considered local if it does not have a host/authority part. URLs using virtual paths ('~/') are also local.
   at Microsoft.AspNetCore.Mvc.Infrastructure.LocalRedirectResultExecutor.ExecuteAsync(ActionContext context, LocalRedirectResult result)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeResultAsync>g__Logged|22_0(ResourceInvoker invoker, IActionResult result)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at PowerShellUniversal.FeatureMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Middleware\FeatureMiddleware.cs:line 42
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at PowerShellUniversal.DisallowedModeMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Middleware\ModeMiddleware.cs:line 41
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at PowerShellUniversal.CspMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Middleware\CspMiddleware.cs:line 28
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Universal.Server.Middleware.RoutingMiddleware.Invoke(HttpContext httpContext, IPolicyEvaluator policyEvaluator) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Middleware\RoutingMiddleware.cs:line 184
   at PowerShellUniversal.PSUMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Middleware\PowerShellMiddleware.cs:line 43
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Universal.Server.Middleware.WindowsAuthMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Middleware\WindowsAuthMiddleware.cs:line 37
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Universal.Server.Middleware.SwaggerAuthenticationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Middleware\SwaggerAuthMiddleware.cs:line 51
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at AspNetCoreRateLimit.RateLimitMiddleware`1.Invoke(HttpContext context) in C:\actions-runner\_work\universal\universal\src\AspNetCoreRateLimit\Middleware\RateLimitMiddleware.cs:line 109
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
2024-09-05 12:14:08.342 -04:00 [INF] Request finished HTTP/1.1 GET https://psuserver/api/v1/signin/windows?returnUrl=admin - 500 null text/plain 9.1255ms
2024-09-05 12:14:08.359 -04:00 [INF] Request starting HTTP/1.1 GET https://psuserver/login - null null
2024-09-05 12:14:08.362 -04:00 [INF] Evaluating claims for fcwa\jmaskeny, Cache: True
2024-09-05 12:14:08.365 -04:00 [INF] Executing endpoint '/Login'
2024-09-05 12:14:08.365 -04:00 [INF] Route matched with {page = "/Login", action = "", controller = ""}. Executing page /Login
2024-09-05 12:14:08.365 -04:00 [INF] Executing handler method PowerShellUniversal.Login.OnGet - ModelState is "Valid"
2024-09-05 12:14:08.368 -04:00 [INF] Executed handler method OnGet, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2024-09-05 12:14:08.368 -04:00 [INF] Executed page /Login in 3.2615ms
2024-09-05 12:14:08.368 -04:00 [INF] Executed endpoint '/Login'
2024-09-05 12:14:08.369 -04:00 [INF] Request finished HTTP/1.1 GET https://psuserver/login - 200 null text/html; charset=utf-8 9.5394ms
2024-09-05 12:14:08.393 -04:00 [INF] Executed endpoint '/_blazor'
2024-09-05 12:14:08.393 -04:00 [INF] Request finished HTTP/1.1 GET https://psuserver/_blazor?id=GetOxsCTHJdGhNxO-FC8AA - 101 null null 102.8545ms
2024-09-05 12:14:09.319 -04:00 [INF] Authorization failed. These requirements were not met:
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
2024-09-05 12:14:09.320 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:09.320 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:09.321 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:09.321 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:09.322 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:09.322 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:09.322 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:24.162 -04:00 [INF] Request starting HTTP/1.1 POST https://psuserver/api/v1/signin/form?returnurl= - application/x-www-form-urlencoded 39
2024-09-05 12:14:24.165 -04:00 [INF] Evaluating claims for fcwa\jmaskeny, Cache: True
2024-09-05 12:14:24.166 -04:00 [INF] CORS policy execution failed.
2024-09-05 12:14:24.166 -04:00 [INF] Request origin https://psuserver does not have permission to access the resource.
2024-09-05 12:14:24.169 -04:00 [INF] Executing endpoint 'UniversalDashboard.Controllers.AuthenticationController.SignInForm (Universal.Server)'
2024-09-05 12:14:24.169 -04:00 [INF] Route matched with {action = "SignInForm", controller = "Authentication", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignInForm(PowerShellUniversal.Credential) on controller UniversalDashboard.Controllers.AuthenticationController (Universal.Server).
2024-09-05 12:14:24.171 -04:00 [INF] Executing action method UniversalDashboard.Controllers.AuthenticationController.SignInForm (Universal.Server) - Validation state: "Valid"
2024-09-05 12:14:24.238 -04:00 [INF] Executed action method UniversalDashboard.Controllers.AuthenticationController.SignInForm (Universal.Server), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 67.3264ms.
2024-09-05 12:14:24.238 -04:00 [INF] Executing RedirectResult, redirecting to /login.
2024-09-05 12:14:24.238 -04:00 [INF] Executed action UniversalDashboard.Controllers.AuthenticationController.SignInForm (Universal.Server) in 68.8435ms
2024-09-05 12:14:24.238 -04:00 [INF] Executed endpoint 'UniversalDashboard.Controllers.AuthenticationController.SignInForm (Universal.Server)'
2024-09-05 12:14:24.239 -04:00 [INF] Request finished HTTP/1.1 POST https://psuserver/api/v1/signin/form?returnurl= - 302 null null 76.241ms
2024-09-05 12:14:24.246 -04:00 [INF] Request starting HTTP/1.1 GET https://psuserver/login - null null
2024-09-05 12:14:24.248 -04:00 [INF] Evaluating claims for fcwa\jmaskeny, Cache: True
2024-09-05 12:14:24.252 -04:00 [INF] Executing endpoint '/Login'
2024-09-05 12:14:24.252 -04:00 [INF] Route matched with {page = "/Login", action = "", controller = ""}. Executing page /Login
2024-09-05 12:14:24.252 -04:00 [INF] Executing handler method PowerShellUniversal.Login.OnGet - ModelState is "Valid"
2024-09-05 12:14:24.254 -04:00 [INF] Executed handler method OnGet, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2024-09-05 12:14:24.255 -04:00 [INF] Executed page /Login in 2.9769ms
2024-09-05 12:14:24.255 -04:00 [INF] Executed endpoint '/Login'
2024-09-05 12:14:24.255 -04:00 [INF] Request finished HTTP/1.1 GET https://psuserver/login - 200 null text/html; charset=utf-8 9.472ms
2024-09-05 12:14:35.030 -04:00 [INF] Request starting HTTP/1.1 POST https://psuserver/api/v1/signin/form?returnurl= - application/x-www-form-urlencoded 42
2024-09-05 12:14:35.033 -04:00 [INF] Evaluating claims for fcwa\jmaskeny, Cache: True
2024-09-05 12:14:35.036 -04:00 [INF] CORS policy execution failed.
2024-09-05 12:14:35.037 -04:00 [INF] Request origin https://psuserver does not have permission to access the resource.
2024-09-05 12:14:35.053 -04:00 [INF] Executing endpoint 'UniversalDashboard.Controllers.AuthenticationController.SignInForm (Universal.Server)'
2024-09-05 12:14:35.054 -04:00 [INF] Route matched with {action = "SignInForm", controller = "Authentication", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] SignInForm(PowerShellUniversal.Credential) on controller UniversalDashboard.Controllers.AuthenticationController (Universal.Server).
2024-09-05 12:14:35.054 -04:00 [INF] Executing action method UniversalDashboard.Controllers.AuthenticationController.SignInForm (Universal.Server) - Validation state: "Valid"
2024-09-05 12:14:35.057 -04:00 [INF] Evaluating claims for admin, Cache: False
2024-09-05 12:14:35.061 -04:00 [INF] AuthenticationScheme: Cookies signed in.
2024-09-05 12:14:35.062 -04:00 [INF] Executed action method UniversalDashboard.Controllers.AuthenticationController.SignInForm (Universal.Server), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 7.6036ms.
2024-09-05 12:14:35.062 -04:00 [INF] Executing RedirectResult, redirecting to /admin.
2024-09-05 12:14:35.062 -04:00 [INF] Executed action UniversalDashboard.Controllers.AuthenticationController.SignInForm (Universal.Server) in 8.3348ms
2024-09-05 12:14:35.062 -04:00 [INF] Executed endpoint 'UniversalDashboard.Controllers.AuthenticationController.SignInForm (Universal.Server)'
2024-09-05 12:14:35.062 -04:00 [INF] Request finished HTTP/1.1 POST https://psuserver/api/v1/signin/form?returnurl= - 302 null null 32.2344ms
2024-09-05 12:14:35.072 -04:00 [INF] Request starting HTTP/1.1 GET https://psuserver/admin - null null
2024-09-05 12:14:35.076 -04:00 [INF] Evaluating claims for fcwa\jmaskeny, Cache: True
2024-09-05 12:14:35.079 -04:00 [INF] Executing endpoint '/_Host'
2024-09-05 12:14:35.079 -04:00 [INF] Route matched with {page = "/_Host", action = "", controller = ""}. Executing page /_Host
2024-09-05 12:14:35.079 -04:00 [INF] Executing an implicit handler method - ModelState is "Valid"
2024-09-05 12:14:35.079 -04:00 [INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
2024-09-05 12:14:35.093 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.093 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.094 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.094 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.095 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.095 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.096 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.097 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.098 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.098 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.099 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.099 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.100 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.100 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.105 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.111 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.112 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.112 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.113 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.113 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.114 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.115 -04:00 [INF] Executed page /_Host in 35.8946ms
2024-09-05 12:14:35.115 -04:00 [INF] Executed endpoint '/_Host'
2024-09-05 12:14:35.116 -04:00 [INF] Request finished HTTP/1.1 GET https://psuserver/admin - 200 null text/html; charset=utf-8 44.1252ms
2024-09-05 12:14:35.170 -04:00 [INF] Request starting HTTP/1.1 GET https://psuserver/_framework/blazor.server.js - null null
2024-09-05 12:14:35.173 -04:00 [INF] Evaluating claims for fcwa\jmaskeny, Cache: True
2024-09-05 12:14:35.176 -04:00 [INF] Executing endpoint 'Blazor static files'
2024-09-05 12:14:35.177 -04:00 [INF] The file /_framework/blazor.server.js was not modified
2024-09-05 12:14:35.177 -04:00 [INF] Executed endpoint 'Blazor static files'
2024-09-05 12:14:35.177 -04:00 [INF] Request finished HTTP/1.1 GET https://psuserver/_framework/blazor.server.js - 304 null text/javascript 6.47ms
2024-09-05 12:14:35.222 -04:00 [INF] Request starting HTTP/1.1 GET https://psuserver/_blazor/initializers - null null
2024-09-05 12:14:35.226 -04:00 [INF] Evaluating claims for fcwa\jmaskeny, Cache: True
2024-09-05 12:14:35.234 -04:00 [INF] Executing endpoint 'Blazor initializers'
2024-09-05 12:14:35.234 -04:00 [INF] Executed endpoint 'Blazor initializers'
2024-09-05 12:14:35.234 -04:00 [INF] Request finished HTTP/1.1 GET https://psuserver/_blazor/initializers - 200 null application/json; charset=utf-8 12.2893ms
2024-09-05 12:14:35.325 -04:00 [INF] Request starting HTTP/1.1 POST https://psuserver/_blazor/negotiate?negotiateVersion=1 - null 0
2024-09-05 12:14:35.328 -04:00 [INF] Evaluating claims for fcwa\jmaskeny, Cache: True
2024-09-05 12:14:35.329 -04:00 [INF] CORS policy execution failed.
2024-09-05 12:14:35.329 -04:00 [INF] Request origin https://psuserver does not have permission to access the resource.
2024-09-05 12:14:35.333 -04:00 [INF] Executing endpoint '/_blazor/negotiate'
2024-09-05 12:14:35.333 -04:00 [INF] Executed endpoint '/_blazor/negotiate'
2024-09-05 12:14:35.333 -04:00 [INF] Request finished HTTP/1.1 POST https://psuserver/_blazor/negotiate?negotiateVersion=1 - 200 316 application/json 8.0708ms
2024-09-05 12:14:35.370 -04:00 [INF] Request starting HTTP/1.1 GET https://psuserver/_blazor?id=E8ZoW7Ubh0mZF2Y0bVdL6w - null null
2024-09-05 12:14:35.371 -04:00 [INF] CORS policy execution failed.
2024-09-05 12:14:35.371 -04:00 [INF] Request origin https://psuserver does not have permission to access the resource.
2024-09-05 12:14:35.374 -04:00 [INF] Executing endpoint '/_blazor'
2024-09-05 12:14:35.399 -04:00 [INF] Authorization failed. These requirements were not met:
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
2024-09-05 12:14:35.405 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.405 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.407 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.408 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.409 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.410 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.410 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.413 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.413 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.414 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.415 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.415 -04:00 [INF] Request starting HTTP/1.1 GET https://psuserver/api/v1/signin/windows?returnUrl=admin - null null
2024-09-05 12:14:35.415 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.416 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.417 -04:00 [INF] Authorization failed. These requirements were not met:
PowerShellUniversal.PermissionRequirement
2024-09-05 12:14:35.417 -04:00 [INF] Evaluating claims for fcwa\jmaskeny, Cache: True
2024-09-05 12:14:35.419 -04:00 [WRN] Identity not found for user null
2024-09-05 12:14:35.421 -04:00 [INF] Executing endpoint 'UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server)'
2024-09-05 12:14:35.422 -04:00 [INF] Route matched with {action = "WindowsLogin", controller = "Authentication", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult WindowsLogin(System.String) on controller UniversalDashboard.Controllers.AuthenticationController (Universal.Server).
2024-09-05 12:14:35.422 -04:00 [INF] Executing action method UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server) - Validation state: "Valid"
2024-09-05 12:14:35.422 -04:00 [INF] Executed action method UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server), returned result Microsoft.AspNetCore.Mvc.LocalRedirectResult in 0.0258ms.
2024-09-05 12:14:35.422 -04:00 [INF] Executed action UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server) in 0.6827ms
2024-09-05 12:14:35.422 -04:00 [INF] Executed endpoint 'UniversalDashboard.Controllers.AuthenticationController.WindowsLogin (Universal.Server)'
2024-09-05 12:14:35.423 -04:00 [ERR] An unhandled exception has occurred while executing the request.


avatar

I tested the site in chrome and edge and it does not give the error when trying to log in but just shows the dashboard for a second and brings me back to the log in page. I am able to log in if I disable windows authentication but then I’m using a local admin account only.

avatar

I was able to fix it. Somehow anonymous auth was enabled in IIS so I disabled it and was able to logon via windows auth.

avatar

PSU should support having anonymous auth enabled. I’ll open an issue for it.

Adam Driscoll
PowerShell Expert and Developer at Devolutions