billmurrin / graylog-plugin-quickvaluesplus-widget

GrayLog2 QuickValuesPlus Widget
GNU General Public License v3.0
22 stars 3 forks source link

Graylog web interface stops interact #25

Closed andbus closed 7 years ago

andbus commented 7 years ago

When plugin is installed the Graylog web interface stops properly responding. Clicking on any button works only once. To restore communication with the web interface I need to refresh browser page (Ctrl-R or F5). Then, click works only once and so on.

Graylog: 2.3.0-7 Plugin: 3.0.0 JDK: 1.8.0

billmurrin commented 7 years ago

Hi @andbus, can you please provide what OS and browser version you are using?

Have you tried clearing the cache on your browser and/or force reloading the page (Ctrl + F5) to reload the cached assets?

If you open up the page inside of the developer tools (typically F12), do you see any error messages occurring when you Clicking on any button?

By button, do you mean a button inside of the widget or the entire Graylog web interface?

I'm sorry for the inconvenience but appreciate you taking the time to report the issue.

andbus commented 7 years ago

@billmurrin

I'm using Win7 and latest version of Opera and Firefox on the client side. And yes, I've tried to force clearing the cache and page. Regarding cache/page clearing the situation is as described (works for one click only). However, if I press Search button for another query, I can observe that Search result (number of messages) is changing but all other elements of the page stay intact (I mean Histogram, Messages etc).

I can't reproduce the error now, because currently I had to remove plugin from test environment.

Regarding button, I mean general interactive elements of Graylog web interface. I don't know if all buttons because I've checked it superficially.

andbus commented 7 years ago

GraylogWithQVP-OperaConsole-1503757010828.log.txt @billmurrin

Fortunately, I was able to test the plugin. Attached are the logs of the browser console.

In the meantime, I updated Graylog to 2.3.1. Logs come for this release.

billmurrin commented 7 years ago

@andbus - I will attempt to resolve the error you are receiving. Please note that when I installed the latest versions of Opera and Firefox I couldn't recreate the error. With that said, I have a pretty good idea where it might take place. I'll give you an update soon. Thanks.

billmurrin commented 7 years ago

@andbus - I packaged a version with that does additional debugging and that added a migration for the plugin so it has a default configuration value. That appears to have been the issue.

Can you run this version, try to recreate the event, and then provide the logs again. You might have to force refresh (Ctrl + F5) or clear your cache.

https://www.dropbox.com/s/om256jky1bwnt2v/graylog-plugin-quickvaluesplus-widget-3.0.0.jar?dl=0

billmurrin commented 7 years ago

Hi @andbus, please update to version 3.0.1 of the plugin. Thanks for the report. The issue was related to a plugin migration, but I saw another issue and fixed that as well.