000034521 - RSA Archer Configuration service's log file is large and repeats error: Service 'ArcherTech.Configuration.RestService' has zero application endpoints

Document created by RSA Customer Support Employee on Dec 23, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000034521
Applies ToRSA Product Set: Archer
RSA Version/Condition: 6.1
IssueThe Archer Configuration service's log file is large and repeats error: 
Service 'ArcherTech.Configuration.RestService' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application, or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.

The following error is logged into the Archer.ArcherTech.Services.ConfigurationService log file:

<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
    <ApplicationData>
        <TraceData>
            <DataItem>
                <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
                    <TraceIdentifier>Archer.NET</TraceIdentifier>
                    <Description>Service 'ArcherTech.Configuration.RestService' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application,
or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.</Description>

                    <AppDomain>ArcherTech.Services.ConfigurationService.exe</AppDomain>
                    <Exception>
                        <ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                        <Message>Service 'ArcherTech.Configuration.RestService' has zero application (non-infrastructure) endpoints. This might be because no configuration file was found for your application,
or because no service element matching the service name could be found in the configuration file, or because no endpoints were defined in the service element.</Message>

                        <Source>System.ServiceModel</Source>
                        <StackTrace>
   at System.ServiceModel.Description.DispatcherBuilder.EnsureThereAreApplicationEndpoints(ServiceDescription description)
   at System.ServiceModel.Description.DispatcherBuilder.InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost)
   at System.ServiceModel.ServiceHostBase.InitializeRuntime()
   at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at ArcherTech.Services.ConfigurationService.ConfigurationService.StartService()
  </StackTrace>
                    </Exception>
                </TraceRecord>
            </DataItem>
        </TraceData>
    </ApplicationData>
</E2ETraceEvent>


 

After the above error is logged, the following error will be logged every 5 seconds as a result of the above error:


<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
    <ApplicationData>
        <TraceData>
            <DataItem>
                <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
                    <TraceIdentifier>Archer.NET</TraceIdentifier>
                    <Description>The communication object, System.ServiceModel.Web.WebServiceHost, cannot be used for communication because it is in the Faulted state.</Description>
                    <AppDomain>ArcherTech.Services.ConfigurationService.exe</AppDomain>
                    <Exception>
                        <ExceptionType>System.ServiceModel.CommunicationObjectFaultedException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                        <Message>The communication object, System.ServiceModel.Web.WebServiceHost, cannot be used for communication because it is in the Faulted state.</Message>
                        <Source>System.ServiceModel</Source>
                        <StackTrace>   at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrImmutable()
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at ArcherTech.Services.ConfigurationService.ConfigurationService.StartService()</StackTrace>
                    </Exception>
                </TraceRecord>
            </DataItem>
        </TraceData>
    </ApplicationData>
</E2ETraceEvent>


 
 

Additionally, the following errors may be found in the Windows Event Viewer Application logs:

A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection.
The TLS protocol defined fatal error code is 42. The Windows SChannel error state is 250.


A fatal alert was generated and sent to the remote endpoint. This may result in termination of the connection.
The TLS protocol defined fatal error code is 40. The Windows SChannel error state is 1205.


An TLS 1.2 connection request was received from a remote client application, but none of the cipher suites
supported by the client application are supported by the server. The SSL connection request has failed.

CauseThis is caused by a missing section in the Configuration Service's configuration file that becomes required when TLS 1.2 is used for communication between Archer services. 
ResolutionThis issue is a known defect (ARCHER-31290) that will be fixed in a future version of the Archer installer.
WorkaroundPerform the following steps for each Archer server:
  1. Add the red highlighted lines to the Configuration Service configuration file.  By default, it is installed as C:\Program Files\RSA Archer\Services\ArcherTech.Services.ConfigurationService.exe.config.
     
<customBinding>
        <binding name="ArcherCustomBinding">
          <security authenticationMode="SecureConversation" requireSecurityContextCancellation="true">
            <secureConversationBootstrap authenticationMode="AnonymousForCertificate" />
          </security>
          <textMessageEncoding>
            <readerQuotas maxStringContentLength="1024000000" />
          </textMessageEncoding>
          <httpTransport hostNameComparisonMode="StrongWildcard" maxReceivedMessageSize="2147483647" />
        </binding>
      </customBinding>
 <webHttpBinding>
        <binding name="webHttpTransportSecurity">
          <security mode="Transport">
            <transport clientCredentialType="Certificate" proxyCredentialType="None"/>
          </security>
        </binding>
 </webHttpBinding>
  
   
    </bindings>
    <services>
      <service name="ArcherTech.Configuration.PropertyService" behaviorConfiguration="ConfigServiceServiceBehavior">
        <endpoint address="http://localhost:13201/ConfigService" binding="customBinding" bindingConfiguration="ArcherCustomBinding" name="PropertyService" contract="ArcherTech.Configuration.IConfigurationServiceAPI" />
      </service>
<service name="ArcherTech.Configuration.RestService" behaviorConfiguration="ConfigServiceServiceBehavior">
    <endpoint address=""
              binding="webHttpBinding"
              contract="ArcherTech.Configuration.IRestService"
              bindingConfiguration="webHttpTransportSecurity" />
    <host>
      <baseAddresses>
        <add baseAddress="https://localhost:13200/ConfigService/rest" />
      </baseAddresses>
    </host>
    </service>      
    </services>


 
  1. Restart the RSA Archer Configuration Service.

Attachments

    Outcomes