Pricing changes are coming in January. Contact our Sales team to secure the current price for your desired license.

Page is irresponsive

Answered
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

12 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 November 18, 2024

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 November 19, 2024

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 November 22, 2024

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 November 23, 2024

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

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster November 27, 2024

Hello,

Thank you for the response.

We understand that implementing a custom data source API requires more time and development effort. Kindly note that we do not offer integration assistance services. However, many of our customers address similar challenges by narrowing down their datasets. Therefore, we recommend splitting the larger dataset into several smaller datasets. This approach allows you to continue using the "csv" data source type while minimizing issues such as extended loading times or "Page is unresponsive" errors.

We hope it helps.

Kind regards,
Nadia

Public
Vaibhav Thirani November 28, 2024

Hi Nadia,

Thanks for the response. We wish there was a possibility of reducing the size of the data. We have implemented this for view by management level employees and the view they need is always of a larger dataset. They are very impressed by the flexibility it offers and its layout but really concerned about the time its taking to do the same each time. All the data it is showing is near realtime.

I request you to set up a small meeting with our engineering team and your team in order to help us get started with the custom API since this is the only possible solution in sight as of now

 

Regards,

Vaibhav

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster December 3, 2024

Hello Vaibhav,

Thank you for the details.

We want to clarify that our Technical Team does not provide integration or implementation services for custom solutions, and we suggest your team handles the server setup for the custom data source API on your side. That said, we aim to support you by offering comprehensive resources. Our detailed API reference, which includes all necessary information about requests, is available in our documentation: https://www.flexmonster.com/api/all-requests/.

You are also welcome to use our sample server as an example: https://www.flexmonster.com/doc/pivot-table-with-node-js-server/. It is available on our GitHub: https://github.com/flexmonster/api-data-source/tree/master/server-nodejs.

We hope this clarifies our approach and provides the necessary resources to move forward effectively.

Kind regards,
Nadia

Please login or Register to Submit Answer