Unable to create a package in Sharepoint UI P&D browser, a 404 error appears on non-SSL configured environments

  • 16 February 2021
  • 0 replies
  • 5 views

Userlevel 5
Badge +20
 

Unable to create a package in Sharepoint, UI P&D browser. 404 error appears on non-SSL configured environment

kbt141922

PRODUCT
K2 blackpearl
BASED ON
K2 blackpearl (all)
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.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

When attempting to create a package from a SharePoint List or Library via the K2 App, an error will appear on the final page of the P&D wizard.

The errors are smilar to the following and you are unable to download a package:

 

Chrome:

Image

 

IE:

Image

 

Symptoms

The following behaviour is noted:

- It's possible to deploy packages onto this environment

- You can not create a package of the same application you just deployed. Packages with Included and Referenced Items gives the same behavior

- All default environment variables related to non SSL values have URLs that use http only

- Taking a network trace shows that the navigation hitting the https://[SF RUNTIME URL]. However, your environment is not configured to use SSL

- An AJAX.ashx call is visible in the network trace returning the same https URL.
 

Image

Resolution

This behavior is due to the fact that the SmartForms Runtime SSL URL value is hardcoded from your environment library to be used when navigating in the SharePoint UI P&D. The current workaround is as follows:

 

1. Navigate to K2 Management site

 

2. Navigate to the Environment Library

 

3. Select Development or Production (which ever one is set as your Default Environment Library)

 

4. Look for the Variable name "SmartForms Runtime SSL"

 

5. Edit the Value and change it to be the proper runtime URL for Smartforms that does not use SSL.

 

Image

 

For example, the current value for SmartForms Runtime SSL is: https://k2.denallix.com/runtime/runtime

We can modify this to be: http://k2.denallix.com:80/runtime/runtime 

 

This value depends on your IIS bindings for http on the K2 site itself that houses the Runtime site

 

This behavior is currently under investigation by K2 internally. At this time the above workaround steps do not show any adverse effects elsewhere in the environment and will allow you to download the package at the end of the Package Creation Wizard.

 

Note: If you do modify your environment to use SSL further down the line, please ensure that after this configuration is completed we confirm the value for the SmartForms Runtime SSL URL that was modified above now reflects a proper URL configured with SSL.

0 replies

Be the first to reply!

Reply