Could be the same issue I was having:
Which incidentally is here in the upgrade notes:
https://docs.graylog.org/en/4.0/pages/upgrade/graylog-4.0.html#deprecation-of-cluster-stats-endpoints