Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Qlik Sense Server: Lost connection prompt message issue

Hi all,

as you can see in the images below, every 1'30'' if I don't take any action in hub or app (also on workbench mashup) Qlik Sense prompts this message. At the moment i'm using a USER PASS token and I don't know the purpose of this message. If I click "Aggiorna" ("Refresh") everything works fine and I can continue working.

It's a little bit annoying...there's a way to remove it or to increment the session/connection check timeout?

Thanks,

Alessandro

Lost_connection_hub.pngLost_connection_app.png

1 Solution

Accepted Solutions
korsikov
Partner - Specialist III
Partner - Specialist III

i think this is nginx settings.

I had a problem with proxy_read_timeout

View solution in original post

5 Replies
korsikov
Partner - Specialist III
Partner - Specialist III

this is easy.

go to QMC http://qlikdemo.local/qmc/virtualproxies

open Central Proxy (Default)

Session inactivity timeout (minutes) Set the desired value

Apply and enjoy

Not applicable
Author

Hi Alexander,

thanks for the fast reply but your answer unfortunately wasn't the solution....

As you can see the Session inactivity timeout is set to 30 minutes, but every 1 minutes and half Qlik prompt the message.

Lost_connection_qmc_config.png

For further information we connecting to Qlik Sense Server through a Virtual Proxy (developed in Java Spring) for Google authentication and with NGINX proxy pass that forwards all request to the server machine.


So we have 2 address to access machine:

a) https://dashboard.fbk.eu/auth/ [passing through nginx and a java virtual proxy for Google auth]

b) https://ntsense.fbk.eu/ [direct access with basic authentication]


If I use url a) I have the mentioned problem, in the other case (using b)) no problems/errors occures. Also the Session inactivity timeout of the Virtual Proxy is set to 30 minutes and its Websocket origin white list contains the NGINX ip address and the fbk.eu domain.


There are any particular NGINX directives or settings we should use to avoid the "connection lost" issue? If needed I can provide our current NGINX settings.


Thanks in advance,

Alessandro

korsikov
Partner - Specialist III
Partner - Specialist III

i think this is nginx settings.

I had a problem with proxy_read_timeout

Not applicable
Author

Thanks Alexander, problem doesn't occur anymore! For other people in same situation this is our NGINX configuration:

proxy_send_timeout      30m;  /* equal to Qlik Sense Session inactivity timeout */

proxy_read_timeout      30m; /* equal to Qlik Sense Session inactivity timeout */

proxy_http_version      1.1;

proxy_set_header        Upgrade $http_upgrade;

proxy_set_header        Connection "upgrade"; 

korsikov
Partner - Specialist III
Partner - Specialist III

i'm use same construction

location /sense{

                proxy_pass http://bi.demo.org:81/sense;

                proxy_set_header Host $host;

                proxy_set_header X-Real-IP $remote_addr;

                proxy_set_header Upgrade $http_upgrade;

                proxy_set_header Connection "upgrade";

                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

                proxy_max_temp_file_size 0;

                proxy_connect_timeout 5400s;

                proxy_send_timeout 600s;

                 send_timeout 600s;

                 proxy_read_timeout 5400s;

                proxy_http_version 1.1;

        }