Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-7906

'using uninitialized "access_logs_enabled" variable while logging request' warn is logged when a request URI is too large

XMLWordPrintable

    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • +
    • Hide
      1. Sending requests to a public base URL of a Product with query parameters exceeding 8K bytes
        e.g. https://api.example.com/?user_key=<user_key>&foo=aaaa.....(followed by 10000 characters)
      Show
      Sending requests to a public base URL of a Product with query parameters exceeding 8K bytes e.g. https://api.example.com/?user_key= <user_key>&foo=aaaa.....(followed by 10000 characters)

      When a request URI is too large, APIcast logs warn messages like this

      021/11/18 03:21:10 [warn] 23#23: *35292 using uninitialized "access_logs_enabled" variable while logging request, client: 10.128.0.1, server: _, request: "GET /?user_key=<user_key>&foo=aaaa ( followed by a long string of characters )
      

      and

      2021/11/18 03:21:10 [warn] 23#23: *35292 using uninitialized "extended_access_logs_enabled" variable while logging request, client: 10.128.0.1, server: _, request: "GET /?user_key=<user_key>&foo=aaaa ( followed by a long string of characters )
      

      Note: in this case, the client receives 414 Request-URI Too Large error, but it's hard to identify the error from the APIcast logs.

            Unassigned Unassigned
            rhn-support-tkonishi Takayuki Konishi
            Jakub Urban Jakub Urban (Inactive)
            Samuele Illuminati Samuele Illuminati (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: