<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The caller was not authenticated by the service. - while connecting to BP server in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46615#M2556</link>
    <description>Hi Team,

Getting error as "The caller was not authenticated by the service." when tried to connect to BP server. Connection details are good, BP client is on another domain but the network connection is already working.

Can anyone suggest&amp;nbsp;&amp;amp; help on below error message?

System.ServiceModel.Security.SecurityNegotiationException: The caller was not authenticated by the service. ---&amp;gt; System.ServiceModel.FaultException: The request for security token could not be satisfied because authentication failed.
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message, EndpointAddress target)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState)
&amp;nbsp; &amp;nbsp;--- End of inner exception stack trace ---

Server stack trace:&amp;nbsp;
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.SyncWaiter.TryGetChannel()
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.SyncWaiter.TryWait(TChannel&amp;amp; channel)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.TryGetChannel(Boolean canGetChannel, Boolean canCauseFault, TimeSpan timeout, MaskingMode maskingMode, TChannel&amp;amp; channel)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ClientReliableChannelBinder`1.Request(Message message, TimeSpan timeout, MaskingMode maskingMode)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.RequestReliableRequestor.OnRequest(Message request, TimeSpan timeout, Boolean last)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ReliableRequestor.Request(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ClientReliableSession.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ReliableRequestSessionChannel.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open()

Exception rethrown at [0]:&amp;nbsp;
&amp;nbsp; &amp;nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
&amp;nbsp; &amp;nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.ICommunicationObject.Open()
&amp;nbsp; &amp;nbsp;at BluePrism.AutomateAppCore.ServerManagerWCF.OpenConnection(clsDBConnectionSetting connectionSetting, Dictionary`2 keys, User&amp;amp; systemUser)
&amp;nbsp; &amp;nbsp;at BluePrism.AutomateAppCore.ServerFactory.Validate(clsDBConnectionSetting connectionSetting)
&amp;nbsp; &amp;nbsp;at BluePrism.Config.ConnectionDetail.HandleTestClick(Object sender, EventArgs e)

&amp;nbsp;</description>
    <pubDate>Tue, 02 Apr 2019 13:12:00 GMT</pubDate>
    <dc:creator>SandeepKutwal</dc:creator>
    <dc:date>2019-04-02T13:12:00Z</dc:date>
    <item>
      <title>The caller was not authenticated by the service. - while connecting to BP server</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46615#M2556</link>
      <description>Hi Team,

Getting error as "The caller was not authenticated by the service." when tried to connect to BP server. Connection details are good, BP client is on another domain but the network connection is already working.

Can anyone suggest&amp;nbsp;&amp;amp; help on below error message?

System.ServiceModel.Security.SecurityNegotiationException: The caller was not authenticated by the service. ---&amp;gt; System.ServiceModel.FaultException: The request for security token could not be satisfied because authentication failed.
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message, EndpointAddress target)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState)
&amp;nbsp; &amp;nbsp;--- End of inner exception stack trace ---

Server stack trace:&amp;nbsp;
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.SyncWaiter.TryGetChannel()
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.SyncWaiter.TryWait(TChannel&amp;amp; channel)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.TryGetChannel(Boolean canGetChannel, Boolean canCauseFault, TimeSpan timeout, MaskingMode maskingMode, TChannel&amp;amp; channel)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ClientReliableChannelBinder`1.Request(Message message, TimeSpan timeout, MaskingMode maskingMode)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.RequestReliableRequestor.OnRequest(Message request, TimeSpan timeout, Boolean last)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ReliableRequestor.Request(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ClientReliableSession.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ReliableRequestSessionChannel.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Channels.CommunicationObject.Open()

Exception rethrown at [0]:&amp;nbsp;
&amp;nbsp; &amp;nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
&amp;nbsp; &amp;nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp;amp; msgData, Int32 type)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.ICommunicationObject.Open()
&amp;nbsp; &amp;nbsp;at BluePrism.AutomateAppCore.ServerManagerWCF.OpenConnection(clsDBConnectionSetting connectionSetting, Dictionary`2 keys, User&amp;amp; systemUser)
&amp;nbsp; &amp;nbsp;at BluePrism.AutomateAppCore.ServerFactory.Validate(clsDBConnectionSetting connectionSetting)
&amp;nbsp; &amp;nbsp;at BluePrism.Config.ConnectionDetail.HandleTestClick(Object sender, EventArgs e)

&amp;nbsp;</description>
      <pubDate>Tue, 02 Apr 2019 13:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46615#M2556</guid>
      <dc:creator>SandeepKutwal</dc:creator>
      <dc:date>2019-04-02T13:12:00Z</dc:date>
    </item>
    <item>
      <title>Hi Sandeepk,
 
well, if you…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46616#M2557</link>
      <description>Hi Sandeepk,
&amp;nbsp;
well, if you still haven't resolved it then&amp;nbsp;you have to provide more details about which type of communication you chose WCF or old .NET Remoting? As .NET Remoting does not support cross-domains unless these are in Trusted Forrest.
&amp;nbsp;
Regards,
&amp;nbsp;
Zdenek</description>
      <pubDate>Tue, 02 Apr 2019 13:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46616#M2557</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2019-04-02T13:58:00Z</dc:date>
    </item>
    <item>
      <title>we also facing the same one,…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46617#M2558</link>
      <description>we also facing the same one, anybody know how to solve this.
@Sandeepk if you got the answer , please share.
&amp;nbsp;</description>
      <pubDate>Tue, 02 Apr 2019 14:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46617#M2558</guid>
      <dc:creator>Ericwang</dc:creator>
      <dc:date>2019-04-02T14:49:00Z</dc:date>
    </item>
    <item>
      <title>@zdenek.kabatek , Thanks for…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46618#M2559</link>
      <description>@zdenek.kabatek , Thanks for your reply ,&amp;nbsp;&amp;nbsp;still haven't resolved issue&amp;nbsp;and struggling&amp;nbsp;.
Below is the information&amp;nbsp;required for you to refer&amp;nbsp; :
Connection Type: Blue Prism Server&amp;nbsp;
Connection Mode: WCF: SOAP with Message Encryption &amp;amp; Windows Authentication .
Both domains are within the same Forest, never successfully connected this user/machine.
&amp;nbsp;
Thanks,
Sandeep K
&amp;nbsp;</description>
      <pubDate>Tue, 02 Apr 2019 16:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46618#M2559</guid>
      <dc:creator>SandeepKutwal</dc:creator>
      <dc:date>2019-04-02T16:24:00Z</dc:date>
    </item>
    <item>
      <title>Hi,
ok, I would start with…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46619#M2560</link>
      <description>Hi,
ok, I would start with the simplest step to isolate&amp;nbsp;network issues.
1. on your Blue Prism Application Server you are running Blue Prism Windows Service, right?
2. Assuming point above is correct, set up a configuration on Blue Prism Application Server which will go through the Windows Service and not directly to database - the same way as you do it on BP Client.
3. Sign Out of Blue Prism GUI on Blue Prism Application Server and sign in through the newly created connection (through windows service).
Does it work?
Zdenek</description>
      <pubDate>Tue, 02 Apr 2019 18:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46619#M2560</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2019-04-02T18:46:00Z</dc:date>
    </item>
    <item>
      <title>I forgot to ask as I assumed…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46620#M2561</link>
      <description>I forgot to ask as I assumed you did that but may be you did not - did you install a certificate?&amp;nbsp;That is a must when using this type of connection.</description>
      <pubDate>Tue, 02 Apr 2019 19:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46620#M2561</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2019-04-02T19:48:00Z</dc:date>
    </item>
    <item>
      <title>Thanks, lot @zdenek.kabatek,…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46621#M2562</link>
      <description>Thanks, lot @zdenek.kabatek, I will be following up your suggestions which I look very valid ,&amp;nbsp; further to&amp;nbsp;resolve the connection issue.
Also you mentioned that .NET Remoting does not support cross-domains unless these are in Trusted Forrest, then what should be a method you will suggest for such&amp;nbsp;connections?&amp;nbsp;
FYI :&amp;nbsp;Our&amp;nbsp;both machines (Blue prism&amp;nbsp;client and App server ) domains are NOT within the same Forest and we are using WCF: SOAP with Message Encryption &amp;amp; Windows Authentication as connection mode , Connection Type as Blue Prism server.
We are getting below error message :
System.ServiceModel.Security.SecurityNegotiationException: The caller was not authenticated by the service. ---&amp;gt; System.ServiceModel.FaultException: The request for security token could not be satisfied because authentication failed.
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SecurityUtils.ThrowIfNegotiationFault(Message message, EndpointAddress target)
&amp;nbsp; &amp;nbsp;at System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState)
&amp;nbsp; &amp;nbsp;--- End of inner exception stack trace ---
Can you please suggest further to resolve the issue , if you have more points looking at above issue state ?
Thanks,
SandeepK&amp;nbsp;
&amp;nbsp;</description>
      <pubDate>Fri, 05 Apr 2019 18:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/The-caller-was-not-authenticated-by-the-service-while-connecting/m-p/46621#M2562</guid>
      <dc:creator>SandeepKutwal</dc:creator>
      <dc:date>2019-04-05T18:55:00Z</dc:date>
    </item>
  </channel>
</rss>

