Project

General

Profile

Bug #10194

Recent changes aren't display sometimes on Rules list

Added by Nicolas CHARLES 7 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:

Description

In the rule list, Recent changes are sometimes there, sometimes not
Not sure what causes it, I get error in the console

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid
response from an upstream server.<br />
The proxy server could not handle the request <em><a href="/rudder/lift/comet/63140824676/F182188009559NWIEKM
/F182188019557CVGJJ2">GET&nbsp;/rudder/lift/comet/63140824676/F182188009559NWIEKM/F182188019557CVGJJ2
</a></em>.<p>
Reason: <strong>Error reading from remote server</strong></p></p>
<hr>
<address>Apache/2.2.15 (CentOS) Server at 192.168.41.2 Port 443</address>
</body></html>

but the call server side looks ok

 InMemoryResponse(

            var ruleTable = $('#'+"grid_rules_grid_zone").dataTable();
            var currentPageRow = ruleTable._('tr', {"page":"current"});
            var currentPageIds = $.map( currentPageRow , function(val) { return val.id});
            computeChangeGraph({"x": ["2017-02-10 12:00 - 18:00", "2017-02-10 18:00 - 00:00", "2017-02-11 00:00 - 06:00", "2017-02-11 06:00 - 12:00", "2017-02-11 12:00 - 18:00", "2017-02-11 18:00 - 00:00", "2017-02-12 00:00 - 06:00", "2017-02-12 06:00 - 12:00", "2017-02-12 12:00 - 18:00", "2017-02-12 18:00 - 00:00", "2017-02-13 00:00 - 06:00", "2017-02-13 06:00 - 12:00", "2017-02-13 12:00 - 18:00"]
, "y": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 7]
, "t": [1486728000000, 1486749600000, 1486771200000, 1486792800000, 1486814400000, 1486836000000, 1486857600000, 1486879200000, 1486900800000, 1486922400000, 1486944000000, 1486965600000, 1486987200000]
},"32377fd7-02fd-43d0-aab7-28460a91347b",currentPageIds, 10);computeChangeGraph({"x": ["2017-02-10 12:00 - 18:00", "2017-02-10 18:00 - 00:00", "2017-02-11 00:00 - 06:00", "2017-02-11 06:00 - 12:00", "2017-02-11 12:00 - 18:00", "2017-02-11 18:00 - 00:00", "2017-02-12 00:00 - 06:00", "2017-02-12 06:00 - 12:00", "2017-02-12 12:00 - 18:00", "2017-02-12 18:00 - 00:00", "2017-02-13 00:00 - 06:00", "2017-02-13 06:00 - 12:00", "2017-02-13 12:00 - 18:00"]
, "y": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, 2]
, "t": [1486728000000, 1486749600000, 1486771200000, 1486792800000, 1486814400000, 1486836000000, 1486857600000, 1486879200000, 1486900800000, 1486922400000, 1486944000000, 1486965600000, 1486987200000]
},"a303355b-8da0-4b7e-8556-dea94a1fb970",currentPageIds, 39);computeChangeGraph({"x": ["2017-02-10 12:00 - 18:00", "2017-02-10 18:00 - 00:00", "2017-02-11 00:00 - 06:00", "2017-02-11 06:00 - 12:00", "2017-02-11 12:00 - 18:00", "2017-02-11 18:00 - 00:00", "2017-02-12 00:00 - 06:00", "2017-02-12 06:00 - 12:00", "2017-02-12 12:00 - 18:00", "2017-02-12 18:00 - 00:00", "2017-02-13 00:00 - 06:00", "2017-02-13 06:00 - 12:00", "2017-02-13 12:00 - 18:00"]
, "y": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0]
, "t": [1486728000000, 1486749600000, 1486771200000, 1486792800000, 1486814400000, 1486836000000, 1486857600000, 1486879200000, 1486900800000, 1486922400000, 1486944000000, 1486965600000, 1486987200000]
},"c57f53b0-8e09-4b31-9180-454e03235d84",currentPageIds, 2);computeChangeGraph({"x": ["2017-02-10 12:00 - 18:00", "2017-02-10 18:00 - 00:00", "2017-02-11 00:00 - 06:00", "2017-02-11 06:00 - 12:00", "2017-02-11 12:00 - 18:00", "2017-02-11 18:00 - 00:00", "2017-02-12 00:00 - 06:00", "2017-02-12 06:00 - 12:00", "2017-02-12 12:00 - 18:00", "2017-02-12 18:00 - 00:00", "2017-02-13 00:00 - 06:00", "2017-02-13 06:00 - 12:00", "2017-02-13 12:00 - 18:00"]
, "y": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
, "t": [1486728000000, 1486749600000, 1486771200000, 1486792800000, 1486814400000, 1486836000000, 1486857600000, 1486879200000, 1486900800000, 1486922400000, 1486944000000, 1486965600000, 1486987200000]
},"b4ef9312-1ac7-41de-bf50-b058a27c8a14",currentPageIds, 0)
            resortTable("grid_rules_grid_zone")
          ;, List((Content-Length,3109), (Content-Type,text/javascript; charset=utf-8)), List(), 200)

Associated revisions

Revision d0243339
Added by Raphaël Gauthier 7 months ago

Fixes #10194: Recent changes aren't display sometimes on Rules list

History

#1 Updated by François ARMAND 7 months ago

  • Assignee set to François ARMAND

#2 Updated by Raphael GAUTHIER 7 months ago

  • Status changed from New to In progress
  • Assignee changed from François ARMAND to Raphael GAUTHIER

#3 Updated by Raphael GAUTHIER 7 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Raphael GAUTHIER to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/1507

#4 Updated by Anonymous 7 months ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

#5 Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.0~rc1 which was released today.

Also available in: Atom PDF