Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
teemusalo
Contributor II
Contributor II

Load balancing blocks data connections list

Hello,

recently we updated our load balancing rules to allow only certain streams on a certain rim node.

Everything worked as expected until we needed to modify our data connections in one of our applications data load editor.

There are a few post about the "Spinning data connections" (like this ) but the question goes unanswered and does not seem to relate to this next happening.

The data connections list does indeed keep spinning in our application and the browser console outputs the following error:

api/dataprepservice/v1/apps/<applicationID>/model/current:1

Failed to load resource: the server responded with a status of 500 (Internal Server Error)


What this error is, we have no idea. But what we did find out is what causes it.

Accessing data load editor through an app on our central node, that is load balanced to only show on central node, blocks the data connections list from rendering successfully.

When accessing an app that is also accessible on our rim node, the data connections list renders without problem.

I was able to recreate this problem multiple times by allowing all applications on both nodes and voilá, the data connections render.

Now this causes a problem, because we want to filter certain apps from being loaded on our rim node, but the only way to render the connections list requires the app to be available on both.

What we also did try was to use different resource filters (DataConnection*. App.DataSegment* etc.) in our load balancing rules but the only one that had the desired effect was to allow resource App* or App_* on rim node.

Has anyone encountered this problem before or have any idea how to fix/go around it?

All the data connections are accessible on our QMC, tasks and such, even though they do not render as a list in data load editor, so this must not be an ODBC or some like problem.

Also, we are using Qlik Sense Server with June 2018 version.

We did also try booting up the server.

Your help and wisdom is much appreciated,

Teemu

Sincerely,
Teemu
1 Solution

Accepted Solutions
teemusalo
Contributor II
Contributor II
Author

Hey,

for anyone encountering similar problems, this is how i solved my problem:

From QMC virtual proxies I removed the rim node from the load balancing nodes. This seems to have reset the balancing rules somewhere behind the mighty jungle that is Qlik Sense server.

For some unknown reason, some of my calls to the server seems to have been directed by the load balancing rules to the rim node (api/dataprepservice/v1/apps/<applicationID>/model/current referred by the applicaton page).


This caused some weird situation, where I could see the apps that I was supposed to but some calls were blocked with an error in the console "app not found" which caused an internal server error also.

I did add the rim node back to the load balancing nodes and everything still works.

regards,

Teemu

Sincerely,
Teemu

View solution in original post

5 Replies
teemusalo
Contributor II
Contributor II
Author

Hey,

for anyone encountering similar problems, this is how i solved my problem:

From QMC virtual proxies I removed the rim node from the load balancing nodes. This seems to have reset the balancing rules somewhere behind the mighty jungle that is Qlik Sense server.

For some unknown reason, some of my calls to the server seems to have been directed by the load balancing rules to the rim node (api/dataprepservice/v1/apps/<applicationID>/model/current referred by the applicaton page).


This caused some weird situation, where I could see the apps that I was supposed to but some calls were blocked with an error in the console "app not found" which caused an internal server error also.

I did add the rim node back to the load balancing nodes and everything still works.

regards,

Teemu

Sincerely,
Teemu
amien
Specialist
Specialist

"From QMC virtual proxies I removed the rim node from the load balancing nodes. This seems to have reset the balancing rules somewhere behind the mighty jungle that is Qlik Sense server."


I had the same issue. I only added my rim nodes to the virtual proxies load balancing nodes. I added the central node and now it works fine.


issue is back again. seems like restart of the virtual proxy only works temporary

teemu_jr
Contributor II
Contributor II

We are facing this error too.

What's the latest status? Anybody have a permanent fix?

Anybody file a ticket to Qlik Support?

Albert_Candelario

Hi all,

On which version is this issue happening? Could you share that and if you tested with different version could you also share.

If this issue is not really solved I would recommend to open a new post, the reason why we recommend to open a new post is that you will get the most qualified pool of respondents as if they see it solved they might not look this current post, so if any other customer or partner has faced and solve the issue they could share their knowledge and solution.

Cheers!

 

Please, remember to mark the thread as solved once getting the correct answer
paulcalvet
Partner - Specialist
Partner - Specialist

Hi Alberto,

I create a new ticket : https://community.qlik.com/t5/New-to-Qlik-Sense/Load-balancing-blocks-data-connections-list/m-p/1601...

Please help ! I can't activate load balancing rule...

Thanks, Paul