Page is irresponsive

Re-Open
Vaibhav Thirani asked on October 16, 2024

Hi,

I am getting a message from the browser "Page is irresponsive" with options of "Wait" or "Cancel" in some reports. After I click "Wait", the tab freezes and then after a couple of minutes, it displays the report.

Is there some parameter I am missing ?

Attached is the JSON format of my report

Regards,

Vaibhav

Attachments:
format.json

9 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster October 18, 2024

Hello Vaibhav,

Thank you for contacting us.

Please note that such an issue may occur while loading big datasets directly on the client. This happens due to RAM limitations, which may vary for different machines. In such cases, we recommend switching to Flexmonster Data Server — our server-side tool, which can process files of more than 1 GB. It has built-in support for JSON and CSV data sources and can help browsers handle much bigger files. Please check our documentation for more details: https://www.flexmonster.com/doc/intro-to-flexmonster-data-server/

We hope that our response is helpful.

Kind regards,
Nadia

Public
Vaibhav Thirani November 11, 2024

After installing fds, when we are running the Flexmonster-Admin-Panel.AppImage to install the flexmonster Admin Panel we are getting the following error. 

[346193:1106/131733.983909:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY

[346193:1106/131733.984104:ERROR:env.cc(257)] The platform failed to initialize.  Exiting.

Segmentation fault

Please assist. Thanks

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster November 13, 2024

Hello,

Thank you for the response.

We recommend installing Flexmonster Data Server as a console application. If you are using Flexmonster CLI, enter the following command:

flexmonster add fds executable

More details can be found in the following guide: https://www.flexmonster.com/doc/install-data-server-as-console-app/

We hope that our response is helpful.

Kind regards,
Nadia

Public
Vaibhav Thirani November 14, 2024

Will try the same and confirm

Public
Vaibhav Thirani November 15, 2024

Hi, 

We have got the Data Server working. However, after reading about how to configure data-sources in the data-server, we are not able to find a way by which we can pass a dynamic query or a dynamically generated CSV file as a source. It is expecting fixed queries OR path to static CSV files.

Is this correct functionality ?

 

Regards,

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster 6 days ago

Hi Vaibhav,

Thank you for the response.

If you want to pass a dynamic query or the dynamically generated CSV files, we recommend implementing the custom data source API. This approach requires your own server, which will prepare the data and provide it to Flexmonster. To make communication between your server and Flexmonster possible, our team created a custom data source API. Please find more details in our documentation: https://www.flexmonster.com/doc/introduction-to-custom-data-source-api/. You are welcome to check our sample projects for reference:

  1. A quick overview of a sample Node.js server
  2. A quick overview of a sample .NET Core server

We hope it helps.

Kind regards,
Nadia

Public
Vaibhav Thirani 5 days ago

Hi Nadia,

Thanks for your response. I know this is the only available resource for this use-case but this is too much custom code to get it to work. Its no more plug-and-play anymore. I am wondering why there i'snt a straight forward server-side approach as I am sure there might be several of your customers facing the same issue. 

For example, why cant the data-server accept parameterized query to a database? Even if the result is not coming from a cache, it can atleast ensure that the browser does not hang ! Increasing resources (RAM / CPU) on server is much easier then expecting users device to be very capable.

I am still not sure what is the use-case of fixed queries or CSV files. I mean who would want to look at the same data again and again in today's data-driven apps era.

Please atleast take it as a feature request for FDS where the user can decide if they want to use data from cache or are OK with the latency of querying the live database with dynamic / parameterized queries as long as the browser does not hang and become irresponsive

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster 2 days ago

Hello,

Thank you for the response.

You are correct that, currently, the only way to display data from the dynamic query or the dynamically generated CSV files is by using the custom data source API. While you will need more time and effort, you will be able to support the custom logic you want, such as dynamic queries.

Your feature request sounds reasonable and has already been added to our customers' wishlist. We will notify you if there are any updates on the matter.

We hope our response is helpful.

Kind regards,
Nadia

Public
Vaibhav Thirani 11 hours ago

Hi Nadia,

I need some reference who can help implement a custom API (preferably in India) incase some customer has done that. Or else, if we could get on a call with your experts to help with basic understanding for a NodeJS based approach

Regards,

Vaibhav

Please login or Register to Submit Answer