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

HTTP agent fails with redirects (seems not used -b, --cookie <data> curl option)

XMLWordPrintable

    • Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023)
    • 1

      Steps to reproduce:

      1. Configured HTTP agent item with basic auth.
      2. Try to execute item.

      Result:
      Get redirects exception ("Cannot perform request: Maximum (10) redirects followed") because Zabbix is not saving cookies from redirects when auth.

      Also this problem occurs if I'm use curl without -b option (excepted 50 redirects), but when I set option -b true, then problem is gone.

      This redirects may see in postman console:

            askolmeisters Armands Arseniuss Skolmeisters
            Evgeny.Semerikov@x5.ru Evgeny Semerikov
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: