# Error while generating reports

**URL:** <https://community.graylog.org/t/error-while-generating-reports/24571>\
**Category:** Graylog Central (peer support)\
**Created:** [July 1, 2022, 9:06am UTC](https://community.graylog.org/t/error-while-generating-reports/24571 "2022-07-01T09:06:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmorin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gmorin/32/12744_2.png) [@gmorin](https://community.graylog.org/u/gmorin)\
**Post date:** [July 1, 2022, 9:06am UTC](https://community.graylog.org/t/error-while-generating-reports/24571/1 "2022-07-01T09:06:26Z")

</div>

Hi dear Graylog Community members,

I tred unsuccessfully to generate reports following this tutorial : [Setup - Reporting (graylog.org)](https://docs.graylog.org/docs/setup-reporting)

Each time, I have the following error that appears in my browser :

{“type”:“ChromedriverError”,“message”:“Error occurred during startup of chromedriver.\nStartup Logs: ChromeDriver was started successfully.\n\nRoot Cause: Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: crashed.\n (unknown error: DevToolsActivePort file doesn’t exist)\n (The process started from chrome location /usr/share/graylog-server/bin/headless\_shell\_amd64 is no longer running, so ChromeDriver is assuming that Chrome has crashed.)\nBuild info: version: ‘4.1.2’, revision: ‘9a5a329c5a’\nSystem info: host: ‘[hostname]’, ip: ‘127.0.1.1’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘[os version]’, java.version: ‘11.0.15’\nDriver info: org.openqa.selenium.chrome.ChromeDriver\nCommand: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [–headless, --disable-gpu, --disable-extensions, --disable-notifications, --disable-plugins-discovery, --disable-sync, --disable-translate, --disable-background-networ…, --disable-default-apps, --no-experiments, --no-first-run, --log-level=3, --enable-logging=stderr, --user-data-dir=/var/lib/gr…], binary: /usr/share/graylog-server/b…, extensions: }}], desiredCapabilities=Capabilities {browserName: chrome, goog:chromeOptions: {args: [–headless, --disable-gpu, --disable-extensions, --disable-notifications, --disable-plugins-discovery, --disable-sync, --disable-translate, --disable-background-networ…, --disable-default-apps, --no-experiments, --no-first-run, --log-level=3, --enable-logging=stderr, --user-data-dir=/var/lib/gr…], binary: /usr/share/graylog-server/b…, extensions: }}}]”}

I found several topics about the report generation problems, but I did not found anything regarding this error.

My configuration : Debian 10, Graylog 4.3.2, small business licence.

Many thanks in advance for your help.

---

<div class="post-metadata">

**Author:** ![tmacgbay](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/tmacgbay/32/3878_2.png) [@tmacgbay](https://community.graylog.org/u/tmacgbay)\
**Post date:** [July 1, 2022, 2:01pm UTC](https://community.graylog.org/t/error-while-generating-reports/24571/2 "2022-07-01T14:01:51Z")

</div>

Are you using the browser on the Linux machine? It may be an older version of Chrome and not compatible with what you are doing

---

<div class="post-metadata">

**Author:** ![gmorin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gmorin/32/12744_2.png) [@gmorin](https://community.graylog.org/u/gmorin)\
**Post date:** [July 4, 2022, 7:32am UTC](https://community.graylog.org/t/error-while-generating-reports/24571/3 "2022-07-04T07:32:13Z")

</div>

Well, it’s a server so I don’t have any GUI… The Chrome software was not in the list of required packages in the documents I followed while installing, so I don’t really understand why it needs Chrome to generate reports

---

<div class="post-metadata">

**Author:** ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)\
**Post date:** [July 5, 2022, 2:01am UTC](https://community.graylog.org/t/error-while-generating-reports/24571/4 "2022-07-05T02:01:46Z")

</div>

Hello,

> [@gmorin](#):
>
> The Chrome software was not in the list of required packages in the documents I followed while installing, so I don’t really understand why it needs Chrome to generate reports

You may want to look here for more information on Reports.  
and I quote:

“_You can create a report on the “Operations/Reports” page in the web interface_.”

- [Usage](https://docs.graylog.org/v1/docs/usage-reporting)

Any browser will do. Firefox works pretty good, Chrome can have issues from time to time.

> [@gmorin](#):
>
> Well, it’s a server so I don’t have any GUI…

You can use another device that does have a browser to connect to Graylog Web UI. if your using **Localhost** , or **127.0.0.1** you may need to rethink you network configuration to something like a static IP address or FQDN in Graylog configuration file.

---

<div class="post-metadata">

**Author:** ![gmorin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gmorin/32/12744_2.png) [@gmorin](https://community.graylog.org/u/gmorin)\
**Post date:** [July 5, 2022, 6:54am UTC](https://community.graylog.org/t/error-while-generating-reports/24571/5 "2022-07-05T06:54:24Z")

</div>

Hi @gsmith,

> [@gsmith](#):
>
> You may want to look here for more information on Reports.  
> and I quote:
> 
> “_You can create a report on the “Operations/Reports” page in the web interface_.”
> 
> - [Usage - Reporting](https://docs.graylog.org/v1/docs/usage-reporting)

Thanks for the link. I’ve already followed that tutorial, but it does not work for me. I can access the menu, configure the reports and send them by email. Everytime, it fails, because of a serverside chrome dependancy (first logs I posted on this topic).

That’s what I don’t understand, why is this thing crashing ? For browsing the web, I’m using Edge (chromium) or Firefox, and in every case I get the same error while attempting to generate a report from the web ui.

So I think it’s not related to a web browser issue or something like this. 😬

> [@gmorin](#):
>
> The process started from chrome location /usr/share/graylog-server/bin/headless\_shell\_amd64 is no longer running, so ChromeDriver is assuming that Chrome has crashed.

This line in the log files is clearly pointing on a Graylog Server component, but I did not install chrome manually on this server so far. 🤔 If someone could help me to undestand what all of this means, I would be very grateful.

> [@gsmith](#):
>
> You can use another device that does have a browser to connect to Graylog Web UI. if your using **Localhost** , or **127.0.0.1** you may need to rethink you network configuration to something like a static IP address or FQDN in Graylog configuration file.

What I was implying here is that on the server I can’t use a web browser using any ui but I can of course run firefox in command line. I can access it via another IP address than it’s localhost 😉

---

<div class="post-metadata">

**Author:** ![gmorin](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gmorin/32/12744_2.png) [@gmorin](https://community.graylog.org/u/gmorin)\
**Post date:** [July 5, 2022, 11:31am UTC](https://community.graylog.org/t/error-while-generating-reports/24571/6 "2022-07-05T11:31:43Z")

</div>

Hi @gsmith and @tmacgbay,

After reading several topics, I finally solved my issue thanks to [this one](https://community.graylog.org/t/report-generation-error/8889/9) (outdated, but it worked for me). For some reason, things are not always as easy as they seems.

- I added some packages to my installation :  
`chromium, libx11-6, libx11-data, libx11-dev`

- And the following line at the end of the server.conf file :  
`report_disable_sandbox = true`

After restarting the graylog server, this part works flawlessly.

Hoping that this post will help other people, thanks for your help ! 😃 👍

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [July 19, 2022, 11:32am UTC](https://community.graylog.org/t/error-while-generating-reports/24571/7 "2022-07-19T11:32:36Z")

</div>

Closed on July 19, 2022, 11:32am UTC

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