2 Replies Latest reply: Jan 18, 2017 4:30 AM by Wasi Mohammed RSS

    WebSocket connection to '{mashup url}' failed:  Error during WebSocket handshake: Unexpected response code: 500

    Wasi Mohammed

      Hello,

       

      I'm using the On-Demand-App-Gen type extension in a Mashup.

       

      The Extension copies a Template App, and modifies its script based on some logic.

       

      To do that, it creates a newAppSession , and it throws the error.

       

      WebSocket connection to '{mashup url}' failed:  Error during WebSocket handshake: Unexpected response code: 500

       

      newAppSession = RPCSession.get(PrevId, {

        host: window.location.host,

        isSecure: window.location.protocol == "https:"

        });

          newAppSession.open(true);

       

      The same extension works well in QlikSense report, but fails in mashup.

       

      Is there a limitation of mashup, that we cannot create a new Session.

       

      Could you please help me here.