Pdfexport failed

  • Icinga Web 2 version : 2.11.1

  • Used modules :

  • Web browser : chrome

  • Icinga 2 version used : r2.13.5-1

  • PHP version used : 7.3.20

  • Server operating system and version :
    Platform: Red Hat Enterprise Linux Server
    Platform version: 7.8 (Maipo)
    Kernel: Linux
    Kernel version: 3.10.0-1160.76.1.el7.x86_64
    Architecture: x86_64

  • google version : Google Chrome 106.0.5249.119

  • Local binary on pdfexport config : /usr/bin/google-chrome

The pdfexport failed with this error message :

Received empty response or none at all from browser. Please check the logs for further details.


#0 /usr/share/icingaweb2/modules/pdfexport/library/Pdfexport/ProvidedHook/Pdfexport.php(106): Icinga\Module\Pdfexport\HeadlessChrome->toPdf() #1 /usr/share/icingaweb2/modules/reporting/application/controllers/ReportController.php(128): Icinga\Module\Pdfexport\ProvidedHook\Pdfexport->streamPdfFromHtml(Object(Icinga\Module\Pdfexport\PrintableHtmlDocument), String) #2 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Module\Reporting\Controllers\ReportController->downloadAction() #3 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch(String) #4 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #5 /usr/share/php/Icinga/Application/Web.php(290): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #6 /usr/share/php/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch() #7 /usr/share/icingaweb2/public/index.php(4): require_once(String) #8 {main}

Please check the logs for further details.

Have you checked the log? Please include the relevant messages here.

I put the debugmode, but there is nothing concerning this issue.

Please confirm which log file/s you checked to get further information.

Antony.

/var/log/icinga2/debug.log
/var/log/icinga2/icinga2.log
/var/log/system.log
/var/log/httpd/*.log

The module pdfexport doesn’t work. I uninstalled reporting and pdfexport.