webpage reload broken since 5.20 when using Firefox

Issue #597 duplicate
Jörg Ziegler created an issue

Using the following monitrc

SET HTTPD PORT 80
  allow 0.0.0.0/0

SET DAEMON 2

SET PIDFILE /var/run/monit.pid
SET LOGFILE syslog

CHECK SYSTEM My-System
  IF MEMORY > 90% THEN ALERT

CHECK PROCESS myprocess PIDFILE /var/run/myprocess/pid
  START PROGRAM = "/etc/init.d/my-process start"
  STOP PROGRAM  = "/etc/init.d/my-process stop"
  IF 10 RESTARTS WITHIN 10 CYCLES THEN UNMONITOR
  IF TOTAL CPU > 55% WITHIN 10 CYCLES THEN ALERT

a) The webinterface reload flickers significantly at every reload. Every reload causes the webpage to jump to the top of the page, making it hard to use.

b) When trying to control a service (i.e. stopping it) the command is issued correctly. However, at the next reload (about 2s later) firefox asks to re-submit the command, breaking the workflow (as then you have to cancel, go to the URL bar, re-issue the URL) - see attachment

This behavior is consistently for 5.20 and 5.22 using Firefox. Monit 5.19 and Firefox do not show this behavior.

This has been verified using Firefox 52.0.2 (32-bit). Google Chrome does not show this behavior. I've disabled all Firefox Add-Ons to make sure it's nothing on the client side that breaks this.

Comments (1)

  1. Log in to comment