Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
anderseriksson
Partner - Specialist
Partner - Specialist

Loading data from monitoring Rest connection not working?

Hi, have a customer with different levels of users.
One intermediate level of users should be able to see statistics of application usage.
Parts of the Operations Monitor (sessions, sheets & apps) meets the needs.
But they hould not have access to all the other data in Operations Monitor.
To solve this I take the needed parts from Operations Monitor and make a new app with only those parts.
All good and fine, works in my personal Workspace and in Monitoring apps stream.
But when published in a separate stream for these users (they should not have access to the other monitoring apps) the reload task fails?

First thought it might have to do with Section Access but dissabled that and problem persists.
Doing different tests it worked when I manually reloaded in my Workspace
and works by Task in the Monitoring apps stream but not in other streams. 
Neither does it work by Task in my personal Workspace?

Now I did a very simple test application with only this as load script;

---
LIB CONNECT TO 'monitor_apps_REST_app';
apps:
   SQL SELECT 
   "id",
   "name",
   "published",
   "__KEY_root"
FROM JSON (wrap on) "root" PK "__KEY_root";
---
Works manually in my Workspace, fails when run in a Task in my Workspace.
Works by Task in stream Montoring apps, fails in other streams?
On the Test server it works regardless, only on the Production server these problems are.
Test server it is all Active Directory users, on production server is a mix of Active Directory and SAML accounts.
But I get the same results regardless if I created the app logged in by AD or SAML.
Copying the Operations Monitor app I get the same behaviour.
I can reload it throught the Editor in my Workspace but not by Task in my Workspace.
It can be reloaded by Task in stream Monitoring apps but not in any other stream when I move it around.
Setting owner of the app to the Qlik service account does not help.
Both my user and the service account user has Root access.

What is going on?

Labels (1)
2 Replies
Nicolae_Alecu
Creator
Creator

Hello,

I had the same issue on a multi-node enviroment.
Try to use your central node IP adress instead of Localhost in Data Connection String. ( at the url= )

Good luck!

 

anderseriksson
Partner - Specialist
Partner - Specialist
Author

Will have to try, yes it is a multinode environment.