Create User token returns "Authorization not Successful No such host is known"

  • 15 February 2022
  • 0 replies
  • 15 views

Userlevel 5
Badge +20
 

Create User token returns "Authorization not Successful No such host is known"

kbt163840

PRODUCT
K2 Five
K2 blackpearl 4.7
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

When trying to open a K2 Form there is a prompt to create a new token. However, when clicking the link to create a new token a "Authorization not Successful No such host is known" error appears.

Troubleshooting Steps

Fiddler is a great tool to see where the redirects are pointing to.

Check the Identity web.config file in the following location: [INSTALLDIR]K2 blackpearlWebservicesIdentity/Web.config

 

Make sure that the Host in the Connection String and the HostName in <AppSettings/> are the same. It should look something like below.
<connectionStrings>
<add name="HostServer" connectionString="Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;Host=SA-LABSDLX;Port=5555" />
</connectionStrings>
<appSettings>
<add key="webpages:Version" value="2.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="PreserveLoginUrl" value="true" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
<add key="HostName" value="SA-LABSDLX" />
<add key="HostPort" value="5555" />

0 replies

Be the first to reply!

Reply