2016-11-15 9 views
0

Мы разработали пару сервисов WCF для нашего приложения. Из нашего веб-приложения мы можем достичь этих конечных точек через отдельный сервер. Когда мы пытаемся достичь их через балансировки нагрузки мы получаем следующее сообщение об ошибке:Недостаток обслуживания сбалансированной нагрузки WCF - размещен как служба Windows и прослушивается через 443 через TCP

There was no endpoint listening at net.tcp://<IP>:443/<Service API> that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. 

Server stack trace: 
    at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder, IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper) 
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper) 
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper) 
    at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) 
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) 
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) 
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) 
    at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) 
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) 

Дополнительная информация:

  • WCF служба, размещенная в окна службы
  • WCF службы листинг на порту 443
  • TCP является протоколом связи между сетью и услугой

Сообщите мне, если Я могу предоставить любую дополнительную информацию.

Любая помощь будет очень оценена.

ответ

0

У меня была такая же проблема. мне удалось решить, добавив в свой файл конфигурации на стороне сервера:

<system.net> 
<connectionManagement> 
    <add address="*" maxconnection="500" /> 
</connectionManagement> 

значение по умолчанию 2. Для получения дополнительной информации вы можете прочитать: scale up WCF service