Export is generating an error for mixed mode content

Document ID : KB000124534
Last Modified Date : 15/01/2019
Show Technical Document Details
Issue:
End users are trying to run an export of tickets.  During the export attempt, they are receiving a message for Mixed Mode content:

The page at https://URL.DOMAIN.COM was loaded over https, but requested an insecure resource http://SERVER:8080/CAisd/PDMExport

User-added image
Environment:
Service Desk Manager 14.1 and higher
Chrome or Firefox browser
Cause:
The issue is due to Chrome and Firefox enforcing the Mixed Mode restriction.  Such browsers generally prohibit content being presented by an http and an https source simultaneously.  If such a scenario arises, the site is blocked and would require a reload of the page to override the restriction.  However, a reload of the page here would result in the end user having to log back into Service Desk.
Resolution:

NX.env needs to be updated to use the correct URL:

Original content might present:
@NX_SERVLET_SERVER_URL=http://SERVER:8080
@NX_LOCAL_SERVLET_SERVER_URL=http://SERVER:8080

Also in NX.env:
@NX_WEB_CGI_URL=https://URL.DOMAIN.COM/CAisd/pdmweb.exe

A trademark of this issue is that there may be a load balancer on https://URL.DOMAIN.COM which is providing the https/SSL layer and that the SDM Tomcat functionality itself on http://SERVER:8080 does not have https/SSL in place.  The above NX_WEB_CGI_URL is correctly configured to account for the load balancer URL providing https/SSL services, but the NX_SERVLET_SERVER_URL and NX_LOCAL_SERVLET_SERVER_URL need to be corrected to allow attachments to function correctly.

Modify the NX.env to read:
@NX_SERVLET_SERVER_URL=https://URL.DOMAIN.COM
@NX_LOCAL_SERVLET_SERVER_URL=https://URL.DOMAIN.COM