Labdien! Bieži saskaramies ar problēmu, ka startējot HoP (mūsu gadījumā - Tuna versija 2021.07.12) ir paziņojums - "Automātiskā autentificēšanās nav iespējama! Mēģiniet autentificēties, ievadot lietotājvārdu un paroli." Šī problēma notiek pati par sevi - no rītiem. Nekādas izmaiņas uz serveriem veiktas līdz tam netiek, tas notiek randomā. Logs_auth.txt LOG failā rakstīts: "{ "date": "2022-08-25 09:38:44.265", "ip": "", "threadid": "4", "level": "Warn", "user": "", "sessionid": "", "request": "", "microservice": "", "message": "Failed to refresh audience cache. Will retry within next 10 seconds. Error message: No connection could be made because the target machine actively refused it. (localhost:9003)", "exception": "H2OMicroService.Audiences.Exceptions.AudienceCacheRefreshException: No connection could be made because the target machine actively refused it. (localhost:9003)\r\n ---> System.Net.WebException: No connection could be made because the target machine actively refused it. (localhost:9003)\r\n ---> System.Net.WebException: No connection could be made because the target machine actively refused it. (localhost:9003)\r\n ---> System.Net.WebException: No connection could be made because the target machine actively refused it. (localhost:9003)\r\n ---> System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:9003)\r\n ---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.\r\n at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)\r\n at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)\r\n at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|283_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)\r\n at System.Net.Http.HttpConnectionPool.DefaultConnectAsync(SocketsHttpConnectionContext context, CancellationToken cancellationToken)\r\n at System.Net.Http.ConnectHelper.ConnectAsync(Func`3 callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, CancellationToken cancellationToken)\r\n --- End of inner exception stack trace ---\r\n at System.Net.Http.ConnectHelper.ConnectAsync(Func`3 callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, CancellationToken cancellationToken)\r\n at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)\r\n at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)\r\n at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)\r\n at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)\r\n at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)\r\n at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)\r\n at System.Net.HttpWebRequest.SendRequest(Boolean async)\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\r\n --- End of inner exception stack trace ---\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\r\n at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)\r\n at System.Net.WebClient.GetWebResponseTaskAsync(WebRequest request)\r\n at System.Net.WebClient.DownloadBitsAsync(WebRequest request, Stream writeStream, AsyncOperation asyncOp, Action`3 completionDelegate)\r\n at H2OMicroService.Components.WebClient.WrappedWebClient.DownloadStringTaskAsync(String address)\r\n at H2OMicroService.Components.WebClient.H2OWebClient.DownloadStringTaskAsync(String address)\r\n --- End of inner exception stack trace ---\r\n at H2OMicroService.Components.WebClient.H2OWebClient.DownloadStringTaskAsync(String address)\r\n at H2OMicroService.Components.WebClient.H2OWebClientFactory.GetSecureAsync[T](String baseUrl, String url, H2OConnectionProperties connectionProperties)\r\n --- End of inner exception stack trace ---\r\n at H2OMicroService.Components.WebClient.H2OWebClientFactory.GetSecureAsync[T](String baseUrl, String url, H2OConnectionProperties connectionProperties)\r\n at H2OMicroService.MicroserviceLocations.Services.H2OMicroserviceLocationService.GetSecureAsync[T](String microserviceName, String url, H2OConnectionProperties connectionProperties)\r\n at H2OMicroService.Audiences.Repositories.H2OAudienceRepository.GetClientIds()\r\n at H2OMicroService.Audiences.Services.H2OAudienceService.GetClientIds()\r\n at H2OMicroService.Audiences.H2OAudienceCache.Refresh(Boolean force)\r\n --- End of inner exception stack trace ---\r\n at H2OMicroService.Audiences.H2OAudienceCache.Refresh(Boolean force)\r\n at H2OMicroService.Audiences.Services.H2OAudienceCacheRefreshBackgroundService.ExecuteAsync(CancellationToken stoppingToken) at H2OMicroService.Audiences.H2OAudienceCache.Refresh(Boolean force)\r\n at H2OMicroService.Audiences.Services.H2OAudienceCacheRefreshBackgroundService.ExecuteAsync(CancellationToken stoppingToken)\r\n", "stacktrace": "WebClient.OnDownloadStringCompleted => <>c__DisplayClass191_0.<DownloadStringTaskAsync>b__0 => WebClient.HandleCompletion" }" Problēma ir tajā, ka servera HoP restarts - nepalīdz. Ir jāstopē visi H2O* servisi un tad jāstartē. Tas rada problēmas biznesam un lieku stresu IT. Lūdzu rast risinājumu.
... Näytä lisää