emqx / MQTTX

A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.
https://mqttx.app
Apache License 2.0
3.8k stars 438 forks source link

[Bug] Version 1.9.7 - Blank page after startup, maybe JVM Xmx/Xms-setting too high? #1526

Closed arnepluhar closed 3 months ago

arnepluhar commented 8 months ago

What did I do

I installed MQTTX on Windows 10 Enterprise 21H2 from MQTTX-Setup-1.9.7-x64.exe

What happened

After startup, the window of MQTTX just stays blank no matter what I click, see screenshot below

Once I got some JVM Xm*-warning, but unfortionately I am not able to replicate this message.

Expected

I would have expected the interface of MQTTX

Environment

More detail

This seems to be the same error like in

1406

1370

image

ysfscream commented 8 months ago

Hello @arnepluhar,

Thank you for reporting the blank page issue after starting MQTTX version 1.9.7. We apologize for the inconvenience and appreciate your bringing this to our attention.

Based on your description and similar reports in issues #1406 and #1370, it appears that this issue might be related to the accumulation of substantial historical data within the application rather than directly associated with JVM settings. As MQTTX is an Electron-based application, JVM parameters generally do not impact its behavior.

A temporary solution for Windows users is to navigate to %USERPROFILE%\AppData\Roaming\MQTTX and delete the MQTTX.db file. This action will reset the application, removing all stored data and configurations. Please be advised that this will erase your settings and connections, so consider backing up important information beforehand.

We acknowledge that this is a workaround and not a permanent fix. Our team is investigating to identify the root cause and develop a more sustainable solution in future updates. We are aware that this issue occurs more frequently on Windows systems and are prioritizing it in our development process.

We would appreciate it if you could try this workaround and let us know if it resolves the issue. Your feedback is invaluable in helping us improve MQTTX.

Thank you for your patience and understanding as we work towards a resolution. Your continued support of MQTTX is greatly appreciated.

HuangLei0x2e5 commented 5 months ago

I have the same problem, my data is very large, one json is more than 100KB, and it is transferred 10 times per minute I know this is an extreme case, but I have to do it for business needs This tool doesn't seem to be designed to handle such a large amount of data

ysfscream commented 5 months ago

@HuangLei0x2e5 Thank you for the feedback. Indeed, we are currently unable to address the issue of data volume display. Still, we want to be able to help users manually restart to solve the problem after a white screen appears instead of having to delete the database and restart. Therefore, we need to be able to reproduce it first. @DM1-1, we can refer to this data volume as the condition for bug reproduction, trying to catch errors when the white screen occurs. Thank you.

DM1-1 commented 5 months ago

@HuangLei0x2e5 Thank you for your feedback. I am sending large JSON data at the same frequency did not result in a white screen on my end using Windows. To more accurately reproduce and address the issue you're experiencing, it would be very helpful if you could share the relevant database files for testing. This will greatly assist us in pinpointing the problem and offering a viable solution. Please ensure that all sensitive data is removed before sharing the files, and rest assured that we will keep your information confidential.

HuangLei0x2e5 commented 4 months ago

Sorry, I can send to you my data, because I didn't get permission, but the data format is simple, it is just so big then I split a json to many smaller packs, the problem is didn’t reappear 发件人: DM @.> 发送时间: 2024年4月10日 10:56 收件人: emqx/MQTTX @.> 抄送: HuangLei0x2e5 @.>; Mention @.> 主题: Re: [emqx/MQTTX] [Bug] Version 1.9.7 - Blank page after startup, maybe JVM Xmx/Xms-setting too high? (Issue #1526)

@HuangLei0x2e5https://github.com/HuangLei0x2e5 Thank you for your feedback. I am sending large JSON data at the same frequency did not result in a white screen on my end using Windows. To more accurately reproduce and address the issue you're experiencing, it would be very helpful if you could share the relevant database files for testing. This will greatly assist us in pinpointing the problem and offering a viable solution. Please ensure that all sensitive data is removed before sharing the files, and rest assured that we will keep your information confidential.

― Reply to this email directly, view it on GitHubhttps://github.com/emqx/MQTTX/issues/1526#issuecomment-2046451444, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASH3ENJLD3EV2MSBSJUOM4DY4SS3PAVCNFSM6AAAAABA6MRBDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBWGQ2TCNBUGQ. You are receiving this because you were mentioned.Message ID: @.***>

DM1-1 commented 4 months ago

Sorry, I can send to you my data, because I didn't get permission, but the data format is simple, it is just so big then I split a json to many smaller packs, the problem is didn’t reappear 发件人: DM @.> 发送时间: 2024年4月10日 10:56 收件人: emqx/MQTTX @.> 抄送: HuangLei0x2e5 @.>; Mention @.> 主题: Re: [emqx/MQTTX] [Bug] Version 1.9.7 - Blank page after startup, maybe JVM Xmx/Xms-setting too high? (Issue #1526) @HuangLei0x2e5https://github.com/HuangLei0x2e5 Thank you for your feedback. I am sending large JSON data at the same frequency did not result in a white screen on my end using Windows. To more accurately reproduce and address the issue you're experiencing, it would be very helpful if you could share the relevant database files for testing. This will greatly assist us in pinpointing the problem and offering a viable solution. Please ensure that all sensitive data is removed before sharing the files, and rest assured that we will keep your information confidential. ― Reply to this email directly, view it on GitHub<#1526 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASH3ENJLD3EV2MSBSJUOM4DY4SS3PAVCNFSM6AAAAABA6MRBDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBWGQ2TCNBUGQ. You are receiving this because you were mentioned.Message ID: @.***>

Thank you for your feedback. We have successfully reproduced the issue you've reported and are currently working on a resolution. Please bear with us while we address this as quickly as possible.

ysfscream commented 3 months ago

Thanks for your feedback. If there is any problem, I will reopen this issue.