Ad Widget

Collapse

Reporting - context canceled

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rs64
    Junior Member
    • Apr 2022
    • 2

    #1

    Reporting - context canceled

    I recently upgraded our Zabbix server from Ubuntu 20.04 to 22.04 and then from Zabbix 5.4 to 6.2. This is a headless server with Ungoogled Chromium installed for reporting. Zabbix is locally installed and does NOT run in a container/docker.
    Both upgrades seemed to go fine except reports now fail with an unusual error:


    Click image for larger version

Name:	Zabbix report fail.png
Views:	856
Size:	12.4 KB
ID:	448813

    Cannot fetch data: context canceled.

    This error also appears in the web service log:

    2022/07/27 23:03:23.616706 received report request from 127.0.0.1:56756
    2022/07/27 23:03:23.617173 making chrome headless request with parameters url: http://localhost/zabbix/zabbix.php?a...shboardid=1&fr om=2022-07-26%2000%3A00%3A00&to=2022-07-27%2000%3A00%3A00, width: 1920, height: 1342 for report request from 127.0.0.1:56756
    2022/07/27 23:03:25.002479 Cannot fetch data: context canceled.


    Zabbix does seem to be attempting to run chromium - eg. if I rename /usr/bin/chromium temporarily, the error changes to:

    Cannot fetch data: chrome failed to start:
    /system.slice/zabbix-web-service.service is not a snap cgroup


    Can anyone suggest options please? My last resort is to build and migrate Zabbix to a fresh 22.04 server.
Working...