Ad Widget

Collapse

Error Item Unrecognized content encoding type

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Daniel Montoya
    Junior Member
    • Nov 2023
    • 9

    #1

    Error Item Unrecognized content encoding type

    Hello, Nice to be part of the Zabbix forum.
    We are having an error when performing a Get from an Internal API
    Our infrastructure is formed by a Zabbix 6.2 server in Azure connected to a Zabbix Proxy 6.2.9 server, both servers have a Linux Oracle 8.6 operating system.
    The main error we understand that Zabbix does not know how to decompress the content extracted in the GET,
    I attach images of the Item and error configuration.
    We would appreciate any kind of help,
    Thank you very much
    Attached Files
  • ISiroshtan
    Senior Member
    • Nov 2019
    • 324

    #2
    Hey

    Can you communicate with API by any other means? Like curl or any other console HTTP agent? Which headers do you set for that?

    Also did you try to ask API to do gzip encoding that is supported by libcurl, as state in an error message. Instead of saying that you can accept any encoding by setting "Accept-Encoding​: *"

    Comment

    • Daniel Montoya
      Junior Member
      • Nov 2023
      • 9

      #3
      Good morning,
      From Postman the same API works correctly
      The configured headers are:

      - User-Agent
      - Accept-Encoding

      Thanks for the reply,

      Comment

      • fmendonca00
        Junior Member
        • Mar 2022
        • 1

        #4
        Hello, did you manage to get around the problem?

        I have the same error, but in the web scenario: Unrecognized content encoding type. libcurl understands deflate, gzip, br content encodings.
        I tried to get around it with the "Accept-Encoding: *", but I was unsuccessful.
        Attached Files

        Comment

        Working...