Submit a ticketCall us

AnnouncementsFace your biggest database issues head-on

Our new eCourse helps you navigate SQL Server performance blocks by teaching you how to recognize and deal with the three DBA Disruptors: Performance Hog, Blame Shifter, and Query Blocker. Register today to learn how to defend your environment and fend off menacing disruptions.

Register for your free eCourse.

Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > DPA integration causing information Service v3 to crash 'unauthorized with client authentication scheme 'Basic''

DPA integration causing information Service v3 to crash 'unauthorized with client authentication scheme 'Basic''

Created by Adrian Cook, last modified by Kevin.Swinson on Nov 06, 2017

Views: 1,432 Votes: 3 Revisions: 6

Updated June 12th, 2016

Overview

This article describes the issue when you are unable to get to the SolarWinds website with a SOAP error and you receive the following prompt from the Businesslayerhost:

2016-01-11 17:03:33,666 [7] WARN  SolarWinds.Orion.Core.Common.ServiceHelper - Waiting for SWIS v3.0 start. Attempt 40, exception message: "There was no endpoint listening at net.tcp://nan-no-vpor01:17777/SolarWinds/InformationService/v3/Orion/certificate that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details."

Looking at information service v3 log it has the following,

2016-01-11 16:38:25,452 [6] ERROR SolarWinds.InformationService.Core.InformationServiceService - (null)     Information Service failed to open a channel.
System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Basic'. The authentication header received from the server was 'Basic realm="Spring Security Application"'. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.GetResponse()
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   --- End of inner exception stack trace ---

Server stack trace:
   at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
   at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
   at System.ServiceModel.Channels.HttpChannelFactory`1.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& msgData, Int32 type)
   at SolarWinds.InformationService.Contract2.IInformationService.Query(QueryXmlRequest query)
   at SolarWinds.InformationService.Contract2.InfoServiceProxy.Query(QueryXmlRequest query)
   at SolarWinds.Data.Providers.DPA.V3.Federation.FederationServiceProxy.ExecuteActionWithImpersonation[T](Func`2 function)
   at SolarWinds.InformationService.Contract2.InformationServiceQuery.Execute(Boolean hierarchical)
   at SolarWinds.InformationService.Contract2.InformationServiceQuery`1.<GetEnumerator>d__0.MoveNext()
   at SolarWinds.InformationService.Federation.RemoteSwisFacade.GetNativeEntityTypes(RemoteInformationService remoteSwis)
   at SolarWinds.InformationService.Federation.RemoteSwisManager.GetRemoteEntities(RemoteInformationService remoteSwis)
   at SolarWinds.InformationService.Federation.RemoteSwisManager.AddRemoteSwis(RemoteInformationService remoteSwis, Boolean initialAdd, Boolean createSchemasOnly)
   at SolarWinds.InformationService.Federation.RemoteSwisManager.LoadCurrentConfiguration()
   at SolarWinds.InformationService.Federation.FederationService.Start()
   at SolarWinds.InformationService.Core.EndpointInfo.StartDynamicServices()
   at SolarWinds.InformationService.Core.InformationServiceService.Start(InformationServiceSettings settings, String baseAddress, String baseAddressHttps)

 

The Key part of the error is that it references DPA, "SolarWinds.Data.Providers.DPA.V3.Federation.FederationServiceProxy.ExecuteActionWithImpersonation"

Environment

NPM version11.5 with DPA integration

Cause 

This is a known issue that's currently being investigated by our Dev team. 

Resolution

  1. Remove the DPA integration.
  2. Stop all Orion services.
  3. If you are unable to access the website, run the queries below: 

DELETE FROM [WebSettings] WHERE SettingName IN ('DPA.DpaServiceUserAccountId', 'DPA.ServerUrl', 'DPA.OrionHostname')
DELETE FROM FED_Subscription WHERE ServerId IN (SELECT ServerId FROM FED_RemoteInformationServices WHERE Tag = 'DPAO')
DELETE FROM FED_RemoteInformationServices WHERE Tag = 'DPAO'

  1. Run the Above Query on the Orion DB.
  2. Start all Orion services.

 

Last modified

Tags

Classifications

Public