Logs.txt content:
INFO 2017-12-14 09:04:41,629 [19 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Nec.Stanchion.MultiTenancy.HostDashboard.HostDashboardAppService.GetDashboardStatisticsData (Nec.Stanchion.Application) with arguments (Nec.Stanchion.MultiTenancy.HostDashboard.Dto.GetDashboardDataInput) - ModelState is Valid ERROR 2017-12-14 09:04:43,009 [3 ] Mvc.ExceptionHandling.AbpExceptionFilter - Expression of type 'Nec.Stanchion.MultiTenancy.Payments.SubscriptionPayment' cannot be used for parameter of type 'System.Decimal' of method 'System.Collections.Generic.IAsyncEnumerable
1[System.Decimal] DefaultIfEmpty[Decimal](System.Collections.Generic.IAsyncEnumerable
1[System.Decimal], System.Decimal)' Parameter name: arg1 System.ArgumentException: Expression of type 'Nec.Stanchion.MultiTenancy.Payments.SubscriptionPayment' cannot be used for parameter of type 'System.Decimal' of method 'System.Collections.Generic.IAsyncEnumerable1[System.Decimal] DefaultIfEmpty[Decimal](System.Collections.Generic.IAsyncEnumerable
1[System.Decimal], System.Decimal)' Parameter name: arg1 at System.Dynamic.Utils.ExpressionUtils.ValidateOneArgument(MethodBase method, ExpressionType nodeKind, Expression arguments, ParameterInfo pi, String methodParamName, String argumentParamName, Int32 index) at System.Linq.Expressions.Expression.Call(MethodInfo method, Expression arg0, Expression arg1) at Microsoft.EntityFrameworkCore.Query.ResultOperatorHandler.HandleDefaultIfEmpty(EntityQueryModelVisitor entityQueryModelVisitor, DefaultIfEmptyResultOperator defaultIfEmptyResultOperator, QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.ResultOperatorHandler.<>c.<.cctor>b__33_7(EntityQueryModelVisitor v, ResultOperatorBase r, QueryModel q) at Microsoft.EntityFrameworkCore.Query.ResultOperatorHandler.HandleResultOperator(EntityQueryModelVisitor entityQueryModelVisitor, ResultOperatorBase resultOperator, QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.Internal.RelationalResultOperatorHandler.HandlerContext.EvalOnClient(Boolean requiresClientResultOperator) at Microsoft.EntityFrameworkCore.Query.Internal.RelationalResultOperatorHandler.HandleResultOperator(EntityQueryModelVisitor entityQueryModelVisitor, ResultOperatorBase resultOperator, QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.VisitResultOperator(ResultOperatorBase resultOperator, QueryModel queryModel, Int32 index) at Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor.VisitResultOperator(ResultOperatorBase resultOperator, QueryModel queryModel, Int32 index) at Remotion.Linq.QueryModelVisitorBase.VisitResultOperators(ObservableCollection1 resultOperators, QueryModel queryModel) at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.VisitQueryModel(QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor.VisitQueryModel(QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.ProjectionExpressionVisitor.VisitSubQuery(SubQueryExpression expression) at Remotion.Linq.Clauses.Expressions.SubQueryExpression.Accept(ExpressionVisitor visitor) at System.Linq.Expressions.ExpressionVisitor.Visit(Expression node) at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalProjectionExpressionVisitor.Visit(Expression expression) at System.Linq.Expressions.ExpressionVisitor.VisitMemberAssignment(MemberAssignment node) at System.Linq.Expressions.ExpressionVisitor.VisitMemberBinding(MemberBinding node) at System.Linq.Expressions.ExpressionVisitor.Visit[T](ReadOnlyCollection
1 nodes, Func2 elementVisitor) at System.Linq.Expressions.ExpressionVisitor.VisitMemberInit(MemberInitExpression node) at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalProjectionExpressionVisitor.VisitMemberInit(MemberInitExpression memberInitExpression) at System.Linq.Expressions.MemberInitExpression.Accept(ExpressionVisitor visitor) at System.Linq.Expressions.ExpressionVisitor.Visit(Expression node) at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalProjectionExpressionVisitor.Visit(Expression expression) at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.VisitSelectClause(SelectClause selectClause, QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor.VisitSelectClause(SelectClause selectClause, QueryModel queryModel) at Remotion.Linq.Clauses.SelectClause.Accept(IQueryModelVisitor visitor, QueryModel queryModel) at Remotion.Linq.QueryModelVisitorBase.VisitQueryModel(QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.VisitQueryModel(QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor.VisitQueryModel(QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.EntityQueryModelVisitor.CreateAsyncQueryExecutor[TResult](QueryModel queryModel) at Microsoft.EntityFrameworkCore.Storage.Database.CompileAsyncQuery[TResult](QueryModel queryModel) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.CompileAsyncQueryCore[TResult](Expression query, INodeTypeProvider nodeTypeProvider, IDatabase database) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.<>c__DisplayClass24_0
1.<CompileAsyncQuery>b__0() at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddQueryCore[TFunc](Object cacheKey, Func1 compiler) at Microsoft.EntityFrameworkCore.Query.Internal.CompiledQueryCache.GetOrAddAsyncQuery[TResult](Object cacheKey, Func
1 compiler) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.CompileAsyncQuery[TResult](Expression query) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expression query) at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.ExecuteAsync[TResult](Expression expression) at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryable1.System.Collections.Generic.IAsyncEnumerable<TResult>.GetEnumerator() at System.Linq.AsyncEnumerable.<Aggregate_>d__6
3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at Nec.Stanchion.MultiTenancy.HostDashboard.IncomeStatisticsService.<GetDailyIncomeStatisticsData>d__2.MoveNext() in C:\Users\viveknuna\source\repos\Stanchion\aspnet-core\src\Nec.Stanchion.Application\MultiTenancy\HostDashboard\IncomeStatisticsReporter.cs:line 24 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult() at Nec.Stanchion.MultiTenancy.HostDashboard.IncomeStatisticsService.<GetIncomeStatisticsData>d__4.MoveNext() in C:\Users\viveknuna\source\repos\Stanchion\aspnet-core\src\Nec.Stanchion.Application\MultiTenancy\HostDashboard\IncomeStatisticsReporter.cs:line 62 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at Nec.Stanchion.MultiTenancy.HostDashboard.HostDashboardAppService.
Thanks, solved it.
Now getting 500 Internal Server Error while running UI.
http://localhost:22742/api/services/app/HostDashboard/GetDashboardStatisticsData?IncomeStatisticsDateInterval=1&StartDate=2017-12-07T00%3A00%3A00.000Z&EndDate=2017-12-14T23%3A59%3A59.999Z
And one more error.
http://localhost:4200/assets/common/images/app-logo-on-null.png 404 (Not Found)
I have made some changes and tried to fix the code on running server-side code.
But now I'm getting the following error.
FATAL 2017-12-14 08:43:32,771 [3 ] oCore.Licensing.AspNetZeroLicenseChecker - Failed to validate project name. Should not rename a project downloaded from aspnetzero.com. You can contact to <a href="mailto:[email protected]">[email protected]</a> if you are using a licensed product. Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Abp.AspNetZeroCore.Licensing.AspNetZeroLicenseChecker.pdxo9JJAGSNSUSdR5x(Object ) at Abp.AspNetZeroCore.Licensing.AspNetZeroLicenseChecker.GetHashedProjectName() at Abp.AspNetZeroCore.Licensing.AspNetZeroLicenseChecker.IsProjectNameValid() at Abp.AspNetZeroCore.Licensing.AspNetZeroLicenseChecker.<CheckInternal>d__9.MoveNext()
I have just found that I was using old StanchionWebHostModule.cs file (it could be due to copy paste).
I'm getting the exception on running server-side code in StanchionWebHostModule.cs and Startup.cs files.
public override void PreInitialize()
{
Configuration.Modules.AbpWebCommon().MultiTenancy.DomainFormat = _appConfiguration["App:ServerRootAddress"] ?? "http://localhost:22742/";
Configuration.Modules.AspNetZero().LicenseCode = _appConfiguration["AbpZeroLicenseCode"];
}
Exception: Castle.MicroKernel.ComponentNotFoundException: 'No component for supporting the service Abp.AspNetZeroCore.AspNetZeroConfiguration was found'
Startup.cs exception.
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
//Initializes ABP framework.
app.UseAbp(options =>
{
options.UseAbpRequestLocalization = false;
});
Castle.MicroKernel.ComponentNotFoundException: 'No component for supporting the service Abp.AspNetZeroCore.AspNetZeroConfiguration was found'
Browser error:
An error occurred while starting the application. ComponentNotFoundException: No component for supporting the service Abp.AspNetZeroCore.AspNetZeroConfiguration was found Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy)
ComponentNotFoundException: No component for supporting the service Abp.AspNetZeroCore.AspNetZeroConfiguration was found Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy) Castle.Windsor.WindsorContainer.Resolve<T>() Abp.Configuration.DictionaryBasedConfig.GetOrCreate<T>(string name, Func<T> creator) in DictionaryBasedConfig.cs Abp.AspNetZeroCore.AspNetZeroConfigurationExtensions.AspNetZero(IModuleConfigurations modules) Nec.Stanchion.Web.Startup.StanchionWebHostModule.PreInitialize() in StanchionWebHostModule.cs + Configuration.Modules.AspNetZero().LicenseCode = _appConfiguration["AbpZeroLicenseCode"]; System.Collections.Generic.List.ForEach(Action<T> action) Abp.Modules.AbpModuleManager.StartModules() in AbpModuleManager.cs Abp.AbpBootstrapper.Initialize() in AbpBootstrapper.cs Abp.AspNetCore.AbpApplicationBuilderExtensions.UseAbp(IApplicationBuilder app, Action<AbpApplicationBuilderOptions> optionsAction) in AbpApplicationBuilderExtensions.cs Nec.Stanchion.Web.Startup.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in Startup.cs + app.UseAbp(options => System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app) Microsoft.AspNetCore.ApplicationInsights.HostingStartup.ApplicationInsightsLoggerStartupFilter+<>c__DisplayClass0_1.<Configure>b__0(IApplicationBuilder builder) Microsoft.ApplicationInsights.AspNetCore.ApplicationInsightsStartupFilter+<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder app) Microsoft.AspNetCore.Server.IISIntegration.IISSetupFilter+<>c__DisplayClass3_0.<Configure>b__0(IApplicationBuilder app) Microsoft.AspNetCore.Hosting.Internal.AutoRequestServicesStartupFilter+<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder builder) Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
But using Abp.AspNetZeroCore.Web.Authentication.External; it already there in the file TokenAuthController.
Please ignore previous logs, I'm sending you fresh logs.
INFO 2017-12-14 06:24:42,464 [33 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://localhost:22742/AbpUserConfiguration/GetAll">http://localhost:22742/AbpUserConfiguration/GetAll</a>
INFO 2017-12-14 06:24:42,633 [33 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 06:24:42,942 [33 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 320.6279ms 204
INFO 2017-12-14 06:24:42,991 [33 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://localhost:22742/AbpUserConfiguration/GetAll">http://localhost:22742/AbpUserConfiguration/GetAll</a> application/json
INFO 2017-12-14 06:24:43,093 [33 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 06:24:43,118 [33 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 06:24:43,383 [33 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) with arguments ((null)) - ModelState is Valid
INFO 2017-12-14 06:24:43,627 [31 ] matters.Json.Internal.JsonResultExecutor - Executing JsonResult, writing value Abp.Web.Models.AjaxResponse.
INFO 2017-12-14 06:24:43,646 [31 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.GetAll (Abp.AspNetCore) in 518.0708ms
INFO 2017-12-14 06:24:43,654 [31 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 677.926ms 200 application/json; charset=utf-8
INFO 2017-12-14 06:24:43,730 [31 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://localhost:22742/api/services/app/Session/GetCurrentLoginInformations">http://localhost:22742/api/services/app ... formations</a>
INFO 2017-12-14 06:24:43,749 [31 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 06:24:43,954 [31 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 29.9021ms 204
INFO 2017-12-14 06:24:44,133 [31 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://localhost:22742/api/services/app/Session/GetCurrentLoginInformations">http://localhost:22742/api/services/app ... formations</a> application/json
INFO 2017-12-14 06:24:44,148 [31 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 06:24:44,156 [31 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 06:24:44,313 [31 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Nec.Stanchion.Sessions.SessionAppService.GetCurrentLoginInformations (Nec.Stanchion.Application) with arguments ((null)) - ModelState is Valid
INFO 2017-12-14 06:24:44,323 [31 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
INFO 2017-12-14 06:24:44,336 [31 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Nec.Stanchion.Sessions.SessionAppService.GetCurrentLoginInformations (Nec.Stanchion.Application) in 170.3352ms
INFO 2017-12-14 06:24:44,408 [31 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 281.0123ms 200 application/json; charset=utf-8
INFO 2017-12-14 06:24:48,316 [31 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://localhost:22742/api/TokenAuth/GetExternalAuthenticationProviders">http://localhost:22742/api/TokenAuth/Ge ... nProviders</a>
INFO 2017-12-14 06:24:48,318 [31 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 06:24:48,335 [31 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 22.6379ms 204
INFO 2017-12-14 06:24:49,476 [36 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://localhost:22742/api/TokenAuth/GetExternalAuthenticationProviders">http://localhost:22742/api/TokenAuth/Ge ... nProviders</a> application/json
INFO 2017-12-14 06:24:49,478 [36 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 06:24:49,492 [36 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
ERROR 2017-12-14 06:24:49,494 [36 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Castle.MicroKernel.Handlers.HandlerException: Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthConfiguration' which was not registered.
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthManager' which was not registered.
at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency() at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden) at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired) at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, IDictionary additionalArguments, IReleasePolicy policy) at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy) at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional) in D:\Github\castle-windsor-ms-adapter\src\Castle.Windsor.MsDependencyInjection\ScopedWindsorServiceProvider.cs:line 55 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext) at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext() INFO 2017-12-14 06:24:49,512 [36 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext. INFO 2017-12-14 06:24:49,532 [36 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Nec.Stanchion.Web.Controllers.TokenAuthController.GetExternalAuthenticationProviders (Nec.Stanchion.Web.Core) in 27.596ms INFO 2017-12-14 06:24:49,539 [36 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 71.091ms 500 application/json; charset=utf-8
Please find content of Logs.txt.
Please let me know If you need more logs
NFO 2017-12-14 05:56:10,958 [18 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
INFO 2017-12-14 05:56:10,974 [18 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Nec.Stanchion.Web.Controllers.TokenAuthController.GetExternalAuthenticationProviders (Nec.Stanchion.Web.Core) in 6.5571ms
INFO 2017-12-14 05:56:11,022 [18 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 50.8022ms 500 application/json; charset=utf-8
INFO 2017-12-14 05:57:25,853 [19 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://localhost:22742/api/TokenAuth/Authenticate">http://localhost:22742/api/TokenAuth/Authenticate</a>
INFO 2017-12-14 05:57:25,873 [19 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 05:57:26,077 [19 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 177.6738ms 204
INFO 2017-12-14 05:57:26,170 [19 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://localhost:22742/api/TokenAuth/Authenticate">http://localhost:22742/api/TokenAuth/Authenticate</a> application/json 151
INFO 2017-12-14 05:57:26,260 [19 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 05:57:26,440 [19 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
ERROR 2017-12-14 05:57:26,479 [19 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Castle.MicroKernel.Handlers.HandlerException: Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthConfiguration' which was not registered.
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthManager' which was not registered.
at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, IDictionary additionalArguments, IReleasePolicy policy)
at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy)
at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional) in D:\Github\castle-windsor-ms-adapter\src\Castle.Windsor.MsDependencyInjection\ScopedWindsorServiceProvider.cs:line 55
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext()
INFO 2017-12-14 05:57:26,609 [19 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
INFO 2017-12-14 05:57:26,852 [19 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Nec.Stanchion.Web.Controllers.TokenAuthController.Authenticate (Nec.Stanchion.Web.Core) in 300.843ms
INFO 2017-12-14 05:57:27,759 [19 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 779.2618ms 500 application/json; charset=utf-8
INFO 2017-12-14 05:57:34,468 [23 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://localhost:22742/api/TokenAuth/Authenticate">http://localhost:22742/api/TokenAuth/Authenticate</a>
INFO 2017-12-14 05:57:34,469 [23 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 05:57:34,499 [23 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 6.5355ms 204
INFO 2017-12-14 05:57:34,508 [23 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://localhost:22742/api/TokenAuth/Authenticate">http://localhost:22742/api/TokenAuth/Authenticate</a> application/json 157
INFO 2017-12-14 05:57:34,510 [23 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 05:57:34,521 [23 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
ERROR 2017-12-14 05:57:34,524 [23 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Castle.MicroKernel.Handlers.HandlerException: Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthConfiguration' which was not registered.
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthManager' which was not registered.
at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, IDictionary additionalArguments, IReleasePolicy policy)
at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy)
at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional) in D:\Github\castle-windsor-ms-adapter\src\Castle.Windsor.MsDependencyInjection\ScopedWindsorServiceProvider.cs:line 55
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext()
INFO 2017-12-14 05:57:34,531 [23 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
INFO 2017-12-14 05:57:34,538 [23 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Nec.Stanchion.Web.Controllers.TokenAuthController.Authenticate (Nec.Stanchion.Web.Core) in 12.2805ms
INFO 2017-12-14 05:57:34,551 [23 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 34.4357ms 500 application/json; charset=utf-8
INFO 2017-12-14 05:57:59,179 [21 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://localhost:22742/api/TokenAuth/Authenticate">http://localhost:22742/api/TokenAuth/Authenticate</a>
INFO 2017-12-14 05:57:59,240 [21 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 05:57:59,367 [21 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 101.1996ms 204
INFO 2017-12-14 05:57:59,880 [21 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://localhost:22742/api/TokenAuth/Authenticate">http://localhost:22742/api/TokenAuth/Authenticate</a> application/json 153
INFO 2017-12-14 05:58:00,133 [21 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 05:58:00,428 [21 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
ERROR 2017-12-14 05:58:00,598 [21 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Castle.MicroKernel.Handlers.HandlerException: Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthConfiguration' which was not registered.
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthManager' which was not registered.
at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, IDictionary additionalArguments, IReleasePolicy policy)
at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy)
at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional) in D:\Github\castle-windsor-ms-adapter\src\Castle.Windsor.MsDependencyInjection\ScopedWindsorServiceProvider.cs:line 55
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext()
INFO 2017-12-14 05:58:00,815 [21 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
INFO 2017-12-14 05:58:01,268 [21 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Nec.Stanchion.Web.Controllers.TokenAuthController.Authenticate (Nec.Stanchion.Web.Core) in 673.385ms
INFO 2017-12-14 05:58:01,934 [21 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 1679.6478ms 500 application/json; charset=utf-8
INFO 2017-12-14 05:58:08,070 [20 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://localhost:22742/api/TokenAuth/Authenticate">http://localhost:22742/api/TokenAuth/Authenticate</a>
INFO 2017-12-14 05:58:08,084 [20 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 05:58:08,115 [20 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 35.839ms 204
INFO 2017-12-14 05:58:08,124 [20 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://localhost:22742/api/TokenAuth/Authenticate">http://localhost:22742/api/TokenAuth/Authenticate</a> application/json 151
INFO 2017-12-14 05:58:08,128 [20 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 05:58:08,141 [20 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
ERROR 2017-12-14 05:58:08,142 [20 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Castle.MicroKernel.Handlers.HandlerException: Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthConfiguration' which was not registered.
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthManager' which was not registered.
at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency() at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden) at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired) at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, IDictionary additionalArguments, IReleasePolicy policy) at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy) at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional) in D:\Github\castle-windsor-ms-adapter\src\Castle.Windsor.MsDependencyInjection\ScopedWindsorServiceProvider.cs:line 55 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext) at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext() INFO 2017-12-14 05:58:08,152 [20 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext. INFO 2017-12-14 05:58:08,159 [20 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Nec.Stanchion.Web.Controllers.TokenAuthController.Authenticate (Nec.Stanchion.Web.Core) in 18.4881ms INFO 2017-12-14 05:58:08,187 [20 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 62.2347ms 500 application/json; charset=utf-8 INFO 2017-12-14 05:59:45,666 [23 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://localhost:22742/api/TokenAuth/Authenticate">http://localhost:22742/api/TokenAuth/Authenticate</a> application/json-patch+json 224 INFO 2017-12-14 05:59:45,669 [23 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2017-12-14 05:59:45,682 [23 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. ERROR 2017-12-14 05:59:45,683 [23 ] Mvc.ExceptionHandling.AbpExceptionFilter - Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Castle.MicroKernel.Handlers.HandlerException: Can't create component 'Nec.Stanchion.Web.Controllers.TokenAuthController' as it has dependencies to be satisfied.
'Nec.Stanchion.Web.Controllers.TokenAuthController' is waiting for the following dependencies:
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthConfiguration' which was not registered.
Service 'Abp.AspNetZeroCore.Web.Authentication.External.IExternalAuthManager' which was not registered.
at Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()
at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, IDictionary additionalArguments, IReleasePolicy policy)
at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(Type service, IDictionary arguments, IReleasePolicy policy)
at Castle.Windsor.MsDependencyInjection.ScopedWindsorServiceProvider.GetServiceInternal(Type serviceType, Boolean isOptional) in D:\Github\castle-windsor-ms-adapter\src\Castle.Windsor.MsDependencyInjection\ScopedWindsorServiceProvider.cs:line 55
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext()
INFO 2017-12-14 05:59:45,691 [23 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
INFO 2017-12-14 05:59:45,694 [23 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Nec.Stanchion.Web.Controllers.TokenAuthController.Authenticate (Nec.Stanchion.Web.Core) in 12.9459ms
INFO 2017-12-14 05:59:45,711 [23 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 29.9999ms 500 application/json; charset=utf-8
INFO 2017-12-14 06:05:01,610 [23 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://localhost:22742/AbpUserConfiguration/GetAll">http://localhost:22742/AbpUserConfiguration/GetAll</a> 0
INFO 2017-12-14 06:05:01,850 [23 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 06:05:02,229 [23 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 1210.3269ms 204
INFO 2017-12-14 06:05:02,935 [23 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://localhost:22742/AbpUserConfiguration/GetAll">http://localhost:22742/AbpUserConfiguration/GetAll</a> application/json
INFO 2017-12-14 06:05:03,385 [23 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful.
INFO 2017-12-14 06:05:03,544 [23 ] uthentication.JwtBearer.JwtBearerHandler - Bearer was not authenticated. Failure message: No SecurityTokenValidator available for token: null
ERROR 2017-12-14 06:05:04,793 [23 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HLA2MP1MSU28", Request id "0HLA2MP1MSU28:00000002": An unhandled exception was thrown by the application.
System.InvalidOperationException: You must either set Authority or IntrospectionEndpoint
at Microsoft.AspNetCore.Builder.OAuth2IntrospectionOptions.Validate()
at IdentityModel.AspNetCore.OAuth2Introspection.PostConfigureOAuth2IntrospectionOptions.PostConfigure(String name, OAuth2IntrospectionOptions options)
at Microsoft.Extensions.Options.OptionsFactory1.Create(String name) at Microsoft.Extensions.Options.OptionsMonitor
1.<>c__DisplayClass10_0.<Get>b__0()
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy
1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy1.CreateValue() at Microsoft.Extensions.Options.OptionsCache
1.GetOrAdd(String name, Func1 createOptions) at Microsoft.Extensions.Options.OptionsMonitor
1.Get(String name)
at Microsoft.AspNetCore.Authentication.AuthenticationHandler1.<InitializeAsync>d__42.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Authentication.AuthenticationHandlerProvider.<GetHandlerAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at IdentityServer4.Hosting.FederatedSignOut.FederatedSignoutAuthenticationHandlerProvider.<GetHandlerAsync>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult()
at Microsoft.AspNetCore.Authentication.AuthenticationService.<AuthenticateAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationHandler.<HandleAuthenticateAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at Microsoft.AspNetCore.Authentication.AuthenticationHandler
1.<AuthenticateAsync>d__47.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at Microsoft.AspNetCore.Authentication.AuthenticationService.<AuthenticateAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Abp.AspNetZeroCore.Web.Authentication.JwtBearer.JwtTokenMiddleware.<>c__DisplayClass0_0.<<UseJwtTokenMiddleware>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Abp.AspNetZeroCore.Web.Authentication.JwtBearer.JwtTokenMiddleware.<>c__DisplayClass0_0.<<UseJwtTokenMiddleware>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.<Invoke>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.<Invoke>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.<Invoke>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware.<Invoke>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame
1.<ProcessRequestsAsync>d__2.MoveNext()
INFO 2017-12-14 06:05:04,949 [23 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 2128.4181ms 500
Getting 500 Internal Server Error on <a class="postlink" href="http://localhost:22742/api/TokenAuth/Authenticate">http://localhost:22742/api/TokenAuth/Authenticate</a> once I try to login to the application as well. It's not even hitting the breakpoint.
I cleared cache and the above error is gone now.
But When I run the application I get the below error now.
API <a class="postlink" href="http://localhost:22742/api/TokenAuth/GetExternalAuthenticationProviders">http://localhost:22742/api/TokenAuth/Ge ... nProviders</a> is giving the following error.
Status Code:500 Internal Server Error An internal error occurred during your request!
Fixed all compilation errors, But now getting the runtime error while accessing <a class="postlink" href="http://localhost:4200/">http://localhost:4200/</a> URL.
GET <a class="postlink" href="http://localhost:4200/scripts.bundle.js">http://localhost:4200/scripts.bundle.js</a> net::ERR_ABORTED localhost/:21 GET <a class="postlink" href="http://localhost:4200/scripts.bundle.js">http://localhost:4200/scripts.bundle.js</a> 404 (Not Found) core.js:1350 ERROR ReferenceError: abp is not defined at Array.eval (root.module.ts:28) at ApplicationInitStatus.runInitializers (core.js:3451) at eval (core.js:5379) at _callAndReportToErrorHandler (core.js:5558) at eval (core.js:5377) at ZoneDelegate.invoke (zone.js:392) at Object.onInvoke (core.js:4629) at ZoneDelegate.invoke (zone.js:391) at Zone.run (zone.js:142) at NgZone.run (core.js:4446) defaultErrorLogger @ core.js:1350 ErrorHandler.handleError @ core.js:1411 (anonymous) @ core.js:5569 ZoneDelegate.invoke @ zone.js:392 Zone.run @ zone.js:142 NgZone.runOutsideAngular @ core.js:4577 _callAndReportToErrorHandler @ core.js:5569 (anonymous) @ core.js:5377 ZoneDelegate.invoke @ zone.js:392 onInvoke @ core.js:4629 ZoneDelegate.invoke @ zone.js:391 Zone.run @ zone.js:142 NgZone.run @ core.js:4446 PlatformRef.bootstrapModuleFactory @ core.js:5368 (anonymous) @ core.js:5447 ZoneDelegate.invoke @ zone.js:392 Zone.run @ zone.js:142 (anonymous) @ zone.js:844 ZoneDelegate.invokeTask @ zone.js:425 Zone.runTask @ zone.js:192 drainMicroTaskQueue @ zone.js:602 Promise resolved (async) scheduleMicroTask @ zone.js:585 ZoneDelegate.scheduleTask @ zone.js:414 Zone.scheduleTask @ zone.js:236 Zone.scheduleMicroTask @ zone.js:256 scheduleResolveOrReject @ zone.js:842 ZoneAwarePromise.then @ zone.js:932 setDriver @ localforage.js:2360 LocalForage @ localforage.js:2173 4.3 @ localforage.js:2422 s @ localforage.js:7 e @ localforage.js:7 (anonymous) @ localforage.js:7 (anonymous) @ localforage.js:7 (anonymous) @ localforage.js:7 (anonymous) @ localforage.js:2428 ../../../../localforage/dist/localforage.js @ vendor.bundle.js:2051 webpack_require @ inline.bundle.js:55 (anonymous) @ local-storage.service.ts:3 ../../../../../src/shared/utils/local-storage.service.ts @ main.bundle.js:728 webpack_require @ inline.bundle.js:55 (anonymous) @ utils.module.ts:10 ../../../../../src/shared/utils/utils.module.ts @ main.bundle.js:752 webpack_require @ inline.bundle.js:55 (anonymous) @ app.module.ts:22 ../../../../../src/app/app.module.ts @ main.bundle.js:60 webpack_require @ inline.bundle.js:55 (anonymous) @ root.module.ts:11 ../../../../../src/root.module.ts @ main.bundle.js:536 webpack_require @ inline.bundle.js:55 (anonymous) @ main.ts:6 ../../../../../src/main.ts @ main.bundle.js:504 webpack_require @ inline.bundle.js:55 0 @ main.bundle.js:805 webpack_require @ inline.bundle.js:55 webpackJsonpCallback @ inline.bundle.js:26 (anonymous) @ main.bundle.js:1 zone.js:661 Unhandled Promise rejection: abp is not defined ; Zone: <root> ; Task: Promise.then ; Value: ReferenceError: abp is not defined at Array.eval (root.module.ts:28) at ApplicationInitStatus.runInitializers (core.js:3451) at eval (core.js:5379) at _callAndReportToErrorHandler (core.js:5558) at eval (core.js:5377) at ZoneDelegate.invoke (zone.js:392) at Object.onInvoke (core.js:4629) at ZoneDelegate.invoke (zone.js:391) at Zone.run (zone.js:142) at NgZone.run (core.js:4446) ReferenceError: abp is not defined at Array.eval (webpack-internal:///../../../../../src/root.module.ts:51:9) at ApplicationInitStatus.runInitializers (webpack-internal:///../../../core/esm5/core.js:3647:67) at eval (webpack-internal:///../../../core/esm5/core.js:5575:28) at _callAndReportToErrorHandler (webpack-internal:///../../../core/esm5/core.js:5754:39) at eval (webpack-internal:///../../../core/esm5/core.js:5573:20) at ZoneDelegate.invoke (webpack-internal:///../../../../zone.js/dist/zone.js:392:26) at Object.onInvoke (webpack-internal:///../../../core/esm5/core.js:4825:33) at ZoneDelegate.invoke (webpack-internal:///../../../../zone.js/dist/zone.js:391:32) at Zone.run (webpack-internal:///../../../../zone.js/dist/zone.js:142:43) at NgZone.run (webpack-internal:///../../../core/esm5/core.js:4642:69) api.onUnhandledError @ zone.js:661 handleUnhandledRejection @ zone.js:688 _loop_1 @ zone.js:678 api.microtaskDrainDone @ zone.js:682 drainMicroTaskQueue @ zone.js:610 Promise resolved (async) scheduleMicroTask @ zone.js:585 ZoneDelegate.scheduleTask @ zone.js:414 Zone.scheduleTask @ zone.js:236 Zone.scheduleMicroTask @ zone.js:256 scheduleResolveOrReject @ zone.js:842 ZoneAwarePromise.then @ zone.js:932 setDriver @ localforage.js:2360 LocalForage @ localforage.js:2173 4.3 @ localforage.js:2422 s @ localforage.js:7 e @ localforage.js:7 (anonymous) @ localforage.js:7 (anonymous) @ localforage.js:7 (anonymous) @ localforage.js:7 (anonymous) @ localforage.js:2428 ../../../../localforage/dist/localforage.js @ vendor.bundle.js:2051 webpack_require @ inline.bundle.js:55 (anonymous) @ local-storage.service.ts:3 ../../../../../src/shared/utils/local-storage.service.ts @ main.bundle.js:728 webpack_require @ inline.bundle.js:55 (anonymous) @ utils.module.ts:10 ../../../../../src/shared/utils/utils.module.ts @ main.bundle.js:752 webpack_require @ inline.bundle.js:55 (anonymous) @ app.module.ts:22 ../../../../../src/app/app.module.ts @ main.bundle.js:60 webpack_require @ inline.bundle.js:55 (anonymous) @ root.module.ts:11 ../../../../../src/root.module.ts @ main.bundle.js:536 webpack_require @ inline.bundle.js:55 (anonymous) @ main.ts:6 ../../../../../src/main.ts @ main.bundle.js:504 webpack_require @ inline.bundle.js:55 0 @ main.bundle.js:805 webpack_require @ inline.bundle.js:55 webpackJsonpCallback @ inline.bundle.js:26 (anonymous) @ main.bundle.js:1