Graylog2 / Graylog2/graylog2-server
Configurations page throws error when requests take too long.
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
The configurations page can throw an error, it is only sometimes visible, due to the cause of the problem. It can be reproduced by manually throttling the network speed.
In the `ConfigurationsPage` we are showing all child config components, once the `loaded` state is `true`. Currently we are using an interval to check if the props provide any configuration. Once there is a configuration we are changing the `loaded` state to `true`.
The problem is we are using a request for each config and it is possible that some requests take longer than others. this is also the reason why the thrown error message can vary.
All error messages are being thrown because a component like `SearchesConfig`, `MessageProcessorsConfig`, etc. requires a config, but the config prop is null.
* Graylog Version: Not part of a release, but the current master
Contributor guide
Assessment
This issue has not been assessed yet.