Open KerimNar opened 2 days ago
Tye Dashboard: EShopOnAbp.IdentityService.HttpApi.Host.csproj https://localhost:44351 0/1 EShopOnAbp.AdministrationService.HttpApi.Host.csproj https://localhost:44353 1/1 EShopOnAbp.CatalogService.HttpApi.Host.csproj https://localhost:44354 0/1 EShopOnAbp.BasketService.csproj https://localhost:44355 1/1 EShopOnAbp.OrderingService.HttpApi.Host.csproj https://localhost:44356 1/1 EShopOnAbp.PaymentService.HttpApi.Host.csproj https://localhost:44357 1/1 EShopOnAbp.CmskitService.HttpApi.Host.csproj https://localhost:44358 1/1 EShopOnAbp.WebGateway\EShopOnAbp.WebGateway.csproj https://localhost:44372 1/1 EShopOnAbp.WebPublicGateway.csproj https://localhost:44373 1/1 EShopOnAbp.PublicWeb.csproj https://localhost:44335 1/1 EShopOnAbp.Keycloak.DbMigrator.csproj | none | 0/1
identity-service log:
[identity-service_f8e714c0-9]: Call failed. No connection could be made because the target machine actively refused it. (localhost:8080): POST http://localhost:8080/realms/master/protocol/openid-connect/token
[identity-service_f8e714c0-9]: [20:50:36 INF] Lock is acquired for db migration and seeding on database named: IdentityService...
[identity-service_f8e714c0-9]: [20:50:40 FTL] EShopOnAbp.IdentityService.HttpApi.Host terminated unexpectedly!
[identity-service_f8e714c0-9]: Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnPostApplicationInitializationModuleLifecycleContributor phase of the module EShopOnAbp.IdentityService.IdentityServiceHttpApiHostModule, EShopOnAbp.IdentityService.HttpApi.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: Call failed. No connection could be made because the target machine actively refused it. (localhost:8080): POST http://localhost:8080/realms/master/protocol/openid-connect/token. See the inner exception for details.
[identity-service_f8e714c0-9]: ---> Flurl.Http.FlurlHttpException: Call failed. No connection could be made because the target machine actively refused it. (localhost:8080): POST http://localhost:8080/realms/master/protocol/openid-connect/token
[identity-service_f8e714c0-9]: ---> System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:8080)
[identity-service_f8e714c0-9]: ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
[identity-service_f8e714c0-9]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
[identity-service_f8e714c0-9]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
[identity-service_f8e714c0-9]: at System.Net.Sockets.Socket.1 response) [identity-service_f8e714c0-9]: at Keycloak.Net.Common.Extensions.FlurlRequestExtensions.GetAccessTokenAsync(String url, String realm, String userName, String password, KeycloakOptions options) [identity-service_f8e714c0-9]: at Keycloak.Net.Common.Extensions.FlurlRequestExtensions.GetAccessToken(String url, String realm, String userName, String password, KeycloakOptions options) [identity-service_f8e714c0-9]: at Keycloak.Net.Common.Extensions.FlurlRequestExtensions.WithAuthentication(IFlurlRequest request, Func
1 getToken, String url, String realm, String userName, String password, String clientSecret, KeycloakOptions options)
[identity-service_f8e714c0-9]: at Keycloak.Net.KeycloakClient.GetBaseUrl(String authenticationRealm)
[identity-service_f8e714c0-9]: at Keycloak.Net.KeycloakClient.GetRealmAsync(String realm, CancellationToken cancellationToken)
[identity-service_f8e714c0-9]: at EShopOnAbp.IdentityService.DbMigrations.KeyCloakDataSeeder.UpdateRealmSettingsAsync() in C:\Users\kerim\source\repos\abp\eShopOnAbp\services\identity\src\EShopOnAbp.IdentityService.HttpApi.Host\DbMigrations\KeycloakDataSeeder.cs:line 50
[identity-service_f8e714c0-9]: at EShopOnAbp.IdentityService.DbMigrations.KeyCloakDataSeeder.SeedAsync(DataSeedContext context) in C:\Users\kerim\source\repos\abp\eShopOnAbp\services\identity\src\EShopOnAbp.IdentityService.HttpApi.Host\DbMigrations\KeycloakDataSeeder.cs:line 41
[identity-service_f8e714c0-9]: at Volo.Abp.Data.DataSeeder.SeedAsync(DataSeedContext context)
[identity-service_f8e714c0-9]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)
[identity-service_f8e714c0-9]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()
[identity-service_f8e714c0-9]: at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
[identity-service_f8e714c0-9]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
[identity-service_f8e714c0-9]: at EShopOnAbp.Shared.Hosting.Microservices.DbMigrations.EfCore.PendingEfCoreMigrationsChecker1.LockAndApplyDatabaseMigrationsAsync() in C:\Users\kerim\source\repos\abp\eShopOnAbp\shared\EShopOnAbp.Shared.Hosting.Microservices\DbMigrations\EfCore\PendingEfCoreMigrationsChecker.cs:line 77 [identity-service_f8e714c0-9]: at EShopOnAbp.Shared.Hosting.Microservices.DbMigrations.EfCore.PendingEfCoreMigrationsChecker
1.LockAndApplyDatabaseMigrationsAsync() in C:\Users\kerim\source\repos\abp\eShopOnAbp\shared\EShopOnAbp.Shared.Hosting.Microservices\DbMigrations\EfCore\PendingEfCoreMigrationsChecker.cs:line 81
[identity-service_f8e714c0-9]: at EShopOnAbp.Shared.Hosting.Microservices.DbMigrations.PendingMigrationsCheckerBase.TryAsync(Func1 task, Int32 retryCount) in C:\Users\kerim\source\repos\abp\eShopOnAbp\shared\EShopOnAbp.Shared.Hosting.Microservices\DbMigrations\PendingMigrationsCheckerBase.cs:line 15 [identity-service_f8e714c0-9]: at EShopOnAbp.Shared.Hosting.Microservices.DbMigrations.PendingMigrationsCheckerBase.TryAsync(Func
1 task, Int32 retryCount) in C:\Users\kerim\source\repos\abp\eShopOnAbp\shared\EShopOnAbp.Shared.Hosting.Microservices\DbMigrations\PendingMigrationsCheckerBase.cs:line 23
[identity-service_f8e714c0-9]: at EShopOnAbp.Shared.Hosting.Microservices.DbMigrations.PendingMigrationsCheckerBase.TryAsync(Func1 task, Int32 retryCount) in C:\Users\kerim\source\repos\abp\eShopOnAbp\shared\EShopOnAbp.Shared.Hosting.Microservices\DbMigrations\PendingMigrationsCheckerBase.cs:line 30 [identity-service_f8e714c0-9]: at EShopOnAbp.Shared.Hosting.Microservices.DbMigrations.PendingMigrationsCheckerBase.TryAsync(Func
1 task, Int32 retryCount) in C:\Users\kerim\source\repos\abp\eShopOnAbp\shared\EShopOnAbp.Shared.Hosting.Microservices\DbMigrations\PendingMigrationsCheckerBase.cs:line 30
[identity-service_f8e714c0-9]: at EShopOnAbp.Shared.Hosting.Microservices.DbMigrations.EfCore.PendingEfCoreMigrationsChecker`1.CheckAndApplyDatabaseMigrationsAsync() in C:\Users\kerim\source\repos\abp\eShopOnAbp\shared\EShopOnAbp.Shared.Hosting.Microservices\DbMigrations\EfCore\PendingEfCoreMigrationsChecker.cs:line 43
[identity-service_f8e714c0-9]: at EShopOnAbp.IdentityService.IdentityServiceHttpApiHostModule.OnPostApplicationInitializationAsync(ApplicationInitializationContext context) in C:\Users\kerim\source\repos\abp\eShopOnAbp\services\identity\src\EShopOnAbp.IdentityService.HttpApi.Host\IdentityServiceHttpApiHostModule.cs:line 107
[identity-service_f8e714c0-9]: at Volo.Abp.Modularity.OnPostApplicationInitializationModuleLifecycleContributor.InitializeAsync(ApplicationInitializationContext context, IAbpModule module)
[identity-service_f8e714c0-9]: at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context)
[identity-service_f8e714c0-9]: --- End of inner exception stack trace ---
[identity-service_f8e714c0-9]: at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitializationContext context)
[identity-service_f8e714c0-9]: at Volo.Abp.AbpApplicationBase.InitializeModulesAsync()
[identity-service_f8e714c0-9]: at Volo.Abp.AbpApplicationWithExternalServiceProvider.InitializeAsync(IServiceProvider serviceProvider)
[identity-service_f8e714c0-9]: at Microsoft.AspNetCore.Builder.AbpApplicationBuilderExtensions.InitializeApplicationAsync(IApplicationBuilder app)
[identity-service_f8e714c0-9]: at EShopOnAbp.IdentityService.Program.Main(String[] args) in C:\Users\kerim\source\repos\abp\eShopOnAbp\services\identity\src\EShopOnAbp.IdentityService.HttpApi.Host\Program.cs:line 22
keycloak-seeder log:
[keycloak-seeder_0abd99d1-d]: Unhandled exception. Flurl.Http.FlurlHttpException: Call failed. No connection could be made because the target machine actively refused it. (localhost:8080) POST http://localhost:8080/realms/master/protocol/openid-connect/token
[keycloak-seeder_0abd99d1-d]: ---> System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:8080)
[keycloak-seeder_0abd99d1-d]: ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
[keycloak-seeder_0abd99d1-d]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
[keycloak-seeder_0abd99d1-d]: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
[keycloak-seeder_0abd99d1-d]: at System.Net.Sockets.Socket.1.WaitWithCancellationAsync(CancellationToken cancellationToken) [keycloak-seeder_0abd99d1-d]: at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) [keycloak-seeder_0abd99d1-d]: at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) [keycloak-seeder_0abd99d1-d]: at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) [keycloak-seeder_0abd99d1-d]: at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) [keycloak-seeder_0abd99d1-d]: at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) [keycloak-seeder_0abd99d1-d]: at Flurl.Http.FlurlRequest.SendAsync(HttpMethod verb, HttpContent content, CancellationToken cancellationToken, HttpCompletionOption completionOption) [keycloak-seeder_0abd99d1-d]: --- End of inner exception stack trace --- [keycloak-seeder_0abd99d1-d]: at Flurl.Http.FlurlRequest.HandleExceptionAsync(HttpCall call, Exception ex, CancellationToken token) [keycloak-seeder_0abd99d1-d]: at Flurl.Http.FlurlRequest.SendAsync(HttpMethod verb, HttpContent content, CancellationToken cancellationToken, HttpCompletionOption completionOption) [keycloak-seeder_0abd99d1-d]: at Flurl.Http.FlurlRequest.SendAsync(HttpMethod verb, HttpContent content, CancellationToken cancellationToken, HttpCompletionOption completionOption) [keycloak-seeder_0abd99d1-d]: at Flurl.Http.HttpResponseMessageExtensions.ReceiveJson[T](Task
1 response)
[keycloak-seeder_0abd99d1-d]: at Flurl.Http.HttpResponseMessageExtensions.ReceiveJson(Task1 response) [keycloak-seeder_0abd99d1-d]: at Keycloak.Net.Common.Extensions.FlurlRequestExtensions.GetAccessTokenAsync(String url, String realm, String userName, String password, KeycloakOptions options) [keycloak-seeder_0abd99d1-d]: at Keycloak.Net.Common.Extensions.FlurlRequestExtensions.GetAccessToken(String url, String realm, String userName, String password, KeycloakOptions options) [keycloak-seeder_0abd99d1-d]: at Keycloak.Net.Common.Extensions.FlurlRequestExtensions.WithAuthentication(IFlurlRequest request, Func
1 getToken, String url, String realm, String userName, String password, String clientSecret, KeycloakOptions options)
[keycloak-seeder_0abd99d1-d]: at Keycloak.Net.KeycloakClient.GetBaseUrl(String authenticationRealm)
[keycloak-seeder_0abd99d1-d]: at Keycloak.Net.KeycloakClient.GetRealmAsync(String realm, CancellationToken cancellationToken)
[keycloak-seeder_0abd99d1-d]: at EShopOnAbp.DbMigrator.KeyCloakDataSeeder.UpdateRealmSettingsAsync() in C:\Users\kerim\source\repos\abp\eShopOnAbp\shared\EShopOnAbp.Keycloak.DbMigrator\KeycloakDataSeeder.cs:line 49
[keycloak-seeder_0abd99d1-d]: at EShopOnAbp.DbMigrator.KeyCloakDataSeeder.SeedAsync(DataSeedContext context) in C:\Users\kerim\source\repos\abp\eShopOnAbp\shared\EShopOnAbp.Keycloak.DbMigrator\KeycloakDataSeeder.cs:line 40
[keycloak-seeder_0abd99d1-d]: at Volo.Abp.Data.DataSeeder.SeedAsync(DataSeedContext context)
[keycloak-seeder_0abd99d1-d]: at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo)
[keycloak-seeder_0abd99d1-d]: at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapter.ProceedAsync()
[keycloak-seeder_0abd99d1-d]: at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
[keycloak-seeder_0abd99d1-d]: at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func
3 proceed)
[keycloak-seeder_0abd99d1-d]: at EShopOnAbp.DbMigrator.MigrationService.MigrateAsync(CancellationToken cancellationToken) in C:\Users\kerim\source\repos\abp\eShopOnAbp\shared\EShopOnAbp.Keycloak.DbMigrator\MigrationService.cs:line 25
[keycloak-seeder_0abd99d1-d]: at EShopOnAbp.DbMigrator.DbMigratorHostedService.StartAsync(CancellationToken cancellationToken) in C:\Users\kerim\source\repos\abp\eShopOnAbp\shared\EShopOnAbp.Keycloak.DbMigrator\DbMigratorHostedService.cs:line 35
[keycloak-seeder_0abd99d1-d]: at Microsoft.Extensions.Hosting.Internal.Host.1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List
1 exceptions, Func`3 operation)
[keycloak-seeder_0abd99d1-d]: at Microsoft.Extensions.Hosting.Internal.Host.
Public web:
An unhandled exception occurred while processing the request.
TaskCanceledException: A task was canceled.
Polly.Retry.AsyncRetryEngine.ImplementationAsync
TimeoutRejectedException: The operation didn't complete within the allowed timeout of '00:00:30'.
Polly.Outcome
AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (The operation didn't complete within the allowed timeout of '00:00:30'.) See the inner exception for details.
Volo.Abp.Http.Client.ClientProxying.ClientProxyBase
Public web log: [public-web_2a842530-5]: [20:56:33 INF] Sending HTTP request GET http://webpublicgateway/api/abp/application-configuration?IncludeLocalizationResources=False&api-version=1.0 [public-web_2a842530-5]: [20:56:35 ERR] Resilience event occurred. EventName: 'OnTimeout', Source: '-standard//Standard-AttemptTimeout', Operation Key: 'null', Result: 'null' [public-web_2a842530-5]: [20:56:35 WRN] Execution attempt. Source: '-standard//Standard-Retry', Operation Key: 'null', Result: 'The operation didn't complete within the allowed timeout of '00:00:10'.', Handled: 'True', Attempt: '0', Execution Time: '10020.6206' [public-web_2a842530-5]: Polly.Timeout.TimeoutRejectedException: The operation didn't complete within the allowed timeout of '00:00:10'. [public-web_2a842530-5]: ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
[20:34:00 INF] keycloak-seeder_b7eb207a-f process exited with exit code -532462766 [20:34:00 ERR] watch: keycloak-seeder_b7eb207a-f process exited with exit code -532462766 [20:34:00 WRN] Waiting for a file to change before restarting dotnet... [20:34:35 INF] Event pipe collection completed for identity-service_2de8e2f4-d on process id 31336 [20:34:35 INF] identity-service_2de8e2f4-d process exited with exit code 1 [20:34:35 ERR] watch: identity-service_2de8e2f4-d process exited with exit code 1 [20:34:35 WRN] Waiting for a file to change before restarting dotnet... [20:35:42 INF] Event pipe collection completed for catalog-service_d771e075-0 on process id 56776 [20:35:42 INF] catalog-service_d771e075-0 process exited with exit code 1 [20:35:42 ERR] watch: catalog-service_d771e075-0 process exited with exit code 1