Windows Azure Malicious Cache - WARNING: <SimpleSendReceiveModule> DeadServerCallback Called

I have an Azure cloud service application consisting of a working role (for only one instance) and a web role (multiple instances). The web role is also located in the location of the cluster cluster cluster Microsoft.WindowsAzure.Caching (version 2.2). I have Azure diagnostics, and in my WadLogsTable I see this pair of warnings every few minutes during production:

WARNING: DeadServerCallback is called, server URI: [net.tcp: //100.74.158.31: 20005], Exception thrown -; TraceSource event 'w3wp.exe'

WARNING: DeadServerCallback: matches my server, clearing pending requests; TraceSource event 'w3wp.exe'

Net.tcp: //100.74.158.31: 20005 corresponds to one of the web roles. Alerts periodically alternate between web roles (that is, they sometimes say net.tcp: //100.74.158.51: 20005).

Please note that there is nothing after the "Exception Exception". There are no related exceptions in WadWindowsEventLogsTable either (I know that Azure exception logging works because I sometimes see other exceptions in this table). I believe that I also included all the caching diagnostics that could.

So my problem is that I see all these warnings, but I don’t know why, and I don’t know how to fix the situation. These warnings do not seem to cause the application to crash, but they are still worried. Any help would be appreciated.

Here is my ServiceConfiguration.cscfg:

<?xml version="1.0"?>
    <ServiceConfiguration serviceName="CloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="3" osVersion="*" schemaVersion="2013-10.2.2">
      <Role name="WebRole">
        <Instances count="2" />
        <ConfigurationSettings>
          <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=XXXXX;AccountKey=XXXXX" />
          <Setting name="Microsoft.WindowsAzure.Plugins.Caching.NamedCaches" value="{&quot;caches&quot;:[{&quot;name&quot;:&quot;default&quot;,&quot;policy&quot;:{&quot;eviction&quot;:{&quot;type&quot;:0},&quot;expiration&quot;:{&quot;defaultTTL&quot;:10,&quot;isExpirable&quot;:true,&quot;type&quot;:2},&quot;serverNotification&quot;:{&quot;isEnabled&quot;:false}},&quot;secondaries&quot;:0}]}" />
          <Setting name="Microsoft.WindowsAzure.Plugins.Caching.DiagnosticLevel" value="3" />
          <Setting name="Microsoft.WindowsAzure.Plugins.Caching.CacheSizePercentage" value="30" />
          <Setting name="Microsoft.WindowsAzure.Plugins.Caching.ConfigStoreConnectionString" value="DefaultEndpointsProtocol=https;AccountName=XXXXX;AccountKey=XXXXX" />
          <Setting name="Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel" value="3" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="Me" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="XXXXX" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value="2014-08-05T23:59:59.0000000-07:00" />
        </ConfigurationSettings>
        <Certificates>
          <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint="XXXXX" thumbprintAlgorithm="sha1" />
          <Certificate name="www.myapp.com" thumbprint="XXXXX" thumbprintAlgorithm="sha1" />
        </Certificates>
      </Role>
      <Role name="WorkerRole">
        <Instances count="1" />
        <ConfigurationSettings>
          <Setting name="Microsoft.WindowsAzure.Plugins.Caching.ClientDiagnosticLevel" value="3" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.Enabled" value="true" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountUsername" value="Me" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountEncryptedPassword" value="XXXXX" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteAccess.AccountExpiration" value="2014-08-05T23:59:59.0000000-07:00" />
          <Setting name="Microsoft.WindowsAzure.Plugins.RemoteForwarder.Enabled" value="true" />
          <!-- For Windows Azure ServiceManagement. -->
          <Setting name="SubscriptionId" value="XXXXX" />
          <Setting name="ServiceManagementCertificateThumbprint" value="value="XXXXX" " />
          <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=XXXXX;AccountKey=XXXXX" />
        </ConfigurationSettings>
        <Certificates>
          <Certificate name="Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption" thumbprint="XXXXX" thumbprintAlgorithm="sha1" />
          <!-- For Windows Azure ServiceManagement. -->
          <Certificate name="ServiceManagementCertificate" thumbprint="thumbprint="XXXXX" " thumbprintAlgorithm="sha1" />
        </Certificates>
      </Role>
    </ServiceConfiguration>

Here are some of the parts of Web.config of my role on the Internet:

<dataCacheClients>
    <dataCacheClient name="default" connectionPool="true" useLegacyProtocol="false" isCompressionEnabled="false" maxConnectionsToServer="2">
      <autoDiscover isEnabled="true" identifier="WebRole" />
    </dataCacheClient>
  </dataCacheClients>

<cacheDiagnostics>
    <crashDump dumpLevel="Full" dumpStorageQuotaInMB="100" scheduledTransferPeriodInMinutes="5" />
  </cacheDiagnostics>

App.config :

<dataCacheClients>
    <dataCacheClient name="default" connectionPool="true" useLegacyProtocol="false" isCompressionEnabled="false" maxConnectionsToServer="2">
      <autoDiscover isEnabled="true" identifier="WebRole" />
    </dataCacheClient>
  </dataCacheClients>
  <cacheDiagnostics>
    <crashDump dumpLevel="Full" dumpStorageQuotaInMB="100" scheduledTransferPeriodInMinutes="5" />
  </cacheDiagnostics>

:

  • , , <dataCacheClient> - Web.config App.config.
  • Windows Azure Tools 2.2.
  • Google , , , , , . , , .
+4
1

- , . deadserver . :

- , ? , ? ?

0

Source: https://habr.com/ru/post/1526362/


All Articles