Project

General

Profile

Actions

Bug #9266

closed

status_monitoring.php : failed to have quality graph

Added by David REYNAUD over 5 years ago. Updated over 4 years ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
RRD Graphs
Target version:
-
Start date:
01/10/2019
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4_1
Affected Architecture:
amd64

Description

Problem :
---------------------------------------------------------
Status, Monitoring, failed to display the quality Graph

The GUI display the error "Error: [object XMLHttpRequest]" in place of the graph.

Steps to reproduce :
---------------------------------------------------------
2.4.4-RELEASE-p2 AMD64 deployed on VMware 6.0

pfSense WEB-GUI > Status > Monitoring > Settings > Left Axis : Quality > Clic "Update Graphs" button

After 10 seconds an error message is displayed in place off the graph :
Error: [object XMLHttpRequest]

We have tried to reproduce on two pfSense instance and obtained the same error.

HTTP Headers details for rrd_fetch_json.php :
---------------------------------------------------------
Request URL: https://x.x.x.x/rrd_fetch_json.php
Request Method: POST
Status Code: 502
Remote Address: x.x.x.x:443
Referrer Policy: no-referrer-when-downgrade
content-length: 568
content-type: text/html
date: Thu, 10 Jan 2019 16:39:24 GMT
server: nginx
status: 502
:authority: x.x.x.x
:method: POST
:path: /rrd_fetch_json.php
:scheme: https
accept: application/json,*/*
accept-encoding: gzip, deflate, br
accept-language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
content-length: 121
content-type: application/x-www-form-urlencoded
cookie: PHPSESSID=zzzzzzzzzzzzzzzzzzzzzzz
origin: https://x.x.x.x
referer: https://x.x.x.x/status_monitoring.php
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
left: GW_WAN-quality
right: null
start:
end:
resolution: 300
timePeriod: -1d
graphtype: line
invert: true
refreshInterval: 60000

Actions #1

Updated by Joshua Sign over 5 years ago

Hi David,

I just try to reproduce but without any success.
Even on a fresh install 2.4.4-RELEASE-p2 (amd64) or another one in 2.4.4-RELEASE-p1 (amd64).
I got exactly the same version of chrome: this shouldn't be browser dependant.

Your HTTP Header have "status 502" : proxy or gateway problem
Do you use any proxy or gateway to connect to your pfSense ?

Can you try to directly access to the https://x.x.x.x/rrd_fetch_json.php and check if it respond something like : { "error" : "Invalid RRD file" }

You can also check if you have the file you need for this graph : /var/db/rrd/GW_WAN-quality.rrd

Josh_

Actions #2

Updated by David REYNAUD over 5 years ago

A direct acccess to https://x.x.x.x/rrd_fetch_json.php display { "error" : "Invalid RRD file" }

Checking if the file exists /var/db/rrd/GW_WAN-quality.rrd : the file exists

Regards.

Actions #3

Updated by Jim Pingle over 4 years ago

  • Status changed from New to Not a Bug

Sounds like some kind of local system corruption in that RRD file. Resetting the RRD contents should fix it. Post on the forum for assistance.

Actions

Also available in: Atom PDF