Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Not applicable

Qliksense mashup (Rest Connection Failed Error)

Hi Everyone,

I am working on Qliksense 3.2 version and I am trying to create a mash up on Dev Hub . I actually wrote some HTML codes and embedded 4 objects into the page. While I dragged the objects into the page, I could see them, but when I'm trying to view it. It gives me an error for (Rest Connection Failed). Below is a screenshot for the same.

6 Replies
erik_wetterberg
Honored Contributor

Re: Qliksense mashup (Rest Connection Failed Error)

Hi,

This error probably means that QIX Engine cannot communicate with the repository. Do you get this all the time or just sometimes? Check if there is any more errors in the browser console. Also verify the connection parameters and the appid.

Hope this helps

Erik Wetterberg

Erik Wetterberg
https://extendingqlik.upper88.com/
Not applicable

Re: Qliksense mashup (Rest Connection Failed Error)

Hi Erik,

Thanks for replying.

I have never done this before . I tried doing it for the first time and getting this error everytime now. Now I am not able to see the Qliksense object on the preview section also. I have verified the app id. Can you please explain tell me what connection parameters you are talking about?

Thanks,

Akash

erik_wetterberg
Honored Contributor

Re: Qliksense mashup (Rest Connection Failed Error)

Hi Akash,

There is usually a section like this in the mashup:

var prefix = window.location.pathname.substr(0, window.location.pathname.toLowerCase().lastIndexOf("/extensions") + 1);


var config = {

    host: window.location.hostname,

    prefix: prefix,

    port: window.location.port,

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

    openWithoutData: true

};

The config object should then be used in the openApp call:

app = qlik.openApp(appid, config);

Hope this helps

Erik Wetterberg

Erik Wetterberg
https://extendingqlik.upper88.com/
Not applicable

Re: Qliksense mashup (Rest Connection Failed Error)

Hi Erik,

Thanks for your reply, Everything I have set up well. But sometimes now It doesn't give me error while sometime it shows me rest connection failed error.

Thanks,

Akash

gautik92
Valued Contributor III

Re: Qliksense mashup (Rest Connection Failed Error)

I am also getting the same error

monaali602
New Contributor II

Re: Qliksense mashup (Rest Connection Failed Error)

hi,

did you get solution for this issue

Community Browser