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

Server returned invalid UTF-8 sequence

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 4.2.1
    • Frontend (F), Server (S)
    • None
    • Test env:
      Debian 9.9
      Mysql version 10.1.38-MariaDB-0+deb9u1
      zabbix db charset: utf8 collation: utf8_bin
    • Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 59 (Dec 2019), Sprint 60 (Jan 2020), Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020), Sprint 66 (Jul 2020), Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020)

       
      I am already with this problem for more than 3 weeks now and is driving me insane.

      Trying to create an monitoring via HTTP Agent
      Version of Zabbix: 4.2.1
      Request Body Type: XML Data
      Not Converting to Json, but already tried this option
      SSL verified peer/host off but already tried this option on
      No HTTP Proxy

      looked everywhere what this error means (really) and could not find

      Already put the log debug until 5, no luck also

      if the return has an iso-8859-1, even with a preprocessor in place, gives an error

      Preprocessors I tried to convert the characters, the test of the preprocessor works, but the error persists

      ==> return value.replace(/ã/g,'a').replace(/ç/g,'c');
      ==> return unescape(encodeURIComponent(value));

      Preprocessors I tried just to extract part of the return (just to confirm the preprocessor was not working)

      ==> ^(?<=\<ns2:status>)(.*?)(?=\</ns2:status>)$
      ==> (?<=\<ns2:status>)(.*?)(?=\</ns2:status>)

      the logs show that,even with the preprocessing rule, when the ISO characters are not there, the data is inserted in the db, and processed, if not, the error appear right at the moment that the DB is supposed to insert the data and it  is right away discarding the data, like the rules are being completely ignored.

      there is 10 preprocessors processes started

            zabbix.dev Zabbix Development Team
            tammyt Tammy T
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: