Bug 1933291

Summary: ERROR 405: Cannot download charts index from server
Product: [Fedora] Fedora EPEL Reporter: Alan Brown <ajb2>
Component: netdataAssignee: Didier Fabert (tartare) <didier.fabert>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel7CC: didier.fabert
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-23 10:01:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alan Brown 2021-02-26 14:28:01 UTC
Description of problem:

Latest updates for Netdata result in webclient acces FAILING with

ERROR 405: Cannot download charts index from server: http://localhost:19999/api/v1/charts


Version-Release number of selected component (if applicable):

netdata-1.28.0- 1,2, 
netdata-1.29.0-1

How reproducible:

100%


Steps to Reproduce:
1. Update working older netdata using yum upgrade
2. reboot
3. Netsata no longer works

Actual results:

Charts no longer display on localhost:19999, with javascript error message as above


Expected results:

charts should display


Additional info:

This bug appears to be known upstream in OLDER versions of netdata and is due to "nan" returns instead of "0"

Comment 1 Didier Fabert (tartare) 2021-02-27 13:16:05 UTC
Hi,
Did you try the last version (in testing), which is the 1.29.2 ?

Can you tell me if it's a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1918443 ? or if problem is completely different.

BTW 1.29.3 is out, I prepare it ASAP

Cheers,

Comment 2 Alan Brown 2021-03-01 22:15:46 UTC
It's a different error

I wasn't using -testing, will try that now

Comment 3 Alan Brown 2021-03-01 22:21:00 UTC
Ok, using 1.29.3, the error is stil there

nothing obvious is showing in /var/log/netdata


Using jsonlint.com's validator on the old version: 

Error: Parse error on line 17676:
...s": {				"fdperc": nan			},			"green"
----------------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

Comment 4 Didier Fabert (tartare) 2021-03-02 08:02:23 UTC
Do you have one or more modified config files by hand (or with edit-config script) or do you still have default files ?

In case of no, this bug must be escalate to upstream and if you don't do it yet, I can open it for you.

Pretty sure that json file will be asked for this, so can you prepare a obfuscate version ?

Comment 5 Red Hat Bugzilla 2024-10-22 04:25:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days