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

Script item timeout is not working

XMLWordPrintable

    • Sprint 84 (Jan 2022)
    • 1

      Steps to reproduce:

      1. Create script item with the default timeout (3s) and the following script:
      var result = '',
          request = new HttpRequest();
      
      while (true) {
          result += request.get('https://deelay.me/2000/https://assets.zabbix.com/img/favicon.ico');
      }
      
      return result; 
      1. Reload the configuration cache and use the Execute Now button to retrieve the value.
      2. Observe that item is not receiving data and is not receiving the timeout error for a long time (much longer than the defined timeout).

      Expected:
      It is expected that timeout specified would be tolerated better and the item would not stay in this "hanged" state for a long period of time.

            dgoloscapov Dmitrijs Goloscapovs
            vjaceslavs Vjaceslavs Bogdanovs
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: