Hello Qlikers,
I'm trying to load the mashup object locally by connecting Qliksense Server, I've created Virtual Proxy (Windows Ticketing), the app gets open without the issue, however, the object is not rendering on the page and after some time, I get the following error, I request if anyone could share your insights would be helpful.
<!doctype html>
<html><head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Qlik Sense Mashup</title>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="cleartype" content="on">
<link rel="stylesheet" href="https://servername/sa/resources/autogenerated/qlik-styles.css">
<link rel="stylesheet" href="reloadmashup.css">
<script src="https://servername/sa/resources/assets/external/requirejs/require.js"></script>
<script src="reloadmashup.js"></script>
</head>
<body style="overflow: auto">
<div class="flex-container">
<div id="QV01" class="qvobject"></div>
</div>
</div>
https://servername/sa/
var prefix = window.location.pathname.substr( 0, window.location.pathname.toLowerCase().lastIndexOf( "/extensions" ) + 1 );
var config = {
host: "servername",
prefix: '/sa/',
port: 443,
isSecure: "https:"
};
require.config( {
baseUrl: ( config.isSecure ? "https://" : "http://" ) + config.host + (config.port ? ":" + config.port : "") + config.prefix + "resources"
} );
require( ["js/qlik"], function ( qlik ) {
qlik.setOnError( function ( error ) {
$( '#popupText' ).append( error.message + "<br>" );
$( '#popup' ).fadeIn( 1000 );
} );
$( "#closePopup" ).click( function () {
$( '#popup' ).hide();
} );
//callbacks -- inserted here --
//open apps -- inserted here --
var app = qlik.openApp('guid', config);
debugger;
app.getObject('QV01','SCLPJf');
//get objects -- inserted here --
// app.doReload(0)
// .then(function (result) {
// console.log(result)
// })
//create cubes and lists -- inserted here --
} );
Error
qlik-module.7aa89d87ef55cc2e0d60.js:8 WebSocket connection to 'ws://servername:443/sa/app/af5830f2-fa19-42c3-a153-130452ad213a?reloadUri=http%3A%2F%2F127.0.0.1%3A5500%2Freloadmashup.html' failed: Connection closed before receiving a handshake response