2022-03-07 16:14:57.833 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-07 16:14:57.833 +00:00 [INF] Successfully validated the token.
2022-03-07 16:14:57.832 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:13:41.824 +00:00 [INF] HTTP GET /settings/agent responded 200 in 6.7013 ms
2022-03-07 16:13:41.824 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:13:41.824 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.Settings.Agent'.
2022-03-07 16:13:41.822 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:13:41.821 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:13:41.821 +00:00 [INF] Successfully validated the token.
2022-03-07 16:13:41.819 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:12:24.195 +00:00 [INF] HTTP GET /licenseplates/counts responded 200 in 5.3637 ms
2022-03-07 16:12:24.195 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.LicensePlates.LicensePlatesController.GetLicensePlateCounts (OpenAlprWebhookProcessor)'
2022-03-07 16:12:24.195 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.LicensePlates.GetLicensePlateCounts.GetLicensePlateCountsResponse'.
2022-03-07 16:12:24.194 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:12:24.193 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.LicensePlates.LicensePlatesController.GetLicensePlateCounts (OpenAlprWebhookProcessor)'
2022-03-07 16:12:24.192 +00:00 [INF] Successfully validated the token.
2022-03-07 16:12:24.191 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:12:20.854 +00:00 [INF] HTTP GET /logs responded 200 in 34.5726 ms
2022-03-07 16:12:20.854 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-07 16:12:20.853 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
2022-03-07 16:12:20.824 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-07 16:12:20.823 +00:00 [INF] Successfully validated the token.
2022-03-07 16:12:20.820 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:12:19.135 +00:00 [INF] HTTP GET /cameras responded 200 in 4.0568 ms
2022-03-07 16:12:19.135 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:12:19.135 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[OpenAlprWebhookProcessor.Cameras.Camera, OpenAlprWebhookProcessor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2022-03-07 16:12:19.134 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:12:19.134 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:12:19.133 +00:00 [INF] Successfully validated the token.
2022-03-07 16:12:19.132 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:12:16.957 +00:00 [INF] HTTP GET /settings/agent responded 200 in 3.6279 ms
2022-03-07 16:12:16.957 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:12:16.957 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.Settings.Agent'.
2022-03-07 16:12:16.956 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:12:16.955 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:12:16.955 +00:00 [INF] Successfully validated the token.
2022-03-07 16:12:16.954 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:12:16.924 +00:00 [INF] HTTP POST /settings/agent responded 200 in 8.4411 ms
2022-03-07 16:12:16.924 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.UpsertAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:12:16.920 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:12:16.919 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.UpsertAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:12:16.919 +00:00 [INF] Successfully validated the token.
2022-03-07 16:12:16.916 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:12:16.916 +00:00 [INF] CORS policy execution successful.
2022-03-07 16:11:39.179 +00:00 [INF] HTTP POST /webhook responded 200 in 7.6606 ms
2022-03-07 16:11:39.179 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.WebhookProcessor.WebhookController.Post (OpenAlprWebhookProcessor)'
2022-03-07 16:11:39.179 +00:00 [INF] Executing StatusCodeResult, setting HTTP status code 200
2022-03-07 16:11:39.179 +00:00 [ERR] unknown camera: 254963574, skipping.
2022-03-07 16:11:39.174 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:11:39.173 +00:00 [INF] parsing plate group webhook
2022-03-07 16:11:39.173 +00:00 [INF] request received from: ::ffff:10.200.200.19
2022-03-07 16:11:39.172 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.WebhookProcessor.WebhookController.Post (OpenAlprWebhookProcessor)'
2022-03-07 16:11:13.962 +00:00 [INF] HTTP GET /settings/agent responded 200 in 3.3375 ms
2022-03-07 16:11:13.962 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:11:13.962 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.Settings.Agent'.
2022-03-07 16:11:13.962 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:11:13.961 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:11:13.961 +00:00 [INF] Successfully validated the token.
2022-03-07 16:11:13.959 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:11:13.059 +00:00 [INF] HTTP GET /cameras responded 200 in 5.2047 ms
2022-03-07 16:11:13.059 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:11:13.058 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[OpenAlprWebhookProcessor.Cameras.Camera, OpenAlprWebhookProcessor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2022-03-07 16:11:13.057 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:11:13.056 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:11:13.056 +00:00 [INF] Successfully validated the token.
2022-03-07 16:11:13.054 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:11:12.115 +00:00 [INF] HTTP GET /logs responded 200 in 20.8333 ms
2022-03-07 16:11:12.114 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-07 16:11:12.114 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
2022-03-07 16:11:12.097 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-07 16:11:12.096 +00:00 [INF] Successfully validated the token.
2022-03-07 16:11:12.095 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:57.311 +00:00 [INF] HTTP POST /webhook responded 200 in 39.4816 ms
2022-03-07 16:09:57.311 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.WebhookProcessor.WebhookController.Post (OpenAlprWebhookProcessor)'
2022-03-07 16:09:57.310 +00:00 [INF] Executing StatusCodeResult, setting HTTP status code 200
2022-03-07 16:09:57.310 +00:00 [ERR] unknown camera: 254963574, skipping.
2022-03-07 16:09:57.273 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:57.272 +00:00 [INF] parsing plate group webhook
2022-03-07 16:09:57.272 +00:00 [INF] request received from: ::ffff:10.200.200.19
2022-03-07 16:09:57.272 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.WebhookProcessor.WebhookController.Post (OpenAlprWebhookProcessor)'
2022-03-07 16:09:18.862 +00:00 [INF] HTTP GET /cameras responded 200 in 5.2579 ms
2022-03-07 16:09:18.862 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:09:18.861 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[OpenAlprWebhookProcessor.Cameras.Camera, OpenAlprWebhookProcessor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2022-03-07 16:09:18.860 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:18.860 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:09:18.859 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:18.857 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:18.263 +00:00 [INF] HTTP GET /images/d7a34742-3ae9-445a-864b-994ab2325dae/snapshot responded 200 in 596.4536 ms
2022-03-07 16:09:18.263 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.ImageRelay.ImageRelayController.GetSnapshot (OpenAlprWebhookProcessor)'
2022-03-07 16:09:18.254 +00:00 [INF] Executing ObjectResult, writing value of type 'System.IO.MemoryStream'.
2022-03-07 16:09:18.101 +00:00 [INF] HTTP GET /settings/agent responded 200 in 3.8395 ms
2022-03-07 16:09:18.101 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:09:18.101 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.Settings.Agent'.
2022-03-07 16:09:18.100 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:18.099 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:09:18.099 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:18.098 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:17.676 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:17.669 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.ImageRelay.ImageRelayController.GetSnapshot (OpenAlprWebhookProcessor)'
2022-03-07 16:09:17.669 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:17.620 +00:00 [INF] HTTP GET /cameras responded 200 in 18.0582 ms
2022-03-07 16:09:17.620 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:09:17.610 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[OpenAlprWebhookProcessor.Cameras.Camera, OpenAlprWebhookProcessor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2022-03-07 16:09:17.605 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:17.604 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:09:17.604 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:17.603 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:15.581 +00:00 [INF] HTTP GET /logs responded 200 in 21.3952 ms
2022-03-07 16:09:15.581 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-07 16:09:15.580 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
2022-03-07 16:09:15.561 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-07 16:09:15.561 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:15.560 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:13.228 +00:00 [INF] HTTP GET /settings/agent responded 200 in 6.4356 ms
2022-03-07 16:09:13.228 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:09:13.227 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.Settings.Agent'.
2022-03-07 16:09:13.224 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:13.224 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:09:13.223 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:13.222 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:13.192 +00:00 [INF] HTTP POST /settings/agent responded 200 in 40.8497 ms
2022-03-07 16:09:13.191 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.UpsertAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:09:13.161 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:13.152 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.UpsertAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:09:13.152 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:13.151 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:13.151 +00:00 [INF] CORS policy execution successful.
2022-03-07 16:09:10.780 +00:00 [INF] HTTP GET /settings/agent responded 200 in 3.1772 ms
2022-03-07 16:09:10.780 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:09:10.779 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.Settings.Agent'.
2022-03-07 16:09:10.779 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:10.778 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:09:10.778 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:10.777 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:10.246 +00:00 [INF] HTTP GET /cameras responded 200 in 1.2515 ms
2022-03-07 16:09:10.245 +00:00 [INF] Sending file. Request path: '/index.html'. Physical path: '/app/ClientApp/dist/index.html'
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at OpenAlprWebhookProcessor.Users.JwtMiddleware.Invoke(HttpContext context, IUserService userService) in /src/OpenAlprWebhookProcessor/Users/JwtMiddleware.cs:line 43
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
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)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at lambda_method320(Closure , Object )
at OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras() in /src/OpenAlprWebhookProcessor/Cameras/CameraController.cs:line 47
at OpenAlprWebhookProcessor.Cameras.GetCameraRequestHandler.HandleAsync() in /src/OpenAlprWebhookProcessor/Cameras/GetCameras/GetCameraRequestHandler.cs:line 42
System.NullReferenceException: Object reference not set to an instance of an object.
2022-03-07 16:09:10.243 +00:00 [ERR] An unhandled exception has occurred while executing the request.
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at OpenAlprWebhookProcessor.Users.JwtMiddleware.Invoke(HttpContext context, IUserService userService) in /src/OpenAlprWebhookProcessor/Users/JwtMiddleware.cs:line 43
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
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)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at lambda_method320(Closure , Object )
at OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras() in /src/OpenAlprWebhookProcessor/Cameras/CameraController.cs:line 47
at OpenAlprWebhookProcessor.Cameras.GetCameraRequestHandler.HandleAsync() in /src/OpenAlprWebhookProcessor/Cameras/GetCameras/GetCameraRequestHandler.cs:line 42
System.NullReferenceException: Object reference not set to an instance of an object.
2022-03-07 16:09:10.241 +00:00 [ERR] HTTP GET /cameras responded 500 in 4.2942 ms
2022-03-07 16:09:10.241 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:09:10.240 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:10.239 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:09:10.239 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:10.238 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:09.218 +00:00 [INF] HTTP GET /settings/enrichers responded 200 in 27.1687 ms
2022-03-07 16:09:09.218 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetEnrichers (OpenAlprWebhookProcessor)'
2022-03-07 16:09:09.203 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.Settings.Enrichers.Enricher'.
2022-03-07 16:09:09.199 +00:00 [WRN] The query uses the 'First'/'FirstOrDefault' operator without 'OrderBy' and filter operators. This may lead to unpredictable results.
2022-03-07 16:09:09.198 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:09.193 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetEnrichers (OpenAlprWebhookProcessor)'
2022-03-07 16:09:09.193 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:09.191 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:05.080 +00:00 [INF] HTTP GET /logs responded 200 in 21.1894 ms
2022-03-07 16:09:05.080 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-07 16:09:05.079 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
2022-03-07 16:09:05.061 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-07 16:09:05.060 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:05.059 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:04.246 +00:00 [INF] HTTP GET /settings/forwards responded 200 in 4.2034 ms
2022-03-07 16:09:04.246 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetForwards (OpenAlprWebhookProcessor)'
2022-03-07 16:09:04.246 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[OpenAlprWebhookProcessor.Settings.WebhookForward, OpenAlprWebhookProcessor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2022-03-07 16:09:04.246 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:04.245 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetForwards (OpenAlprWebhookProcessor)'
2022-03-07 16:09:04.244 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:04.243 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:03.509 +00:00 [INF] HTTP GET /settings/ignores responded 200 in 19.6356 ms
2022-03-07 16:09:03.509 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetIgnores (OpenAlprWebhookProcessor)'
2022-03-07 16:09:03.508 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[OpenAlprWebhookProcessor.Settings.Ignore, OpenAlprWebhookProcessor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2022-03-07 16:09:03.505 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:03.492 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetIgnores (OpenAlprWebhookProcessor)'
2022-03-07 16:09:03.492 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:03.490 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:02.042 +00:00 [INF] HTTP GET /alerts/pushover responded 200 in 25.4961 ms
2022-03-07 16:09:02.042 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Alerts.AlertsController.GetPushover (OpenAlprWebhookProcessor)'
2022-03-07 16:09:02.041 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.Alerts.Pushover.PushoverRequest'.
2022-03-07 16:09:02.037 +00:00 [WRN] The query uses the 'First'/'FirstOrDefault' operator without 'OrderBy' and filter operators. This may lead to unpredictable results.
2022-03-07 16:09:02.036 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:02.029 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Alerts.AlertsController.GetPushover (OpenAlprWebhookProcessor)'
2022-03-07 16:09:02.029 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:02.027 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:02.026 +00:00 [INF] HTTP GET /alerts responded 200 in 15.3455 ms
2022-03-07 16:09:02.026 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Alerts.AlertsController.GetAlerts (OpenAlprWebhookProcessor)'
2022-03-07 16:09:02.026 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[OpenAlprWebhookProcessor.Alerts.Alert, OpenAlprWebhookProcessor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2022-03-07 16:09:02.022 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:02.013 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Alerts.AlertsController.GetAlerts (OpenAlprWebhookProcessor)'
2022-03-07 16:09:02.013 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:02.012 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:01.527 +00:00 [INF] HTTP GET /settings/agent responded 200 in 16.0533 ms
2022-03-07 16:09:01.527 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:09:01.521 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.Settings.Agent'.
2022-03-07 16:09:01.521 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:01.515 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-07 16:09:01.515 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:01.513 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:00.372 +00:00 [INF] HTTP GET /cameras responded 200 in 7.5414 ms
2022-03-07 16:09:00.372 +00:00 [INF] Sending file. Request path: '/index.html'. Physical path: '/app/ClientApp/dist/index.html'
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at OpenAlprWebhookProcessor.Users.JwtMiddleware.Invoke(HttpContext context, IUserService userService) in /src/OpenAlprWebhookProcessor/Users/JwtMiddleware.cs:line 42
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
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)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at lambda_method320(Closure , Object )
at OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras() in /src/OpenAlprWebhookProcessor/Cameras/CameraController.cs:line 47
at OpenAlprWebhookProcessor.Cameras.GetCameraRequestHandler.HandleAsync() in /src/OpenAlprWebhookProcessor/Cameras/GetCameras/GetCameraRequestHandler.cs:line 42
System.NullReferenceException: Object reference not set to an instance of an object.
2022-03-07 16:09:00.364 +00:00 [ERR] An unhandled exception has occurred while executing the request.
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at OpenAlprWebhookProcessor.Users.JwtMiddleware.Invoke(HttpContext context, IUserService userService) in /src/OpenAlprWebhookProcessor/Users/JwtMiddleware.cs:line 42
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
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)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at lambda_method320(Closure , Object )
at OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras() in /src/OpenAlprWebhookProcessor/Cameras/CameraController.cs:line 47
at OpenAlprWebhookProcessor.Cameras.GetCameraRequestHandler.HandleAsync() in /src/OpenAlprWebhookProcessor/Cameras/GetCameras/GetCameraRequestHandler.cs:line 42
System.NullReferenceException: Object reference not set to an instance of an object.
2022-03-07 16:09:00.362 +00:00 [ERR] HTTP GET /cameras responded 500 in 4.9567 ms
2022-03-07 16:09:00.362 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:09:00.360 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:09:00.359 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:09:00.359 +00:00 [INF] Successfully validated the token.
2022-03-07 16:09:00.358 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:59.074 +00:00 [INF] HTTP GET /settings/forwards responded 200 in 16.6685 ms
2022-03-07 16:08:59.074 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetForwards (OpenAlprWebhookProcessor)'
2022-03-07 16:08:59.073 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[OpenAlprWebhookProcessor.Settings.WebhookForward, OpenAlprWebhookProcessor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2022-03-07 16:08:59.069 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:59.060 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetForwards (OpenAlprWebhookProcessor)'
2022-03-07 16:08:59.060 +00:00 [INF] Successfully validated the token.
2022-03-07 16:08:59.058 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:57.939 +00:00 [INF] HTTP GET /logs responded 200 in 24.4636 ms
2022-03-07 16:08:57.939 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-07 16:08:57.939 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
2022-03-07 16:08:57.918 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-07 16:08:57.918 +00:00 [INF] Successfully validated the token.
2022-03-07 16:08:57.916 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:49.635 +00:00 [INF] HTTP GET /cameras responded 200 in 2.7177 ms
2022-03-07 16:08:49.635 +00:00 [INF] Sending file. Request path: '/index.html'. Physical path: '/app/ClientApp/dist/index.html'
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at OpenAlprWebhookProcessor.Users.JwtMiddleware.Invoke(HttpContext context, IUserService userService) in /src/OpenAlprWebhookProcessor/Users/JwtMiddleware.cs:line 42
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
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)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at lambda_method320(Closure , Object )
at OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras() in /src/OpenAlprWebhookProcessor/Cameras/CameraController.cs:line 47
at OpenAlprWebhookProcessor.Cameras.GetCameraRequestHandler.HandleAsync() in /src/OpenAlprWebhookProcessor/Cameras/GetCameras/GetCameraRequestHandler.cs:line 42
System.NullReferenceException: Object reference not set to an instance of an object.
2022-03-07 16:08:49.631 +00:00 [ERR] An unhandled exception has occurred while executing the request.
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at OpenAlprWebhookProcessor.Users.JwtMiddleware.Invoke(HttpContext context, IUserService userService) in /src/OpenAlprWebhookProcessor/Users/JwtMiddleware.cs:line 42
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
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)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at lambda_method320(Closure , Object )
at OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras() in /src/OpenAlprWebhookProcessor/Cameras/CameraController.cs:line 47
at OpenAlprWebhookProcessor.Cameras.GetCameraRequestHandler.HandleAsync() in /src/OpenAlprWebhookProcessor/Cameras/GetCameras/GetCameraRequestHandler.cs:line 42
System.NullReferenceException: Object reference not set to an instance of an object.
2022-03-07 16:08:49.629 +00:00 [ERR] HTTP GET /cameras responded 500 in 5.8849 ms
2022-03-07 16:08:49.628 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:08:49.626 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:49.625 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:08:49.625 +00:00 [INF] Successfully validated the token.
2022-03-07 16:08:49.623 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:49.598 +00:00 [INF] HTTP POST /cameras responded 200 in 112.2773 ms
2022-03-07 16:08:49.598 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.UpsertCamera (OpenAlprWebhookProcessor)'
2022-03-07 16:08:49.590 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:49.508 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:49.489 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.UpsertCamera (OpenAlprWebhookProcessor)'
2022-03-07 16:08:49.489 +00:00 [INF] Successfully validated the token.
2022-03-07 16:08:49.487 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:49.486 +00:00 [INF] CORS policy execution successful.
2022-03-07 16:08:37.510 +00:00 [INF] HTTP GET /cameras/undefined/zoomAndFocus responded 400 in 11.3883 ms
2022-03-07 16:08:37.510 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetZoomAndFocus (OpenAlprWebhookProcessor)'
2022-03-07 16:08:37.508 +00:00 [INF] Executing BadRequestObjectResult, writing value of type 'Microsoft.AspNetCore.Mvc.ValidationProblemDetails'.
2022-03-07 16:08:37.501 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetZoomAndFocus (OpenAlprWebhookProcessor)'
2022-03-07 16:08:37.501 +00:00 [INF] Successfully validated the token.
2022-03-07 16:08:37.499 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:36.465 +00:00 [INF] HTTP GET /cameras responded 200 in 34.2811 ms
2022-03-07 16:08:36.465 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:08:36.448 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[OpenAlprWebhookProcessor.Cameras.Camera, OpenAlprWebhookProcessor, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
2022-03-07 16:08:36.446 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:36.435 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-07 16:08:36.434 +00:00 [INF] Successfully validated the token.
2022-03-07 16:08:36.432 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi)
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at OpenAlprWebhookProcessor.Users.JwtMiddleware.Invoke(HttpContext context, IUserService userService) in /src/OpenAlprWebhookProcessor/Users/JwtMiddleware.cs:line 42
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Builder.UseExtensions.<>c__DisplayClass0_1.<Use>b__1(HttpContext context)
at Microsoft.AspNetCore.SpaServices.SpaDefaultPageMiddleware.<>c__DisplayClass0_0.<Attach>b__0(HttpContext context, Func`1 next)
at Microsoft.AspNetCore.Builder.UseExtensions.<>c__DisplayClass0_2.<Use>b__2()
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Builder.UseExtensions.<>c__DisplayClass0_1.<Use>b__1(HttpContext context)
at Microsoft.AspNetCore.SpaServices.SpaDefaultPageMiddleware.<>c__DisplayClass0_0.<Attach>b__1(HttpContext context, Func`1 next)
Your application is running in Production mode, so make sure it has been published, or that you have built your SPA manually. Alternatively you may wish to switch to the Development environment.
System.InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request.
2022-03-07 16:08:01.848 +00:00 [ERR] An exception was thrown attempting to execute the error handler.
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at OpenAlprWebhookProcessor.Users.JwtMiddleware.Invoke(HttpContext context, IUserService userService) in /src/OpenAlprWebhookProcessor/Users/JwtMiddleware.cs:line 42
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Builder.UseExtensions.<>c__DisplayClass0_1.<Use>b__1(HttpContext context)
at Microsoft.AspNetCore.SpaServices.SpaDefaultPageMiddleware.<>c__DisplayClass0_0.<Attach>b__0(HttpContext context, Func`1 next)
at Microsoft.AspNetCore.Builder.UseExtensions.<>c__DisplayClass0_2.<Use>b__2()
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Builder.UseExtensions.<>c__DisplayClass0_1.<Use>b__1(HttpContext context)
at Microsoft.AspNetCore.SpaServices.SpaDefaultPageMiddleware.<>c__DisplayClass0_0.<Attach>b__1(HttpContext context, Func`1 next)
Your application is running in Production mode, so make sure it has been published, or that you have built your SPA manually. Alternatively you may wish to switch to the Development environment.
System.InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request.
2022-03-07 16:08:01.847 +00:00 [ERR] HTTP POST /webhook responded 500 in 0.3287 ms
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at OpenAlprWebhookProcessor.Users.JwtMiddleware.Invoke(HttpContext context, IUserService userService) in /src/OpenAlprWebhookProcessor/Users/JwtMiddleware.cs:line 42
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
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)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at lambda_method312(Closure , Object )
at OpenAlprWebhookProcessor.WebhookProcessor.WebhookController.Post(CancellationToken cancellationToken) in /src/OpenAlprWebhookProcessor/WebhookProcessor/WebhookController.cs:line 65
at OpenAlprWebhookProcessor.WebhookProcessor.GroupWebhookHandler.HandleWebhookAsync(Webhook webhook, Boolean isBulkImport, CancellationToken cancellationToken) in /src/OpenAlprWebhookProcessor/WebhookProcessor/GroupWebhookHandler.cs:line 54
System.NullReferenceException: Object reference not set to an instance of an object.
2022-03-07 16:08:01.846 +00:00 [ERR] An unhandled exception has occurred while executing the request.
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at OpenAlprWebhookProcessor.Users.JwtMiddleware.Invoke(HttpContext context, IUserService userService) in /src/OpenAlprWebhookProcessor/Users/JwtMiddleware.cs:line 42
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
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)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at lambda_method312(Closure , Object )
at OpenAlprWebhookProcessor.WebhookProcessor.WebhookController.Post(CancellationToken cancellationToken) in /src/OpenAlprWebhookProcessor/WebhookProcessor/WebhookController.cs:line 65
at OpenAlprWebhookProcessor.WebhookProcessor.GroupWebhookHandler.HandleWebhookAsync(Webhook webhook, Boolean isBulkImport, CancellationToken cancellationToken) in /src/OpenAlprWebhookProcessor/WebhookProcessor/GroupWebhookHandler.cs:line 54
System.NullReferenceException: Object reference not set to an instance of an object.
2022-03-07 16:08:01.845 +00:00 [ERR] HTTP POST /webhook responded 500 in 6.4085 ms
2022-03-07 16:08:01.844 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.WebhookProcessor.WebhookController.Post (OpenAlprWebhookProcessor)'
2022-03-07 16:08:01.843 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-07 16:08:01.842 +00:00 [INF] parsing plate group webhook
2022-03-07 16:08:01.841 +00:00 [INF] request received from: ::ffff:10.200.200.19
2022-03-07 16:08:01.838 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.WebhookProcessor.WebhookController.Post (OpenAlprWebhookProcessor)'
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi)
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)