Flexmonster gets stuck in a loading state on initial loading

Answered
Shahul Hameed asked on January 12, 2022

Hi Team,
Flexmonster gets stuck in a loading state on initial loading or on the first call?. Any fix available for this?. Let us know

20 answers

Public
Maksym Diachenko Maksym Diachenko Flexmonster January 12, 2022

Hi, Shahul,
Thank you for reaching out to us.
We would highly appreciate it if you would give us more details on your issue. Do you have errors in the console, or what is displayed on the component itself?
We are looking forward to hearing from you.
Best Regards,
Maksym

Public
Shahul Hameed January 13, 2022

Hi Maksym,
We are already in touch with FM Team regarding FM sending multiple urls in background and slowness of application. Please refer here 

https://www.flexmonster.com/question/flexmonster-report-delayed-response-and-slowness-multiple-request-sent-on-background/

To explain you in brief, we have angular application integrated with FlexMonster through Azure Analysis Services which is connected to SqlServer as DB. All are available in Azure. Other than Slowness and multiple request sending from background, It get stuck in first call. No errors in console. In network tab, it shows DiscoverMember call goes and hanged

If we do hard refresh, then it loads all data. We need solution for this problem before going to our clients. 

Public
Maksym Diachenko Maksym Diachenko Flexmonster January 13, 2022

Hi, Shahul,
 
Thank you for providing us with the information.
We are working on it. Could you please send us Flexmonster Accelerator logs? You can see them on the main window of the Accelerator by pressing a "Logs" button in the top-right corner.
It would significantly help us in finding a solution.
 
Best Regards,
Maksym

Public
Shahul Hameed January 17, 2022

Hi Maksym Diachenko,

Thank you for your response. Currently, we are using FM accelerator as DLL method. i.e, we have hosted Flex monster accelerator web app (asp.net mvc app) in cloud(Azure) environment, let us know, how to enable logs or where to find logs.

Best Regards,
Shahul

Public
Maksym Diachenko Maksym Diachenko Flexmonster January 18, 2022

Hi, Shahul,
 
Thank you for reaching out to us. 
To see Flexmonster Accelerator logs, we suggest implementing a Flexmonster.Accelerator.Utils.ILogger interface.
The second step will be adding your logger implementation to the Register method in your Flexmonster Config class, using the LoggerLocator.SetLogger() method. Here is an example
Please refer to the examples below.
 
Simple ILogger implementation:

using Flexmonster.Accelerator.Utils;

namespace Your.Namespace
{
public class MyLogger : ILogger
{
public void Error(string message)
{
System.Diagnostics.Debug.WriteLine(message);
}
public void Error(string message, params object[] args)
{
System.Diagnostics.Debug.WriteLine(message);
}
//same for Info, Trace, Warn methods
}
}

 
Adding logger to config:

namespace Your.Namespace
{
public class FlexmonsterConfig
{
public static void Register()
{
//CODE
LoggerLocator.SetLogger(new MyLogger()); //Add logger
//CODE
}
}
}

We are looking forward to your response.


Best Regards,
Maksym
 

Public
Shahul Hameed January 19, 2022

Hi Maksym,
Thank you for the response. We implemented logger functionality and ran the FM Accelerator App in local environment. I am attaching the logs collected in local environment. Once we hosted it in Azure, i will send it, if required.
Additional Info:- Initial request from FM report in angular app to FM Accelerator gets hanged and on in loading state forever. If we do hard refresh(F5), then data appears. This happens for first request on initial loading of page.
Please find the attached logs,
Regards,
Shahul

Public
Maksym Diachenko Maksym Diachenko Flexmonster January 20, 2022

Hi, Shahul!
 
Thank you for sharing the logs with us.
According to them, it looks like you have three Flexmonster components on a page. We are starting to see what can be a possible cause of the loading issue. For the next step, could you please check what happens during loading if there is only one table on your page? Is it loading as expected? It will help us to isolate the possible cause of the issue.
 
We are looking forward to hearing from you.
 
Best Regards,
Maksym

Public
Shahul Hameed January 24, 2022

Hi Maksym,

To help you, sharing more details. We have 6 FM component to load different reports, timeframes, Data Table, Graph view etc. On initial load, we are sending request for 3 timeframes(weekly, monthly, quarterly) first with respective filters. once report completed, new request goes for metric tiles card. Post that, based on selection either graph view or data table view gets rendered.

On initial load, it gets stucks up and on pressing F5, it loads data. As already application is in QA env, not able to test for single report.
Regards,
Shahul

Public
Maksym Diachenko Maksym Diachenko Flexmonster January 24, 2022

Hi, Shahul!
 
Thank you for sharing additional information.
Providing a fix will take some time since we need to deploy a similar environment and do more research to reproduce and fix the issue, ETA 21 February.
We will notify you when everything is ready.

Best Regards,
Maksym

Public
Aparna January 27, 2022

Hi Maksym,  Thanks for the response . Can you please provide an update on this ? Is there any other information we need to provide on the same, which will help to troubleshoot /Fix the issue ?
We have a paid license for the FM Pivots 
Regds,
Aparna  

Public
Maksym Diachenko Maksym Diachenko Flexmonster January 28, 2022

Hi, Aparna!
 
Hope you are doing well.
 
We have an idea of what can be causing your issue. But to be entirely sure, we need to set up a similar Azure environment. We would highly appreciate it if you could provide us with access to your environment. It will help us with our investigation. Please note that sensitive info can be sent via email to ensure privacy.
 
We are looking forward to hearing from you.
 
Best Regards,
Maksym

Public
Aparna February 1, 2022

Hi Maksym,
Hope you are doing  good. Due to Security policies, we will not be able to provide access to the Environments . However , we definitely are open to  have working  Unrecorded sessions over the ZOOM/Teams  for the same .  Please let us know for the  convenient timings to schedule the Working session. I can schedule It . Kinldy reach out to me over the Email - aparna.jagjit@amplity.com
Regds,
Aparna 
 
 
 
 
 

Public
Aparna February 3, 2022

Hi Maksym,
When can we connect on this  for a working session?  We  work From 10 AM IST (+5:30 GMT) to 
8PM IST .Kindly let us  know your convenient time to connect
Regds,
Aparna 
 
 
 

Public
Maksym Diachenko Maksym Diachenko Flexmonster February 3, 2022

Hello, Aparna!

Thank you for informing us about when we can arrange a call.

Our dev team needs to set up a similar Azure environment. At this point, we think this would be sufficient for reproducing the issue and a call might not be necessary. In case we need any additional details from your side, we will reach out. Our team will get back to you once we have any updates.

Best Regards,
Maksym

Public
Aparna February 8, 2022

Hi Maksym,
 
Kindly provide us an Update on this Issue . Kindly reach out to us  , incase your team needs a working session, Or any  other inputs , Logs from our end to investigate on the issue 
 
Regds,
Aparna
 

Public
Maksym Diachenko Maksym Diachenko Flexmonster February 9, 2022

Hi, Aparna!

Thank you for your response.
We reproduced the issue and discovered what was causing it. The fix is coming in the next minor update, ETA 21 February.
Our team will notify you about the release.

Best Regards,
Maksym

Public
Aparna February 22, 2022

Hi Maksym,
Hope you are doing good .Are we good with the Fix on the - FM - Initial Loading Slowness issue . 
Kindly provide us an update .
Rgds,
Aparna 
 
 
 
 
 
 

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster February 22, 2022

Hello, Aparna,
 
We are pleased to inform you that the issue with data loading from Azure getting stuck after service restart was fixed.
 
The fix is available in the 2.9.19 version of Flexmonster: https://www.flexmonster.com/release-notes/version-2-9-19/
You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/ 
 
Please let us know if it works for you. Feel free to contact us if other questions arise.
 
Kind regards,
Nadia

Public
Shahul Hameed February 28, 2022

Hello Nadia Khodakivska,
Thank you & FM Team for the update. This update has fixed the initial loading/stuck issue on connecting to Azure environment.
Thanks & regards,
Shahul

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster February 28, 2022

Hello, Shahul,
 
Thank you for your feedback.
 
Our team is happy to hear that the fix works well for you.
 
You are welcome to write to us in case further questions arise.
 
Kind regards,
Nadia

Please login or Register to Submit Answer