Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-25501

v7.0: failed report generation - 'net::ERR_UNKNOWN_URL_SCHEME'

    • S24-W48/49, S24-W50/51/52
    • 1

      When I test reports generation using recent 7.0.6rc1, I'm quickly getting this error:

      Report generating test failed.
      Cannot fetch data.: network.EventLoadingFailed event with ErrorText = 'net::ERR_UNKNOWN_URL_SCHEME' was received while loading dashboard.
      

      In web services log I see

      2024/11/04 11:26:31.485865 received report request from [::1]:51978
      2024/11/04 11:26:31.486119 making chrome headless request with parameters url: http://localhost/dev/7.0/zabbix.php?action=dashboard.print&dashboardid=1&from=2024-11-03%2000%3A00%3A00&to=2024-11-04%2000%3A00%3A00, width: 1920, height: 1080 for report
       request from [::1]:51978
      2024/11/04 11:26:31.622414 chromedp.Run exited, with err: unable to execute *target.SetDiscoverTargetsParams: context canceled
      2024/11/04 11:26:31.622510 Cannot fetch data.: network.EventLoadingFailed event with ErrorText = 'net::ERR_UNKNOWN_URL_SCHEME' was received while loading dashboard.
      

      While keeping zabbix_server v7.0, when I stop web_service of v7.0, and start web_service of v6.2, the report generation is successful, log with level 5:

      2024/11/04 11:25:05.740203 received report request from [::1]:56588
      2024/11/04 11:25:05.740319 making chrome headless request with parameters url: http://localhost/dev/7.0/zabbix.php?action=dashboard.print&dashboardid=1&from=2024-11-03%2000%3A00%3A00&to=2024-11-04%2000%3A00%3A00, width: 1920, height: 1080 for report
       request from [::1]:56588
      2024/11/04 11:25:07.003304 writing response for report request from [::1]:56588
      

      When testing opposite pair - zabbix_server 6.4 and web_service 7.0 - the same ERR_UNKNOWN_URL_SCHEME error.

      Note - on the same Linux box, when testing zabbix_server+web_service of the same major versions 6.0, 6.2, 6.4 - all pairs work fine, except of 7.0, as I already stated.

      Just a note - not sure why , but when testing zabbix_server v7.0 and web_service other versions, it worked only with v6.2, while with versions v6.0 or v6.4 I was getting timeout after 60 seconds.

      All zabbix components were compiled from sources, on the same test Linux box, no env changes.

            dgoloscapov Dmitrijs Goloscapovs
            zalex_ua Oleksii Zagorskyi
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: