after changing apihostmodule cs
2023-10-13 16:11:37.874 +03:00 [INF] Request starting HTTP/2 GET https://apihost.obinex.com.tr/abp/Swashbuckle/SetCsrfCookie - -
2023-10-13 16:11:38.104 +03:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
at Microsoft.IdentityModel.Tokens.Validators.ValidateAudience(IEnumerable`1 audiences, SecurityToken securityToken, TokenValidationParameters validationParameters)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateAudience(IEnumerable`1 audiences, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
2023-10-13 16:11:38.105 +03:00 [INF] Bearer was not authenticated. Failure message: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
2023-10-13 16:11:38.106 +03:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2023-10-13 16:11:38.108 +03:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2023-10-13 16:11:38.114 +03:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 5.3971ms
2023-10-13 16:11:38.114 +03:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2023-10-13 16:11:38.117 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-13 16:11:38.117 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-13 16:11:38.117 +03:00 [INF] Request finished HTTP/2 GET https://apihost.obinex.com.tr/abp/Swashbuckle/SetCsrfCookie - - - 204 - - 243.0528ms
2023-10-13 16:11:38.209 +03:00 [INF] Request starting HTTP/2 GET https://apihost.obinex.com.tr/api/app/direct-pay-iTBusiness-partner-kKTCELLS - -
2023-10-13 16:11:38.211 +03:00 [INF] Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
at Microsoft.IdentityModel.Tokens.Validators.ValidateAudience(IEnumerable`1 audiences, SecurityToken securityToken, TokenValidationParameters validationParameters)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateAudience(IEnumerable`1 audiences, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken)
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
2023-10-13 16:11:38.211 +03:00 [INF] Bearer was not authenticated. Failure message: IDX10206: Unable to validate audience. The 'audiences' parameter is empty.
2023-10-13 16:11:38.211 +03:00 [INF] Executing endpoint 'OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController.GetListAsync (OBINEX.HttpApi)'
2023-10-13 16:11:38.220 +03:00 [INF] Route matched with {area = "app", controller = "DirectPayITBusinessPartnerKKTCELL", action = "GetList", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.PagedResultDto`1[OBINEX.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLDto]] GetListAsync(OBINEX.DirectPayITBusinessPartnerKKTCELLS.GetDirectPayITBusinessPartnerKKTCELLSInput) on controller OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController (OBINEX.HttpApi).
2023-10-13 16:11:38.419 +03:00 [INF] Authorization failed. These requirements were not met:
PermissionRequirement: OBINEX.DirectPayITBusinessPartnerKKTCELLS
2023-10-13 16:11:38.428 +03:00 [WRN] ---------- RemoteServiceErrorInfo ----------
{
"code": "Volo.Authorization:010001",
"message": "Authorization failed! Given policy has not granted.",
"details": null,
"data": {},
"validationErrors": null
}
2023-10-13 16:11:38.428 +03:00 [WRN] Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown.
Volo.Abp.Authorization.AbpAuthorizationException: Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown.
at Microsoft.AspNetCore.Authorization.AbpAuthorizationServiceExtensions.CheckAsync(IAuthorizationService authorizationService, AuthorizationPolicy policy)
at Volo.Abp.Authorization.MethodInvocationAuthorizationService.CheckAsync(MethodInvocationAuthorizationContext context)
at Volo.Abp.Authorization.AuthorizationInterceptor.AuthorizeAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at lambda_method2663(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
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.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-10-13 16:11:38.429 +03:00 [WRN] Code:Volo.Authorization:010001
2023-10-13 16:11:38.436 +03:00 [INF] AuthenticationScheme: Bearer was challenged.
2023-10-13 16:11:38.436 +03:00 [INF] Executed action OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController.GetListAsync (OBINEX.HttpApi) in 216.469ms
2023-10-13 16:11:38.437 +03:00 [INF] Executed endpoint 'OBINEX.Controllers.DirectPayITBusinessPartnerKKTCELLS.DirectPayITBusinessPartnerKKTCELLController.GetListAsync (OBINEX.HttpApi)'
2023-10-13 16:11:38.449 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-13 16:11:38.449 +03:00 [DBG] Added 0 entity changes to the current audit log
2023-10-13 16:11:38.450 +03:00 [INF] Request finished HTTP/2 GET https://apihost.obinex.com.tr/api/app/direct-pay-iTBusiness-partner-kKTCELLS - - - 401 - - 240.5475ms
auth log continued
2023-10-11 11:30:31.765 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+AttachWwwAuthenticateHeader`1[[OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.765 +03:00 [INF] The response was successfully returned as a JSON document: {
"issuer": "https://auth.obinex.com.tr/",
"authorization_endpoint": "https://auth.obinex.com.tr/connect/authorize",
"token_endpoint": "https://auth.obinex.com.tr/connect/token",
"introspection_endpoint": "https://auth.obinex.com.tr/connect/introspect",
"end_session_endpoint": "https://auth.obinex.com.tr/connect/logout",
"revocation_endpoint": "https://auth.obinex.com.tr/connect/revocat",
"userinfo_endpoint": "https://auth.obinex.com.tr/connect/userinfo",
"device_authorization_endpoint": "https://auth.obinex.com.tr/device",
"jwks_uri": "https://auth.obinex.com.tr/.well-known/jwks",
"grant_types_supported": [
"authorization_code",
"implicit",
"password",
"client_credentials",
"refresh_token",
"urn:ietf:params:oauth:grant-type:device_code",
"LinkLogin",
"Impersonation"
],
"response_types_supported": [
"code",
"code id_token",
"code id_token token",
"code token",
"id_token",
"id_token token",
"token",
"none"
],
"response_modes_supported": [
"form_post",
"fragment",
"query"
],
"scopes_supported": [
"openid",
"offline_access",
"email",
"profile",
"phone",
"roles",
"address",
"OBINEX"
],
"claims_supported": [
"aud",
"exp",
"iat",
"iss",
"sub"
],
"id_token_signing_alg_values_supported": [
"RS256"
],
"code_challenge_methods_supported": [
"S256"
],
"subject_types_supported": [
"public"
],
"token_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"introspection_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"revocation_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"device_authorization_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"claims_parameter_supported": false,
"request_parameter_supported": false,
"request_uri_parameter_supported": false,
"authorization_response_iss_parameter_supported": true
}.
2023-10-11 11:30:31.766 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ProcessJsonResponse`1[[OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.766 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext was marked as handled by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ProcessJsonResponse`1[[OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.766 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+ApplyConfigurationResponse`1[[OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.766 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was marked as handled by OpenIddict.Server.OpenIddictServerHandlers+Discovery+ApplyConfigurationResponse`1[[OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.766 +03:00 [INF] Request finished HTTP/2 GET https://auth.obinex.com.tr/.well-known/openid-configuration - - - 200 2189 application/json;charset=UTF-8 59.1403ms
2023-10-11 11:30:31.766 +03:00 [DBG] Connection ID "17870283373751042545" disconnecting.
apihost log
2023-10-11 11:30:14.953 +03:00 [INF] Request starting HTTP/2 GET https://apihost.obinex.com.tr/api/app/direct-pay-iTBusiness-partner-kKTCELLS - -
2023-10-11 11:30:14.953 +03:00 [ERR] Exception occurred while processing message.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://auth.obinex.com.tr/.well-known/openid-configuration'.
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2023-10-11 11:30:14.953 +03:00 [ERR] Connection ID "17942340929134264408", Request ID "40000059-0003-f900-b63f-84710c7967bb": An unhandled exception was thrown by the application.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://auth.obinex.com.tr/.well-known/openid-configuration'.
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
2023-10-11 11:30:14.954 +03:00 [INF] Request finished HTTP/2 GET https://apihost.obinex.com.tr/api/app/direct-pay-iTBusiness-partner-kKTCELLS - - - 500 - - 1.0482ms```
auth log..
2023-10-11 11:29:07.278 +03:00 [INF] Request finished HTTP/2 POST https://auth.obinex.com.tr/connect/token application/x-www-form-urlencoded 185 - 200 1221 application/json;charset=UTF-8 254.6179ms
2023-10-11 11:30:31.707 +03:00 [INF] Request starting HTTP/2 GET https://auth.obinex.com.tr/.well-known/openid-configuration - -
2023-10-11 11:30:31.708 +03:00 [DBG] The request path /.well-known/openid-configuration does not match a supported file type
2023-10-11 11:30:31.708 +03:00 [DBG] No candidates found for the request path '/.well-known/openid-configuration'
2023-10-11 11:30:31.709 +03:00 [DBG] Request did not match any endpoints
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Validation.OpenIddictValidationEvents+ProcessRequestContext was successfully processed by OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandlers+ResolveRequestUri.
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ResolveRequestUri.
2023-10-11 11:30:31.709 +03:00 [INF] The request URI matched a server endpoint: "Configuration".
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+InferEndpointType.
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by Volo.Abp.Account.Web.Pages.Account.OpenIddictImpersonateInferEndpointType.
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateTransportSecurityRequirement.
2023-10-11 11:30:31.709 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ValidateHostHeader.
2023-10-11 11:30:31.720 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ExtractConfigurationRequestContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+ExtractGetRequest`1[[OpenIddict.Server.OpenIddictServerEvents+ExtractConfigurationRequestContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].
2023-10-11 11:30:31.720 +03:00 [INF] The configuration request was successfully extracted: {}.
2023-10-11 11:30:31.720 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+ExtractConfigurationRequest.
2023-10-11 11:30:31.721 +03:00 [INF] The configuration request was successfully validated.
2023-10-11 11:30:31.721 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+ValidateConfigurationRequest.
2023-10-11 11:30:31.723 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachIssuer.
2023-10-11 11:30:31.723 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachEndpoints.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachGrantTypes.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachResponseModes.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachResponseTypes.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachClientAuthenticationMethods.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachCodeChallengeMethods.
2023-10-11 11:30:31.724 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachScopes.
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728015 ThreadID:40 (ENTRY) OracleExecutionStrategyFactory.ctor()
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728054 ThreadID:40 (EXIT) OracleExecutionStrategyFactory.ctor()
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728061 ThreadID:40 (EXIT) OracleExecutionStrategy.ctor()
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728088 ThreadID:40 (ENTRY) OracleRelationalConnection.ctor()
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728096 ThreadID:40 (EXIT) OracleRelationalConnection.ctor()
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728115 ThreadID:40 (ENTRY) OracleConventionSetBuilder.ctor()
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728122 ThreadID:40 (EXIT) OracleConventionSetBuilder.ctor()
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728479 ThreadID:40 (ENTRY) OracleModificationCommandBatchFactory.ctor()
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728528 ThreadID:40 (EXIT) OracleModificationCommandBatchFactory.ctor()
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728585 ThreadID:40 (ENTRY) OracleValueGeneratorSelector.ctor()
2023-10-11 11:30:31.728 +03:00 [DBG] 2023-10-11 11:30:31.728598 ThreadID:40 (EXIT) OracleValueGeneratorSelector.ctor()
2023-10-11 11:30:31.728 +03:00 [DBG] Entity Framework Core 7.0.1 initialized 'OpenIddictProDbContext' using provider 'Oracle.EntityFrameworkCore:7.0.21.1-20221205' with options: QuerySplittingBehavior=SplitQuery
2023-10-11 11:30:31.729 +03:00 [DBG] Compiling query expression:
'DbSet<OpenIddictScope>()'
2023-10-11 11:30:31.735 +03:00 [DBG] Generated query execution expression:
'queryContext =>
{
queryContext.AddParameter(
name: "__ef_filter__p_0",
value: (object)Invoke(queryContext => (object)!(((OpenIddictProDbContext)queryContext.Context).IsSoftDeleteFilterEnabled), queryContext));
return new SplitQueryingEnumerable<OpenIddictScope>(
(RelationalQueryContext)queryContext,
RelationalCommandCache.QueryExpression(
Projection Mapping:
EmptyProjectionMember -> Dictionary<IProperty, int> { [Property: OpenIddictScope.Id (Guid) Required PK AfterSave:Throw, 0], [Property: OpenIddictScope.ConcurrencyStamp (string) Concurrency MaxLength(40), 1], [Property: OpenIddictScope.CreationTime (DateTime) Required, 2], [Property: OpenIddictScope.CreatorId (Guid?), 3], [Property: OpenIddictScope.DeleterId (Guid?), 4], [Property: OpenIddictScope.DeletionTime (DateTime?), 5], [Property: OpenIddictScope.Description (string), 6], [Property: OpenIddictScope.Descriptions (string), 7], [Property: OpenIddictScope.DisplayName (string), 8], [Property: OpenIddictScope.DisplayNames (string), 9], [Property: OpenIddictScope.ExtraProperties (ExtraPropertyDictionary), 10], [Property: OpenIddictScope.IsDeleted (bool) Required ValueGenerated.OnAdd, 11], [Property: OpenIddictScope.LastModificationTime (DateTime?), 12], [Property: OpenIddictScope.LastModifierId (Guid?), 13], [Property: OpenIddictScope.Name (string) Index MaxLength(200), 14], [Property: OpenIddictScope.Properties (string), 15], [Property: OpenIddictScope.Resources (string), 16] }
SELECT o.Id, o.ConcurrencyStamp, o.CreationTime, o.CreatorId, o.DeleterId, o.DeletionTime, o.Description, o.Descriptions, o.DisplayName, o.DisplayNames, o.ExtraProperties, o.IsDeleted, o.LastModificationTime, o.LastModifierId, o.Name, o.Properties, o.Resources
FROM OpenIddictScopes AS o
WHERE @__ef_filter__p_0 || Not(o.IsDeleted)),
ReaderColumn[] { ReaderColumn<Guid>, ReaderColumn<object>, ReaderColumn<DateTime>, ReaderColumn<Guid>, ReaderColumn<Guid>, ReaderColumn<DateTime>, ReaderColumn<object>, ReaderColumn<object>, ReaderColumn<object>, ReaderColumn<object>, ReaderColumn<object>, ReaderColumn<bool>, ReaderColumn<DateTime>, ReaderColumn<Guid>, ReaderColumn<object>, ReaderColumn<object>, ReaderColumn<object> },
Func<QueryContext, DbDataReader, ResultContext, SplitQueryResultCoordinator, OpenIddictScope>,
null,
null,
Volo.Abp.OpenIddict.EntityFrameworkCore.OpenIddictProDbContext,
False,
False,
True
);
}'
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735456 ThreadID:40 (ENTRY) OracleExecutionStrategy.ExecuteAsync()
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735750 ThreadID:40 (ENTRY) OracleRelationalCommand.ExecuteReaderAsync()
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735771 ThreadID:40 (ENTRY) OracleRelationalCommand.CreateCommand()
2023-10-11 11:30:31.735 +03:00 [DBG] Creating DbCommand for 'ExecuteReader'.
2023-10-11 11:30:31.735 +03:00 [DBG] Creating DbConnection.
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735812 ThreadID:40 (ENTRY) OracleRelationalConnection.CreateDbConnection()
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735858 ThreadID:40 (EXIT) OracleRelationalConnection.CreateDbConnection()
2023-10-11 11:30:31.735 +03:00 [DBG] Created DbConnection. (0ms).
2023-10-11 11:30:31.735 +03:00 [DBG] Created DbCommand for 'ExecuteReader' (0ms).
2023-10-11 11:30:31.735 +03:00 [DBG] 2023-10-11 11:30:31.735900 ThreadID:40 (EXIT) OracleRelationalCommand.CreateCommand()
2023-10-11 11:30:31.735 +03:00 [DBG] Opening connection to database '' on server '127.0.0.1:1521/orcl'.
2023-10-11 11:30:31.736 +03:00 [DBG] Opened connection to database '' on server '127.0.0.1:1521/orcl'.
2023-10-11 11:30:31.736 +03:00 [DBG] 2023-10-11 11:30:31.736239 ThreadID:40 (SQL) OracleRelationalCommand.ExecuteReaderAsync() : SELECT "o"."Id", "o"."ConcurrencyStamp", "o"."CreationTime", "o"."CreatorId", "o"."DeleterId", "o"."DeletionTime", "o"."Description", "o"."Descriptions", "o"."DisplayName", "o"."DisplayNames", "o"."ExtraProperties", "o"."IsDeleted", "o"."LastModificationTime", "o"."LastModifierId", "o"."Name", "o"."Properties", "o"."Resources" FROM "OpenIddictScopes" "o" WHERE ((:ef_filter__p_0 <> 0) OR ("o"."IsDeleted" = 0))
2023-10-11 11:30:31.736 +03:00 [DBG] Executing DbCommand [Parameters=[:ef_filter__p_0='?' (DbType = Byte)], CommandType='"Text"', CommandTimeout='0']
SELECT "o"."Id", "o"."ConcurrencyStamp", "o"."CreationTime", "o"."CreatorId", "o"."DeleterId", "o"."DeletionTime", "o"."Description", "o"."Descriptions", "o"."DisplayName", "o"."DisplayNames", "o"."ExtraProperties", "o"."IsDeleted", "o"."LastModificationTime", "o"."LastModifierId", "o"."Name", "o"."Properties", "o"."Resources"
FROM "OpenIddictScopes" "o"
WHERE ((:ef_filter__p_0 <> 0) OR ("o"."IsDeleted" = 0))
2023-10-11 11:30:31.737 +03:00 [INF] Executed DbCommand (1ms) [Parameters=[:ef_filter__p_0='?' (DbType = Byte)], CommandType='"Text"', CommandTimeout='0']
SELECT "o"."Id", "o"."ConcurrencyStamp", "o"."CreationTime", "o"."CreatorId", "o"."DeleterId", "o"."DeletionTime", "o"."Description", "o"."Descriptions", "o"."DisplayName", "o"."DisplayNames", "o"."ExtraProperties", "o"."IsDeleted", "o"."LastModificationTime", "o"."LastModifierId", "o"."Name", "o"."Properties", "o"."Resources"
FROM "OpenIddictScopes" "o"
WHERE ((:ef_filter__p_0 <> 0) OR ("o"."IsDeleted" = 0))
2023-10-11 11:30:31.737 +03:00 [DBG] 2023-10-11 11:30:31.737461 ThreadID:40 (EXIT) OracleRelationalCommand.ExecuteReaderAsync()
2023-10-11 11:30:31.737 +03:00 [DBG] 2023-10-11 11:30:31.737487 ThreadID:40 (EXIT) OracleExecutionStrategy.ExecuteAsync()
2023-10-11 11:30:31.739 +03:00 [DBG] Context 'OpenIddictProDbContext' started tracking 'OpenIddictScope' entity. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
2023-10-11 11:30:31.757 +03:00 [DBG] Closing data reader to '' on server '127.0.0.1:1521/orcl'.
2023-10-11 11:30:31.757 +03:00 [DBG] A data reader for '' on server '127.0.0.1:1521/orcl' is being disposed after spending 20ms reading results.
2023-10-11 11:30:31.757 +03:00 [DBG] Closing connection to database '' on server '127.0.0.1:1521/orcl'.
2023-10-11 11:30:31.757 +03:00 [DBG] Closed connection to database '' on server '127.0.0.1:1521/orcl' (0ms).
2023-10-11 11:30:31.757 +03:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] SaveChanges starting for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] DetectChanges starting for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] DetectChanges completed for 'OpenIddictProDbContext'.
2023-10-11 11:30:31.762 +03:00 [DBG] 2023-10-11 11:30:31.762408 ThreadID:40 (ENTRY) OracleExecutionStrategy.ExecuteAsync()
2023-10-11 11:30:31.762 +03:00 [DBG] 2023-10-11 11:30:31.762429 ThreadID:40 (EXIT) OracleExecutionStrategy.ExecuteAsync()
2023-10-11 11:30:31.762 +03:00 [DBG] SaveChanges completed for 'OpenIddictProDbContext' with 0 entities written to the database.
2023-10-11 11:30:31.762 +03:00 [DBG] 'OpenIddictProDbContext' disposed.
2023-10-11 11:30:31.762 +03:00 [DBG] Disposing connection to database '' on server '127.0.0.1:1521/orcl'.
2023-10-11 11:30:31.762 +03:00 [DBG] Disposed connection to database '' on server '' (0ms).
2023-10-11 11:30:31.762 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by Volo.Abp.OpenIddict.Scopes.AttachScopes.
2023-10-11 11:30:31.763 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachClaims.
2023-10-11 11:30:31.763 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachSubjectTypes.
2023-10-11 11:30:31.763 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachSigningAlgorithms.
2023-10-11 11:30:31.763 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+HandleConfigurationRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+AttachAdditionalMetadata.
2023-10-11 11:30:31.764 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ProcessRequestContext was successfully processed by OpenIddict.Server.OpenIddictServerHandlers+Discovery+HandleConfigurationRequest.
2023-10-11 11:30:31.765 +03:00 [DBG] The event OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext was successfully processed by OpenIddict.Server.AspNetCore.OpenIddictServerAspNetCoreHandlers+AttachHttpResponseCode`1[[OpenIddict.Server.OpenIddictServerEvents+ApplyConfigurationResponseContext, OpenIddict.Server, Version=4.4.0.0, Culture=neutral, PublicKeyToken=35a561290d20de2f]].```
trying to access one swagger method
here is the api log page
2023-10-10 11:09:45.693 +03:00 [INF] Request starting HTTP/1.1 GET https://apihost.obinex.com.tr/api/app/direct-pay-kKTCELLGSMReconciliation-details - -
2023-10-10 11:09:45.694 +03:00 [ERR] Exception occurred while processing message.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://auth.obinex.com.tr/.well-known/openid-configuration'.
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
2023-10-10 11:09:45.694 +03:00 [ERR] Connection ID "17726168142725513280", Request ID "40000047-0002-f600-b63f-84710c7967bb": An unhandled exception was thrown by the application.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://auth.obinex.com.tr/.well-known/openid-configuration'.
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
2023-10-10 11:09:45.694 +03:00 [INF] Request finished HTTP/1.1 GET https://apihost.obinex.com.tr/api/app/direct-pay-kKTCELLGSMReconciliation-details - - - 500 - - 0.8690ms
api host
{
"App": {
"SelfUrl": "https://apihost.obinex.com.tr",
"CorsOrigins": "https://*.OBINEX.com.tr",
"DisablePII": "false",
"HealthCheckUrl": "/health-status"
},
"ConnectionStrings": {
"Default": "Data Source=127.0.0.1:1521/orcl;User ID=obinex;Password=123"
},
"Redis": {
"Configuration": "127.0.0.1"
},
"AuthServer": {
"Authority": "https://auth.obinex.com.tr/",
"RequireHttpsMetadata": "true",
"SwaggerClientId": "OBINEX_Swagger"
},
"StringEncryption": {
"DefaultPassPhrase": "123"
}
}
auth
{
"App": {
"SelfUrl": "https://auth.obinex.com.tr/",
"CorsOrigins": "https://*.obinex.com.tr,https://apihost.obinex.com.tr/",
"RedirectAllowedUrls": "https://obinex.com.tr/",
"DisablePII": "false"
},
"ConnectionStrings": {
"Default": "Data Source=127.0.0.1:1521/orcl;User ID=obinex;Password=123"
},
"AuthServer": {
"Authority": "https://auth.obinex.com.tr",
"RequireHttpsMetadata": "true"
},
"StringEncryption": {
"DefaultPassPhrase": "123"
},
"Redis": {
"Configuration": "127.0.0.1"
}
}
web
{
"App": {
"SelfUrl": "https://www.obinex.com.tr",
"DisablePII": "false"
},
"RemoteServices": {
"Default": {
"BaseUrl": "http://apihost.obinex.com.tr/"
},
"AbpAccountPublic": {
"BaseUrl": "https://auth.obinex.com.tr/"
}
},
"Redis": {
"Configuration": "127.0.0.1"
},
"AuthServer": {
"Authority": "https://auth.obinex.com.tr",
"RequireHttpsMetadata": "true",
"ClientId": "OBINEX_Web",
"ClientSecret": "123"
},
"StringEncryption": {
"DefaultPassPhrase": "123"
}
}
{
"issuer": "https://auth.obinex.com.tr/",
"authorization_endpoint": "https://auth.obinex.com.tr/connect/authorize",
"token_endpoint": "https://auth.obinex.com.tr/connect/token",
"introspection_endpoint": "https://auth.obinex.com.tr/connect/introspect",
"end_session_endpoint": "https://auth.obinex.com.tr/connect/logout",
"revocation_endpoint": "https://auth.obinex.com.tr/connect/revocat",
"userinfo_endpoint": "https://auth.obinex.com.tr/connect/userinfo",
"device_authorization_endpoint": "https://auth.obinex.com.tr/device",
"jwks_uri": "https://auth.obinex.com.tr/.well-known/jwks",
"grant_types_supported": [
"authorization_code",
"implicit",
"password",
"client_credentials",
"refresh_token",
"urn:ietf:params:oauth:grant-type:device_code",
"LinkLogin",
"Impersonation"
],
"response_types_supported": [
"code",
"code id_token",
"code id_token token",
"code token",
"id_token",
"id_token token",
"token",
"none"
],
"response_modes_supported": [
"form_post",
"fragment",
"query"
],
"scopes_supported": [
"openid",
"offline_access",
"email",
"profile",
"phone",
"roles",
"address",
"OBINEX"
],
"claims_supported": [
"aud",
"exp",
"iat",
"iss",
"sub"
],
"id_token_signing_alg_values_supported": [
"RS256"
],
"code_challenge_methods_supported": [
"S256"
],
"subject_types_supported": [
"public"
],
"token_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"introspection_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"revocation_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"device_authorization_endpoint_auth_methods_supported": [
"client_secret_basic",
"client_secret_post"
],
"claims_parameter_supported": false,
"request_parameter_supported": false,
"request_uri_parameter_supported": false,
"authorization_response_iss_parameter_supported": true
}
web app config
"Default": {
"BaseUrl": "http://apihost.obinex.com.tr/"
},
cant start with https of this subdomain.. is it looking for same domains for entire application??
web log
2023-10-09 09:08:25.567 +03:00 [ERR] IDX20803: Unable to obtain configuration from: 'https://auth.obinex.com.tr/.well-known/openid-configuration'.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://auth.obinex.com.tr/.well-known/openid-configuration'.
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsyncInternal(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.ChallengeAsync(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext context, String scheme, AuthenticationProperties properties)
at OBINEX.Web.Pages.IndexModel.OnPostLoginAsync() in C:\PROJELER\Obinex\src\OBINEX.Web\Pages\Index.cshtml.cs:line 15
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.NonGenericTaskHandlerMethod.Execute(Object receiver, Object[] arguments)
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync()
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync()
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Rethrow(PageHandlerExecutedContext context)
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2023-10-09 09:08:25.568 +03:00 [INF] Executed page /Index in 2.2567ms
2023-10-09 09:08:25.568 +03:00 [INF] Executed endpoint '/Index'
2023-10-09 09:08:25.568 +03:00 [ERR] An unhandled exception has occurred while executing the request.
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://auth.obinex.com.tr/.well-known/openid-configuration'.
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsyncInternal(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.ChallengeAsync(AuthenticationProperties properties)
at Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext context, String scheme, AuthenticationProperties properties)
at OBINEX.Web.Pages.IndexModel.OnPostLoginAsync() in C:\PROJELER\Obinex\src\OBINEX.Web\Pages\Index.cshtml.cs:line 15
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.NonGenericTaskHandlerMethod.Execute(Object receiver, Object[] arguments)
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync()
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync()
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Rethrow(PageHandlerExecutedContext context)
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextResourceFilter()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Volo.Abp.AspNetCore.Serilog.AbpSerilogMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
2023-10-09 09:08:25.568 +03:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController.Index (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared)'
2023-10-09 09:08:25.568 +03:00 [INF] Route matched with {action = "Index", controller = "Error", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index(Int32) on controller Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared).```
log file continues ...
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.Account.Admin.Web.AbpAccountAdminWebModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial.AbpAspNetCoreMvcUiThemeCommercialModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.Http.Client.IdentityModel.Web.AbpHttpClientIdentityModelWebModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.IdentityModel.AbpIdentityModelModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.Identity.Web.AbpIdentityWebModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.PermissionManagement.Web.AbpPermissionManagementWebModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.AuditLogging.Web.AbpAuditLoggingWebModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Saas.Host.SaasHostWebModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.OpenIddict.Pro.Web.AbpOpenIddictProWebModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.AbpAspNetCoreMvcUiLeptonXThemeModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.LeptonX.Shared.AbpAspNetCoreLeptonXSharedModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.LanguageManagement.LanguageManagementWebModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.TextTemplateManagement.Web.TextTemplateManagementWebModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.Gdpr.Web.AbpGdprWebModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2023-10-03 16:59:49.431 +03:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2023-10-03 16:59:49.898 +03:00 [INF] Initialized all ABP modules.
2023-10-03 16:59:49.927 +03:00 [INF] Application started. Press Ctrl+C to shut down.
2023-10-03 16:59:49.927 +03:00 [INF] Hosting environment: Production
2023-10-03 16:59:49.928 +03:00 [INF] Content root path: C:\inetpub\wwwroot\Obinex\Web
2023-10-03 16:59:49.938 +03:00 [INF] Request starting HTTP/1.1 GET https://www.obinex.com/ - -
2023-10-03 16:59:50.013 +03:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2023-10-03 16:59:50.017 +03:00 [INF] Start processing HTTP request GET https://apihost.obinex.com/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
2023-10-03 16:59:50.017 +03:00 [INF] Sending HTTP request GET https://apihost.obinex.com/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
2023-10-03 16:59:50.092 +03:00 [ERR] Connection ID "18374686540606472194", Request ID "4000000b-000e-ff00-b63f-84710c7967bb": An unhandled exception was thrown by the application.
Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (The SSL connection could not be established, see inner exception.) See the inner exception for details.
---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext)
--- End of inner exception stack trace ---
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](ClientProxyRequestContext requestContext)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments)
at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync(ApplicationConfigurationRequestOptions options)
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetRemoteConfigurationAsync()
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.<GetAsync>b__19_0()
at Volo.Abp.Caching.DistributedCache`2.GetOrAddAsync(TCacheKey key, Func`1 factory, Func`1 optionsFactory, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token)
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync()
at Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync()
at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
2023-10-03 16:59:50.101 +03:00 [INF] Request finished HTTP/1.1 GET https://www.obinex.com/ - - - 500 - - 163.6457ms
2023-10-03 16:59:52.241 +03:00 [INF] Request starting HTTP/1.1 GET https://www.obinex.com/ - -
2023-10-03 16:59:52.248 +03:00 [WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration.
2023-10-03 16:59:52.248 +03:00 [INF] Start processing HTTP request GET https://apihost.obinex.com/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
2023-10-03 16:59:52.248 +03:00 [INF] Sending HTTP request GET https://apihost.obinex.com/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0
2023-10-03 16:59:52.253 +03:00 [ERR] Connection ID "18374686540606472194", Request ID "4000000c-000e-ff00-b63f-84710c7967bb": An unhandled exception was thrown by the application.
Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (The SSL connection could not be established, see inner exception.) See the inner exception for details.
---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>g__Core|5_0(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext)
--- End of inner exception stack trace ---
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](ClientProxyRequestContext requestContext)
at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments)
at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync(ApplicationConfigurationRequestOptions options)
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetRemoteConfigurationAsync()
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.<GetAsync>b__19_0()
at Volo.Abp.Caching.DistributedCache`2.GetOrAddAsync(TCacheKey key, Func`1 factory, Func`1 optionsFactory, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token)
at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync()
at Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync()
at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
2023-10-03 16:59:52.254 +03:00 [INF] Request finished HTTP/1.1 GET https://www.obinex.com/ - - - 500 - - 12.9534ms