हमारे पास एक डब्ल्यूसीएफ सेवा है जो 100 से अधिक ग्राहक साइटें कॉल करती हैं। आज हम हो रहीडब्ल्यूसीएफ उत्पादन में त्रुटि "बहुत सक्रिय सुरक्षा वार्ता" त्रुटि
Exception: Server 'http://[url]/services/[service].svc/ws' sent back a
fault indicating it is too busy to process the request. Please retry later. Please see the
inner exception for fault details.
System.ServiceModel.FaultException: There are too many active security negotiations or
secure conversations at the service. Please retry later.
केवल जानकारी मैं मिल सकता है कि मैं maxPendingSessions
बड़ा बनाने की जरूरत है शुरू कर दिया। लेकिन इसके लिए एंडपॉइंट को कस्टम बाइंडिंग में बदलने की आवश्यकता होगी, जो मुश्किल होगा क्योंकि मुझे इसे अपनी सभी क्लाइंट साइटों पर धक्का देना होगा।
क्या कोई तरीका है कि मैं केवल सुरक्षा वार्ता की संख्या को "रीसेट" कर सकता हूं? यह हमें कस्टम बाध्यकारी का उपयोग करने के लिए क्लाइंट प्रोग्राम को बदलने का समय देगा, क्योंकि फिलहाल, हमारी साइटें हमारे सर्वर से बात नहीं कर सकती हैं।
मैंने कॉन्फ़िगरेशन फ़ाइल और सहेजने में एक छोटा सा परिवर्तन करने का प्रयास किया है, जिसे सेवा को पुनरारंभ करना चाहिए था, लेकिन हमें अभी भी त्रुटियां मिल रही हैं।
या क्या मैं इसे संभालने का कोई और तरीका है?
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data"/>
</configSections>
<connectionStrings>
</connectionStrings>
<system.web>
<compilation debug="true" targetFramework="4.0"/>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
<system.diagnostics>
<sources>
<source name="System.ServiceModel" switchValue="Error" propagateActivity="true">
<listeners>
<add name="xml" />
</listeners>
</source>
</sources>
<sharedListeners>
<add name="xml" type="System.Diagnostics.XmlWriterTraceListener" initializeData="D:\logs\log.txt" />
</sharedListeners>
</system.diagnostics>
<system.serviceModel>
<diagnostics performanceCounters="All" />
<services>
<service name="WCFServiceLibrary.WCFService">
<endpoint address="ws" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IWCFService"
name="WSHttpEndpoint_IWCFService" contract="WCFServiceLibrary.IWCFService" />
<endpoint address="basic" binding="basicHttpBinding"
name="BasicHttpEndpoint_IWCFService" contract="WCFServiceLibrary.IWCFService" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
</services>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IWCFService"
maxBufferPoolSize="524288" maxReceivedMessageSize="1048576">
<readerQuotas maxDepth="32" maxStringContentLength="65536" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="Message">
<message clientCredentialType="Certificate" negotiateServiceCredential="true"
algorithmSuite="Default" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceCredentials>
<serviceCertificate findValue="CN=[url]" storeLocation="LocalMachine" storeName="TrustedPeople" />
<clientCertificate>
<authentication revocationMode="NoCheck" certificateValidationMode="PeerTrust" />
</clientCertificate>
</serviceCredentials>
<serviceThrottling maxConcurrentCalls ="1001" maxConcurrentSessions="1001" maxConcurrentInstances="1000" />
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
</system.serviceModel>
</configuration>
संपादित
हम एक iisreset
की कोशिश की और यहां तक कि सर्वर को पुनः आरंभ और यह अब भी वही त्रुटि फेंक रहा है:
संपादित यहाँ मेरी config है।
लगता है जैसे आपके पास किसी प्रकार की सत्र बाधा के साथ सिंगलटन सेवा है। यदि आप अपने प्रश्न में सेवा अनुबंध सेटअप और कॉन्फ़िगरेशन पर जानकारी डालते हैं तो इससे मदद मिलेगी। –
@ सिक्सटो हां यह है। यह आईआईएस में होस्ट किया गया है। मैंने अपनी कॉन्फ़िगरेशन जोड़ दी है। – Marcus
ऐप पूल रीसाइक्लिंग आपके रीसेट प्रश्न का उत्तर देगा, लेकिन आपकी समस्या का समाधान नहीं करेगा। आप अपने ऐप की तुलना में अन्य कारकों के कारण समस्या का कारण बन सकते हैं, क्योंकि आप प्रमाणपत्र का उपयोग कर रहे हैं। आपका सीए सेटअप कैसा है? –