000012289 - The HTTP request is unauthorized with client authentication scheme 'Anonymous'.

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

Article Content

Article Number000012289
Issue

When attempting to run an Archer to Archer Data Feed, it fails with the following error in the JobFramework logs:

<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
    <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
        <EventID>3</EventID>
        <Type>3</Type>
        <SubType Name="Error">0</SubType>
        <Level>2</Level>
        <TimeCreated SystemTime="2013-08-14T06:40:21.2645963Z" />
        <Source Name="ArcherTech.DataFeed" />
        <Correlation ActivityID="{8dcee137-959c-4797-8aa1-50ef210a6022}" />
        <Execution ProcessName="ArcherTech.JobFramework.Job" ProcessID="10064" ThreadID="1" />
        <Channel />
        <Computer>XXXXXXXX</Computer>
    </System>
    <ApplicationData>
        <TraceData>
            <DataItem>
                <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
                    <TraceIdentifier>ArcherTech.DataFeed</TraceIdentifier>
                    <Description>Could not log in to the web service.  This could be due to the uri 'https://xxxxxxxx/Archer/ws/search.asmx' being invalid or invalid credentials.</Description>
                    <AppDomain>ArcherTech.JobFramework.Job.exe</AppDomain>
                    <ContextData>
                        <LogReferenceId>081413-064021-2333</LogReferenceId>
                        <DataFeedId>315</DataFeedId>
                        <DataFeedName>ATA Datafeed</DataFeedName>
                        <DataFeedHistoryId>631833</DataFeedHistoryId>
                    </ContextData>
                    <Exception>
                        <ExceptionType>System.ServiceModel.Security.MessageSecurityException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                        <Message>The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'.</Message>
                        <Source>mscorlib</Source>
                        <StackTrace>
Server stack trace: 
   at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory factory)
   at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, 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)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
   at ArcherTech.DataFeed.ArcherAPIWebServiceGen.generalSoap.CreateUserSessionFromInstance(CreateUserSessionFromInstanceRequest request)
   at ArcherTech.DataFeed.ArcherAPIWebServiceGen.generalSoapClient.CreateUserSessionFromInstance(String userName, String instanceName, String password)
   at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.GetSessionToken(String url)</StackTrace>
                        <InnerException>
                            <ExceptionType>System.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                            <Message>The remote server returned an error: (401) Unauthorized.</Message>
                            <Source>System</Source>
                            <StackTrace>   at System.Net.HttpWebRequest.GetResponse()
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)</StackTrace>
                        </InnerException>

ResolutionEnable Anonymous Authentication on the application's ?ws? folder by going to IIS Manager> Web Site> Virtual Directory> ws folder, click on Authentication and enable Anonymous Authentication.
Legacy Article IDa63864

Attachments

    Outcomes