[ZBX-24702] Scheduled reports timeout Created: 2024 Jun 21  Updated: 2024 Nov 19  Resolved: 2024 Sep 29

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 6.4.15
Fix Version/s: 7.0.5rc1, 7.2.0alpha1

Type: Problem report Priority: Trivial
Reporter: Shane Arnold Assignee: Mihails Prihodko
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: 65h
Original Estimate: Not Specified

Attachments: PNG File image-2024-08-28-17-46-19-210.png     HTML File pdf_report_fix    
Issue Links:
Duplicate
is duplicated by ZBX-24713 Zabbix Web Service in Docker Timeout Closed
is duplicated by ZBX-25144 Scheduled Reports generation timeout Closed
Related
related to ZBXNEXT-6750 Option to ignore SSL certificate in P... Closed
related to ZBXNEXT-6478 Scheduled PDF report generation servi... Closed
related to ZBX-20765 Empty PDF file is generated by Schedu... Closed
related to ZBX-25152 Custom timeout for "Scheduled report ... Needs specification
Team: Team INT
Sprint: S24-W26/27, S24-W28/29, S24-W34/35, S24-W38/39
Story Points: 2

 Description   

Steps to reproduce:

  1. Create a scheduled report based on a dashboard
  2. Attempt to test the scheduled report
  3. Report generation times out

Rolling back the installed version of zabbix_web_service to 6.4.9 has the same scheduled report generated within a reasonable timeframe.



 Comments   
Comment by Shane Arnold [ 2024 Jun 21 ]

Found the cause of the timeouts on the correct version of zabbix_web_service. When accessing a URL that is SSL enabled, you will need to make sure zabbix_web_service knows how to handle/validate the certificate. In my case, I simply told zabbix_web_service to ignore the invalid SSL certificate, which allowed the report to then be generated.

It would be beneficial if zabbix_web_service logged any browser issues. I was running a DebugLevel = 5 and there was no indication of the reason why the report could not be generated, other than a generic timeout message in the frontend and in the log.

Comment by Tomáš Pavlovič [ 2024 Jul 24 ]

Hi, we have problem with reporting on server with OS Ubuntu 22.04, ZBX server version 7.0.1.

When attempt to test the scheduled report status is "Cannot connect to web service: Timeout was reached".

Here is record from log file /var/log/zabbix/zabbix_web_service.log

2024/07/24 15:29:58.251290 received report request from 127.0.0.1:39710
2024/07/24 15:29:58.251718 making chrome headless request with parameters url: https://FQDN/zabbix/zabbix.php?action=dashboard.print&dashboardid=57&from=2024-07-23%2000%3A00%3A00&to=2024-07-24%2000%3A00%3A00, width: 1920, height: 1080 for report request from 127.0.0.1:39710
2024/07/24 15:30:58.982644 timeout occurred while dashboard was getting ready, url: 'https://FQDN/zabbix/zabbix.php?action=dashboard.print&dashboardid=57&from=2024-07-23%2000%3A00%3A00&to=2024-07-24%2000%3A00%3A00'
2024/07/24 15:30:59.011100 writing response for report request from 127.0.0.1:39710

 

Configuration file /etc/zabbix/zabbix_web_service.conf are define:

AllowedIP=....

Timeout is default 3

I tried to set up Timeout 30 , 60 but without change function scheduled reports too.

 

Configuration file /etc/zabbix/zabbix_server.conf are define:

StartReportWriters=3

WebServiceURL=http://127.0.0.1:10053/report

 

Administration > General > Other - Frontend URL is define: https://FQDN/zabbix .

I tried to set up custom timeout for "Schedulet report test" in Administration > General > Timeouts on value 120s, but without change function scheduled reports too.

 

Thanks.

 

Tomas

 

 

Comment by Mihails Prihodko [ 2024 Sep 05 ]

Hi, Pavlovič, I registered one more issue ZBX-25152 while checking your comment. Thank you for your input.

Comment by Mihails Prihodko [ 2024 Sep 27 ]

Available in versions:

Generated at Tue Apr 29 08:43:56 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.