Статус: Новичок
Группы: Участники
Зарегистрирован: 18.02.2020(UTC) Сообщений: 5
Сказал(а) «Спасибо»: 1 раз
|
Сегодня восстановил БД на резервном сервере, hostname ruc-dss-2, с помощью командлетов поменял адреса, при попытке зайти на ruc-dss-2/frontend/ получаю следующую ошибку
Имя журнала: CryptoPro-DSS-Frontend/Admin Источник: CryptoPro-DSS-Frontend Дата: 19.05.2020 10:14:42 Код события: 10001 Категория задачи:FrontendWebAppError Уровень: Ошибка Ключевые слова:Session0,Session1,Session2,Session3 Пользователь: IIS APPPOOL\CryptoProDSS-1-Frontend Компьютер: ruc-dss-2 Описание: Идентификатор экземпляра: 1/Frontend. Ошибка в Веб-приложении: Error occured while configuring Frontend application /Frontend on site 1. System.InvalidOperationException: Метаданные содержат неразрешимую ссылку: "https://ruc-dss-2/sts/Active.svc/mex". в System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper) в System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState) в System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever) в CryptoPro.DSS.Common.MetadataLoader.ServiceMetadataLoader.LoadMetadata(String mexAddress, ServiceEndpointCollection& endpoints, Collection`1& bindings) в CryptoPro.DSS.Common.MetadataLoader.ServiceMetadataLoader.CreateConfig() в CryptoPro.DSS.Web.Frontend.FrontendWebApplication.LoadMetadata(String address, String endpointName) в CryptoPro.DSS.Web.Frontend.FrontendWebApplication.InitializeStsChannelFactory() в CryptoPro.DSS.Web.Frontend.FrontendWebApplication.InitializeBackendChannels() в CryptoPro.DSS.Web.Frontend.FrontendWebApplication.OnCustomApplicationStart() в CryptoPro.DSS.Common.Web.Applications.DssWebApplication.Application_Start(Object sender, EventArgs e)
--->System.ServiceModel.ProtocolException: Тип содержимого text/html; charset=utf-8 ответного сообщения не соответствует типу содержимого привязки (application/soap+xml; charset=utf-8). При использовании особого кодировщика необходимо правильно реализовать метод IsContentTypeSupported. Первые 1024 байтов ответного сообщения: "<!DOCTYPE html> <html> <head> <title>Требуется настройка SessionIdGenerator. Необходимо зарегистрировать хост RUC-DSS-2</title> <meta name="viewport" content="width=device-width" /> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weig".
Server stack trace: в System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding) в System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) в System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) в System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) в System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) в System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) в System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]: в System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) в System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) в System.ServiceModel.Description.IMetadataExchange.Get(Message request) в System.ServiceModel.Description.MetadataExchangeClient.MetadataReferenceRetriever.DownloadMetadata(TimeoutHelper timeoutHelper) в System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper) --- End of inner exception stack trace ---
--->System.Net.WebException: Удаленный сервер возвратил ошибку: (500) Внутренняя ошибка сервера. в System.Net.HttpWebRequest.GetResponse() в System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace ---
Xml события: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="CryptoPro-DSS-Frontend" Guid="{EB2DEA34-A2C5-58DD-DE30-8AE9C20BE505}" /> <EventID>10001</EventID> <Version>0</Version> <Level>2</Level> <Task>55533</Task> <Opcode>0</Opcode> <Keywords>0x8000f00000000000</Keywords> <TimeCreated SystemTime="2020-05-19T06:14:42.104230700Z" /> <EventRecordID>165</EventRecordID> <Correlation /> <Execution ProcessID="260" ThreadID="6576" /> <Channel>CryptoPro-DSS-Frontend/Admin</Channel> <Computer>ruc-dss-2</Computer> <Security UserID="S-1-5-82-3544280804-227311130-3264942562-3065754446-2272740619" /> </System> <EventData> <Data Name="instanceId">1/Frontend</Data> <Data Name="message">Error occured while configuring Frontend application /Frontend on site 1.</Data> <Data Name="exception">System.InvalidOperationException: Метаданные содержат неразрешимую ссылку: "https://ruc-dss-2/sts/Active.svc/mex". в System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper) в System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState) в System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever) в CryptoPro.DSS.Common.MetadataLoader.ServiceMetadataLoader.LoadMetadata(String mexAddress, ServiceEndpointCollection& endpoints, Collection`1& bindings) в CryptoPro.DSS.Common.MetadataLoader.ServiceMetadataLoader.CreateConfig() в CryptoPro.DSS.Web.Frontend.FrontendWebApplication.LoadMetadata(String address, String endpointName) в CryptoPro.DSS.Web.Frontend.FrontendWebApplication.InitializeStsChannelFactory() в CryptoPro.DSS.Web.Frontend.FrontendWebApplication.InitializeBackendChannels() в CryptoPro.DSS.Web.Frontend.FrontendWebApplication.OnCustomApplicationStart() в CryptoPro.DSS.Common.Web.Applications.DssWebApplication.Application_Start(Object sender, EventArgs e)
--->System.ServiceModel.ProtocolException: Тип содержимого text/html; charset=utf-8 ответного сообщения не соответствует типу содержимого привязки (application/soap+xml; charset=utf-8). При использовании особого кодировщика необходимо правильно реализовать метод IsContentTypeSupported. Первые 1024 байтов ответного сообщения: "<!DOCTYPE html> <html> <head> <title>Требуется настройка SessionIdGenerator. Необходимо зарегистрировать хост RUC-DSS-2</title> <meta name="viewport" content="width=device-width" /> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weig".
Server stack trace: в System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding) в System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) в System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) в System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) в System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) в System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) в System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]: в System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) в System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) в System.ServiceModel.Description.IMetadataExchange.Get(Message request) в System.ServiceModel.Description.MetadataExchangeClient.MetadataReferenceRetriever.DownloadMetadata(TimeoutHelper timeoutHelper) в System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper) --- End of inner exception stack trace ---
--->System.Net.WebException: Удаленный сервер возвратил ошибку: (500) Внутренняя ошибка сервера. в System.Net.HttpWebRequest.GetResponse() в System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace ---
</Data> </EventData> </Event>
P.S. при смене адресов один из параметров не удалось поменять (PrivateCabUrl в DssIdentityProvider), также после восстановления баз не могу получить вывод Get-DssLicense (ошибка менеджера лицензий)
|