Bug 1933291 - ERROR 405: Cannot download charts index from server
Summary: ERROR 405: Cannot download charts index from server
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: netdata
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Didier Fabert (tartare)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-26 14:28 UTC by Alan Brown
Modified: 2024-10-22 04:25 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-06-23 10:01:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.