1 (edited by richardw 2018-12-19 02:18:00)

Topic: netdata ERROR 405: Cannot download charts index

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
0.9.8 - iRedMail version (check /etc/iredmail-release):
installer - Deployed with iRedMail Easy or the downloadable installer?
Ubuntu 18.04- Linux/BSD distribution name and version:
MySQL - Store mail accounts in which backend (LDAP/MySQL/PGSQL):
NGINX - Web server (Apache or Nginx):
No - Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

while I can login to netdata, I get this every time and nothing is displayed (exceot the netdata logo):
if I view source, I can see all the html however.

ERROR 405: Cannot download charts index from server: https://192.168.0.87/netdata/api/v1/charts

can you steer me in the right direction?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by richardw 2018-12-19 05:22:28)

Re: netdata ERROR 405: Cannot download charts index

latest access log:

2018-12-18 11:55:30: 1018: 50963 '[localhost]:45868' 'DISCONNECTED'
2018-12-18 11:55:33: 1019: 50963 '[localhost]:45872' 'CONNECTED'
2018-12-18 11:55:33: 1019: 50963 '[localhost]:45872' 'DATA' (sent/all = 56/38 bytes -48544063351867236352%, prep/sent/total = 0.03/0.18/0.21 ms) 400 '/api/v1/alarms?active&_=1545159328396'
2018-12-18 11:55:33: 1019: 50963 '[localhost]:45872' 'DISCONNECTED'
2018-12-18 11:55:33: 1020: 50963 '[localhost]:45874' 'CONNECTED'
2018-12-18 11:55:33: 1020: 50963 '[localhost]:45874' 'DATA' (sent/all = 56/38 bytes -48544063351867236352%, prep/sent/total = 0.01/0.18/0.19 ms) 400 '/api/v1/registry?action=hello&_=1545159328397'
2018-12-18 11:55:33: 1020: 50963 '[localhost]:45874' 'DISCONNECTED'
2018-12-18 11:55:43: 1021: 50963 '[localhost]:45882' 'CONNECTED'
2018-12-18 11:55:43: 1021: 50963 '[localhost]:45882' 'DATA' (sent/all = 56/38 bytes -48544063351867236352%, prep/sent/total = 0.01/0.18/0.20 ms) 400 '/api/v1/alarms?active&_=1545159328398'
2018-12-18 11:55:43: 1021: 50963 '[localhost]:45882' 'DISCONNECTED'
2018-12-18 11:55:53: 1022: 50963 '[localhost]:45896' 'CONNECTED'
2018-12-18 11:55:53: 1022: 50963 '[localhost]:45896' 'DATA' (sent/all = 56/38 bytes -48544063351867236352%, prep/sent/total = 0.01/0.07/0.08 ms) 400 '/api/v1/alarms?active&_=1545159328399'
2018-12-18 11:55:53: 1022: 50963 '[localhost]:45896' 'DISCONNECTED'

and in the web console:
GET https://mail.example.com/netdata/api/v1 … 5159328797 400 (Bad Request)
ERROR 415: Netdata alarms download failed: https://mail.example.com/netdata

and got this from /api/v1/charts:

This host does not maintain a database

3

Re: netdata ERROR 405: Cannot download charts index

Is the netdata service running?