Docker Enterprise Plugin Reporting I

I have been running Graylog 3 in docker on Linux Mint for a few months and signed up for an Enterprise license and installed the enterprise plugin. The Enterprise reports never generate but instead give the following error:

{“type”:“ApiError”,“message”:“unknown error: Chrome failed to start: exited abnormally\n (unknown error: DevToolsActivePort file doesn’t exist)\n (The process started from chrome location /usr/share/graylog/bin/headless_shell is no longer running, so ChromeDriver is assuming that Chrome has crashed.)\n (Driver info: chromedriver=72.0.3583.1 (9ae827a6f6bbc9186d4e79681de885ce77d5bfe9),platform=Linux 4.15.0-46-generic x86_64) (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 66 milliseconds\nBuild info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’\nSystem info: host: ‘359e32c930b5’, ip: ‘172.17.0.5’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘4.15.0-46-generic’, java.version: ‘1.8.0_212’\nDriver info: driver.version: RemoteWebDriver”}

I have set the data_dir, bin_dir and also set report_disable_sandbox to true which were the only three fixes I found searching similar posts. I am aware of the reporting setup documentation but I do not know what else may apply to using docker other than what I have already tired.

Did you:

  • checked if data_dir and bin_dir exists?
  • did you jumped into the container and run the script in the bin dir?

Checked and both data_dir and bin_dir exist and look correct.

Might be worth stating that I am also binding the plugin files through docker but they are all in correct place.

I get the following for root and non root and I know that the .sh files has proper permissions

./chromedriver_start.sh: 11: ./chromedriver_start.sh: : Permission denied

./headless_shell --no-sandbox
[0521/122054.647149:WARNING:resource_bundle.cc(358)] locale_file_path.empty() for locale
[0521/122054.653890:WARNING:resource_bundle.cc(358)] locale_file_path.empty() for locale
Fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown element “blank”
Unable to revert mtime: /usr/local/share/fonts
[0521/122054.659298:ERROR:gpu_process_transport_factory.cc(967)] Lost UI shared context.
[0521/122054.661098:ERROR:zygote_host_impl_linux.cc(259)] Failed to adjust OOM score of renderer with pid 879: Permission denied (13)
[0521/122054.666459:WARNING:resource_bundle.cc(358)] locale_file_path.empty() for locale
[0521/122054.666855:ERROR:egl_util.cc(59)] Failed to load GLES library: libGLdispatch.so.0: cannot open shared object file: No such file or directory
[0521/122054.668029:ERROR:viz_main_impl.cc(184)] Exiting GPU process due to errors during initialization
[0521/122054.675756:WARNING:resource_bundle.cc(358)] locale_file_path.empty() for locale
[0521/122054.676159:ERROR:egl_util.cc(59)] Failed to load GLES library: libGLdispatch.so.0: cannot open shared object file: No such file or directory
[0521/122054.677278:ERROR:viz_main_impl.cc(184)] Exiting GPU process due to errors during initialization

chromedriver binds to an address properly

what exact version are you using ? So did you use the latest container?

Container 3.0.1 and plugin was the same version 3.0.1. I can move to the latest container and plugin if you think that would be best to try next?

we fixed some issues - would be better!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.