2022-03-04 12:34:25.952 +00:00 [INF] HTTP GET /cameras responded 200 in 1.0992 ms
2022-03-04 12:34:25.952 +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_method304(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-04 12:34:25.950 +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_method304(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-04 12:34:25.948 +00:00 [ERR] HTTP GET /cameras responded 500 in 4.2159 ms
2022-03-04 12:34:25.947 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-04 12:34:25.946 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:25.946 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-04 12:34:25.945 +00:00 [INF] Successfully validated the token.
2022-03-04 12:34:25.944 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:25.063 +00:00 [INF] HTTP GET /settings/ignores responded 200 in 14.3648 ms
2022-03-04 12:34:25.063 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetIgnores (OpenAlprWebhookProcessor)'
2022-03-04 12:34:25.062 +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-04 12:34:25.059 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:25.052 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetIgnores (OpenAlprWebhookProcessor)'
2022-03-04 12:34:25.052 +00:00 [INF] Successfully validated the token.
2022-03-04 12:34:25.050 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:24.636 +00:00 [INF] HTTP GET /alerts responded 200 in 15.2868 ms
2022-03-04 12:34:24.636 +00:00 [INF] HTTP GET /alerts/pushover responded 200 in 14.6071 ms
2022-03-04 12:34:24.636 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Alerts.AlertsController.GetAlerts (OpenAlprWebhookProcessor)'
2022-03-04 12:34:24.636 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Alerts.AlertsController.GetPushover (OpenAlprWebhookProcessor)'
2022-03-04 12:34:24.635 +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-04 12:34:24.633 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.Alerts.Pushover.PushoverRequest'.
2022-03-04 12:34:24.632 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:24.629 +00:00 [WRN] The query uses the 'First'/'FirstOrDefault' operator without 'OrderBy' and filter operators. This may lead to unpredictable results.
2022-03-04 12:34:24.628 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:24.624 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Alerts.AlertsController.GetPushover (OpenAlprWebhookProcessor)'
2022-03-04 12:34:24.624 +00:00 [INF] Successfully validated the token.
2022-03-04 12:34:24.623 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Alerts.AlertsController.GetAlerts (OpenAlprWebhookProcessor)'
2022-03-04 12:34:24.623 +00:00 [INF] Successfully validated the token.
2022-03-04 12:34:24.622 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:24.622 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:24.039 +00:00 [INF] HTTP GET /settings/agent responded 200 in 16.9407 ms
2022-03-04 12:34:24.038 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-04 12:34:24.032 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.Settings.Agent'.
2022-03-04 12:34:24.031 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:24.024 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Settings.SettingsController.GetAgent (OpenAlprWebhookProcessor)'
2022-03-04 12:34:24.024 +00:00 [INF] Successfully validated the token.
2022-03-04 12:34:24.022 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:23.444 +00:00 [INF] HTTP GET /cameras responded 200 in 2.8130 ms
2022-03-04 12:34:23.443 +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_method304(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-04 12:34:23.440 +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_method304(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-04 12:34:23.439 +00:00 [ERR] HTTP GET /cameras responded 500 in 10.3407 ms
2022-03-04 12:34:23.438 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-04 12:34:23.435 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:23.434 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-04 12:34:23.431 +00:00 [INF] Successfully validated the token.
2022-03-04 12:34:23.429 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:20.643 +00:00 [INF] HTTP GET /licenseplates/counts responded 200 in 6.1027 ms
2022-03-04 12:34:20.643 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.LicensePlates.LicensePlatesController.GetLicensePlateCounts (OpenAlprWebhookProcessor)'
2022-03-04 12:34:20.643 +00:00 [INF] Executing ObjectResult, writing value of type 'OpenAlprWebhookProcessor.LicensePlates.GetLicensePlateCounts.GetLicensePlateCountsResponse'.
2022-03-04 12:34:20.642 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:20.641 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.LicensePlates.LicensePlatesController.GetLicensePlateCounts (OpenAlprWebhookProcessor)'
2022-03-04 12:34:20.641 +00:00 [INF] Successfully validated the token.
2022-03-04 12:34:20.639 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:20.624 +00:00 [INF] HTTP POST /users/authenticate responded 200 in 6.3059 ms
2022-03-04 12:34:20.624 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Users.UsersController.Authenticate (OpenAlprWebhookProcessor)'
2022-03-04 12:34:20.623 +00:00 [INF] Executing OkObjectResult, writing value of type 'OpenAlprWebhookProcessor.Users.AuthenticateResponse'.
2022-03-04 12:34:20.619 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:20.618 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Users.UsersController.Authenticate (OpenAlprWebhookProcessor)'
2022-03-04 12:34:20.618 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:34:19.343 +00:00 [INF] HTTP GET /users/canregister responded 200 in 2.8980 ms
2022-03-04 12:34:19.343 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Users.UsersController.CanRegister (OpenAlprWebhookProcessor)'
2022-03-04 12:34:19.342 +00:00 [INF] Executing ObjectResult, writing value of type 'System.Boolean'.
2022-03-04 12:34:19.341 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:19.341 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Users.UsersController.CanRegister (OpenAlprWebhookProcessor)'
2022-03-04 12:34:19.331 +00:00 [INF] HTTP GET /5.10524713e9e70943cd1a.js responded 200 in 0.4303 ms
2022-03-04 12:34:19.331 +00:00 [INF] Sending file. Request path: '/5.10524713e9e70943cd1a.js'. Physical path: '/app/ClientApp/dist/5.10524713e9e70943cd1a.js'
2022-03-04 12:34:19.330 +00:00 [INF] HTTP POST /users/revoke-token responded 401 in 2.3755 ms
2022-03-04 12:34:19.330 +00:00 [INF] AuthenticationScheme: Bearer was challenged.
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
2022-03-04 12:34:19.330 +00:00 [INF] Authorization failed. These requirements were not met:
token: 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.
'System.Text.StringBuilder'.
Exceptions caught:
2022-03-04 12:34:19.330 +00:00 [INF] Bearer was not authenticated. Failure message: IDX10503: Signature validation failed. Token does not have a kid. Keys tried: 'System.Text.StringBuilder'.
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateSignature(String token, TokenValidationParameters validationParameters)
token: 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.
'System.Text.StringBuilder'.
Exceptions caught:
Microsoft.IdentityModel.Tokens.SecurityTokenSignatureKeyNotFoundException: IDX10503: Signature validation failed. Token does not have a kid. Keys tried: 'System.Text.StringBuilder'.
2022-03-04 12:34:19.329 +00:00 [INF] Failed to validate the token.
2022-03-04 12:34:19.329 +00:00 [WRN] attempted login failed
2022-03-04 12:34:19.328 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:19.328 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:34:19.300 +00:00 [INF] HTTP GET /cameras responded 401 in 2.7913 ms
2022-03-04 12:34:19.300 +00:00 [INF] AuthenticationScheme: Bearer was challenged.
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
2022-03-04 12:34:19.300 +00:00 [INF] Authorization failed. These requirements were not met:
token: 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.
'System.Text.StringBuilder'.
Exceptions caught:
2022-03-04 12:34:19.299 +00:00 [INF] Bearer was not authenticated. Failure message: IDX10503: Signature validation failed. Token does not have a kid. Keys tried: 'System.Text.StringBuilder'.
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateSignature(String token, TokenValidationParameters validationParameters)
token: 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.
'System.Text.StringBuilder'.
Exceptions caught:
Microsoft.IdentityModel.Tokens.SecurityTokenSignatureKeyNotFoundException: IDX10503: Signature validation failed. Token does not have a kid. Keys tried: 'System.Text.StringBuilder'.
2022-03-04 12:34:19.299 +00:00 [INF] Failed to validate the token.
2022-03-04 12:34:19.299 +00:00 [WRN] attempted login failed
2022-03-04 12:34:19.298 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:11.961 +00:00 [INF] Executing endpoint '/processorhub'
2022-03-04 12:34:11.960 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:34:11.951 +00:00 [INF] HTTP GET /7.5842edad7d4f84106311.js responded 200 in 1.0371 ms
2022-03-04 12:34:11.950 +00:00 [INF] HTTP GET /1.84bcb660b45afe9ef7c2.js responded 200 in 0.5581 ms
2022-03-04 12:34:11.950 +00:00 [INF] Sending file. Request path: '/7.5842edad7d4f84106311.js'. Physical path: '/app/ClientApp/dist/7.5842edad7d4f84106311.js'
2022-03-04 12:34:11.950 +00:00 [INF] Sending file. Request path: '/1.84bcb660b45afe9ef7c2.js'. Physical path: '/app/ClientApp/dist/1.84bcb660b45afe9ef7c2.js'
2022-03-04 12:34:11.945 +00:00 [INF] HTTP POST /processorhub/negotiate?negotiateVersion=1 responded 200 in 2.2470 ms
2022-03-04 12:34:11.945 +00:00 [INF] Executed endpoint '/processorhub/negotiate'
2022-03-04 12:34:11.945 +00:00 [INF] Executing endpoint '/processorhub/negotiate'
2022-03-04 12:34:11.944 +00:00 [INF] HTTP GET /favicon.ico responded 200 in 0.6549 ms
2022-03-04 12:34:11.943 +00:00 [INF] Sending file. Request path: '/favicon.ico'. Physical path: '/app/wwwroot/favicon.ico'
2022-03-04 12:34:11.943 +00:00 [INF] CORS policy execution successful.
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 43
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-04 12:34:11.912 +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 43
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-04 12:34:11.911 +00:00 [ERR] HTTP POST /users/refresh-token responded 500 in 1.4528 ms
token: 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.
'System.Text.StringBuilder'.
Exceptions caught:
2022-03-04 12:34:11.911 +00:00 [INF] Bearer was not authenticated. Failure message: IDX10503: Signature validation failed. Token does not have a kid. Keys tried: 'System.Text.StringBuilder'.
2022-03-04 12:34:11.910 +00:00 [WRN] attempted login failed
2022-03-04 12:34:11.910 +00:00 [INF] CORS policy execution successful.
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.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.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at OpenAlprWebhookProcessor.Users.UsersController.RefreshToken(CancellationToken cancellationToken) in /src/OpenAlprWebhookProcessor/Users/UsersController.cs:line 52
at OpenAlprWebhookProcessor.Users.UserService.RefreshTokenAsync(String token, String ipAddress, CancellationToken cancellationToken) in /src/OpenAlprWebhookProcessor/Users/UserService.cs:line 184
System.ArgumentException: unknown user
2022-03-04 12:34:11.908 +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.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.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at OpenAlprWebhookProcessor.Users.UsersController.RefreshToken(CancellationToken cancellationToken) in /src/OpenAlprWebhookProcessor/Users/UsersController.cs:line 52
at OpenAlprWebhookProcessor.Users.UserService.RefreshTokenAsync(String token, String ipAddress, CancellationToken cancellationToken) in /src/OpenAlprWebhookProcessor/Users/UserService.cs:line 184
System.ArgumentException: unknown user
2022-03-04 12:34:11.905 +00:00 [ERR] HTTP POST /users/refresh-token responded 500 in 7.7551 ms
2022-03-04 12:34:11.904 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Users.UsersController.RefreshToken (OpenAlprWebhookProcessor)'
2022-03-04 12:34:11.900 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Users.UsersController.RefreshToken (OpenAlprWebhookProcessor)'
token: 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.
'System.Text.StringBuilder'.
Exceptions caught:
2022-03-04 12:34:11.900 +00:00 [INF] Bearer was not authenticated. Failure message: IDX10503: Signature validation failed. Token does not have a kid. Keys tried: 'System.Text.StringBuilder'.
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateSignature(String token, TokenValidationParameters validationParameters)
token: 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.
'System.Text.StringBuilder'.
Exceptions caught:
Microsoft.IdentityModel.Tokens.SecurityTokenSignatureKeyNotFoundException: IDX10503: Signature validation failed. Token does not have a kid. Keys tried: 'System.Text.StringBuilder'.
2022-03-04 12:34:11.899 +00:00 [INF] Failed to validate the token.
2022-03-04 12:34:11.899 +00:00 [WRN] attempted login failed
2022-03-04 12:34:11.898 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:34:11.897 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:34:11.800 +00:00 [INF] HTTP GET /main.9c88704e3f2a4d18ef08.js responded 200 in 8.5756 ms
2022-03-04 12:34:11.800 +00:00 [INF] Sending file. Request path: '/main.9c88704e3f2a4d18ef08.js'. Physical path: '/app/ClientApp/dist/main.9c88704e3f2a4d18ef08.js'
2022-03-04 12:34:11.788 +00:00 [INF] HTTP GET /polyfills.a88c71f8c22a8253ff66.js responded 200 in 1.3566 ms
2022-03-04 12:34:11.788 +00:00 [INF] Sending file. Request path: '/polyfills.a88c71f8c22a8253ff66.js'. Physical path: '/app/ClientApp/dist/polyfills.a88c71f8c22a8253ff66.js'
2022-03-04 12:34:11.781 +00:00 [INF] HTTP GET /runtime.247ede6ef8c2436ecc16.js responded 200 in 0.7970 ms
2022-03-04 12:34:11.780 +00:00 [INF] Sending file. Request path: '/runtime.247ede6ef8c2436ecc16.js'. Physical path: '/app/ClientApp/dist/runtime.247ede6ef8c2436ecc16.js'
2022-03-04 12:34:11.777 +00:00 [INF] HTTP GET /styles.6d268db9d5f0a6c1292b.css responded 200 in 1.4018 ms
2022-03-04 12:34:11.777 +00:00 [INF] Sending file. Request path: '/styles.6d268db9d5f0a6c1292b.css'. Physical path: '/app/ClientApp/dist/styles.6d268db9d5f0a6c1292b.css'
2022-03-04 12:34:11.764 +00:00 [INF] HTTP GET /settings responded 200 in 0.9445 ms
2022-03-04 12:34:11.764 +00:00 [INF] Sending file. Request path: '/index.html'. Physical path: '/app/ClientApp/dist/index.html'
2022-03-04 12:33:50.608 +00:00 [INF] Executing endpoint '/processorhub'
2022-03-04 12:33:50.607 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:33:50.589 +00:00 [INF] HTTP POST /processorhub/negotiate?negotiateVersion=1 responded 200 in 0.7658 ms
2022-03-04 12:33:50.589 +00:00 [INF] Executed endpoint '/processorhub/negotiate'
2022-03-04 12:33:50.589 +00:00 [INF] Executing endpoint '/processorhub/negotiate'
2022-03-04 12:33:50.589 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:33:50.576 +00:00 [INF] HTTP POST /users/refresh-token responded 200 in 6.7094 ms
2022-03-04 12:33:50.575 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Users.UsersController.RefreshToken (OpenAlprWebhookProcessor)'
2022-03-04 12:33:50.575 +00:00 [INF] Executing OkObjectResult, writing value of type 'OpenAlprWebhookProcessor.Users.AuthenticateResponse'.
2022-03-04 12:33:50.571 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Users.UsersController.RefreshToken (OpenAlprWebhookProcessor)'
2022-03-04 12:33:50.571 +00:00 [INF] Successfully validated the token.
2022-03-04 12:33:50.570 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:33:50.569 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:33:49.724 +00:00 [INF] HTTP GET /processorhub?id=8Yd9vlktIK6GURkguaSrfA responded 101 in 26090.0849 ms
2022-03-04 12:33:49.723 +00:00 [INF] Executed endpoint '/processorhub'
2022-03-04 12:33:49.717 +00:00 [INF] HTTP GET /settings responded 200 in 0.9358 ms
2022-03-04 12:33:49.717 +00:00 [INF] Sending file. Request path: '/index.html'. Physical path: '/app/ClientApp/dist/index.html'
2022-03-04 12:33:48.402 +00:00 [INF] HTTP GET /cameras responded 200 in 2.5392 ms
2022-03-04 12:33:48.402 +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_method304(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-04 12:33:48.397 +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_method304(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-04 12:33:48.394 +00:00 [ERR] HTTP GET /cameras responded 500 in 5.8229 ms
2022-03-04 12:33:48.393 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-04 12:33:48.391 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'ProcessorContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:33:48.391 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Cameras.CameraController.GetCameras (OpenAlprWebhookProcessor)'
2022-03-04 12:33:48.391 +00:00 [INF] Successfully validated the token.
2022-03-04 12:33:48.389 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:33:25.922 +00:00 [INF] HTTP GET /logs responded 200 in 26.2914 ms
2022-03-04 12:33:25.922 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-04 12:33:25.920 +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-04 12:33:25.898 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.SystemLogs.LogsController.GetLogs (OpenAlprWebhookProcessor)'
2022-03-04 12:33:25.898 +00:00 [INF] Successfully validated the token.
2022-03-04 12:33:25.896 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:33:23.634 +00:00 [INF] Executing endpoint '/processorhub'
2022-03-04 12:33:23.634 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:33:23.616 +00:00 [INF] HTTP POST /processorhub/negotiate?negotiateVersion=1 responded 200 in 0.8332 ms
2022-03-04 12:33:23.616 +00:00 [INF] Executed endpoint '/processorhub/negotiate'
2022-03-04 12:33:23.616 +00:00 [INF] Executing endpoint '/processorhub/negotiate'
2022-03-04 12:33:23.615 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:33:23.604 +00:00 [INF] HTTP POST /users/refresh-token responded 200 in 6.1756 ms
2022-03-04 12:33:23.604 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Users.UsersController.RefreshToken (OpenAlprWebhookProcessor)'
2022-03-04 12:33:23.603 +00:00 [INF] Executing OkObjectResult, writing value of type 'OpenAlprWebhookProcessor.Users.AuthenticateResponse'.
2022-03-04 12:33:23.600 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Users.UsersController.RefreshToken (OpenAlprWebhookProcessor)'
2022-03-04 12:33:23.600 +00:00 [INF] Successfully validated the token.
2022-03-04 12:33:23.598 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:33:23.598 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:33:23.561 +00:00 [INF] HTTP GET /processorhub?id=BXmyRyoOy9Oz4-uKDvDhsg responded 101 in 1946.4455 ms
2022-03-04 12:33:23.561 +00:00 [INF] Executed endpoint '/processorhub'
2022-03-04 12:33:23.556 +00:00 [INF] HTTP GET /settings responded 200 in 1.1039 ms
2022-03-04 12:33:23.556 +00:00 [INF] Sending file. Request path: '/index.html'. Physical path: '/app/ClientApp/dist/index.html'
2022-03-04 12:33:21.615 +00:00 [INF] Executing endpoint '/processorhub'
2022-03-04 12:33:21.614 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:33:21.597 +00:00 [INF] HTTP POST /processorhub/negotiate?negotiateVersion=1 responded 200 in 1.3118 ms
2022-03-04 12:33:21.597 +00:00 [INF] Executed endpoint '/processorhub/negotiate'
2022-03-04 12:33:21.596 +00:00 [INF] Executing endpoint '/processorhub/negotiate'
2022-03-04 12:33:21.596 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:33:21.584 +00:00 [INF] HTTP POST /users/refresh-token responded 200 in 12.0964 ms
2022-03-04 12:33:21.584 +00:00 [INF] Executed endpoint 'OpenAlprWebhookProcessor.Users.UsersController.RefreshToken (OpenAlprWebhookProcessor)'
2022-03-04 12:33:21.584 +00:00 [INF] Executing OkObjectResult, writing value of type 'OpenAlprWebhookProcessor.Users.AuthenticateResponse'.
2022-03-04 12:33:21.574 +00:00 [INF] Executing endpoint 'OpenAlprWebhookProcessor.Users.UsersController.RefreshToken (OpenAlprWebhookProcessor)'
2022-03-04 12:33:21.574 +00:00 [INF] Successfully validated the token.
2022-03-04 12:33:21.573 +00:00 [INF] Entity Framework Core 6.0.2 initialized 'UsersContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.2' with options: None
2022-03-04 12:33:21.572 +00:00 [INF] CORS policy execution successful.
2022-03-04 12:33:21.543 +00:00 [INF] HTTP GET /processorhub?id=61L63NG7sobWW9pEIOx5Ig responded 101 in 83511.5034 ms
2022-03-04 12:33:21.542 +00:00 [INF] Executed endpoint '/processorhub'
2022-03-04 12:33:21.525 +00:00 [INF] HTTP GET /settings responded 200 in 2.4137 ms
2022-03-04 12:33:21.525 +00:00 [INF] Sending file. Request path: '/index.html'. Physical path: '/app/ClientApp/dist/index.html'