Nintex Workflow 2013 v3.1.7.10
I am having an authorization issue using a Call Web Service action. When I select execute as per below, using my own account as the system workflow owner (network account is a site collection admin), I get 401 error
When I select Test connection I also get Unauthorised,
When I run the service using a web browser on the same server I have no issues:
I checked the Nintex ULS log files I can see
Web Exception: System.Net.WebException: The remote server returned an error: (401) Unauthorized. ---> System.ComponentModel.Win32Exception: The target principal name is incorrect
at System.Net.NTAuthentication.GetOutgoingBlob(Byteb] incomingBlob, Boolean throwOnError, SecurityStatus& statusCode)
at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob)
at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate)
at System.Net.NegotiateClient.Authenticate(String challenge, WebRequest webRequest, ICredentials credentials)
at System.Net.AuthenticationManagerDefault.Authenticate(String challenge, WebRequest request, ICredentials credentials)
at System.Net.AuthenticationState.AttemptAuthenticate(HttpWebRequest httpWebRequest, ICredentials authInfo)
at System.Net.HttpWebRequest.CheckResubmitForAuth()
at System.Net.HttpWebRequest.CheckResubmit(Exception& e, Boolean& disableUpload) -
-- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at Nintex.Workflow.Common.WsdlUtil.DoRequest(String url, NetworkCredential credentials)
at phM=.uxM=.vBM=(yhM= vRM=)
at Nintex.Workflow.Activities.Adapters.NWCallWebServiceAdapter.ExecuteRunNow(RunNowContext context) (Build:31710)
I found this post from someone with a similar issue iis - "the target principal name is incorrect" 401 error - Stack Overflow, which indicates it could be a double hop authentication issue.
Has anyone experienced this issue before, and can possibly suggest a solution?