Users trying to access K2 sites (Designer, Runtime, Management, etc.) are redirected to the wrong URL
kbt146004
PRODUCTIssue
When the user first accesses the SmartForms site they are initially redirected to the wrong URL. This could either be an old site binding or an invalid URL.
For explanation purposes, let's assume the following values in regards to our environment's configuration:
K2 Host Header = k2.denallix.com
Designer SmartForms URL = https://k2.denallix.com/Designer
In this example, we are seeing that accessing the K2 Designer site for the first time in a day we will hit the following URL which is incorrect because it is hitting the HTTP URL:
Symptoms
There are two separate scenarios for finding that this URL is wrong:
1. An old URL/Host header previously used is seen in the navigation. This does not cause errors but is hitting an improper site that should not be in use.
2. An old URL/Host Header is seen in the navigation. This configuration is no longer set so we are seeing an error when hitting these sites.
By investigating further you might find the following within your environment:
- You might have a fiddler/network trace that shows the following if you are accidentally navigating to a HTTP URL instead of HTTPS:
- K2 Management > Authentication > Claims pages will show references to the HTTP or wrong host header URL:
- The Default Environment Library might have environment variables with the improper URL or non SSL Environment variables set to default.
- You might have also recently updated your K2 Configuration and changed from HTTP to HTTPS.
Troubleshooting Steps
To resolve this issue you need to verify that your configuration is correct. The most common cause of this behavior is that the configuration of K2 was not told to use the correct binding. The Setup managers for K2 need to be run in configure mode for Blackpearl and SmartForms. In here you will need to update K2 with the proper bindings, this will then stop the improper navigation.
Blackpearl Setup Manager:
On this page click the bindings button and select the correct host header binding to be used as the default binding:
http://help.k2.com/onlinehelp/k2blackpearl/icg/4.7/default.htm#install/manual/bp/bp_inst_workspaceweb.htm
SmartForms Setup Manager:
This will have two identical looking pages, one for Designer and one for Runtime. Follow the same steps as you used above for the blackpearl setup manager. Click bindings and choose the correct binding to be set as default which is the HTTPS binding:
http://help.k2.com/onlinehelp/k2blackpearl/icg/4.7/default.htm#install/manual/sf/sf_designwebsite.htm
http://help.k2.com/onlinehelp/k2blackpearl/icg/4.7/default.htm#install/manual/sf/sf_runtimewebsite.htm
Designer Site:
Runtime Site: