You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marek Radwański (Jira)" <ji...@apache.org> on 2023/06/30 11:17:00 UTC

[jira] [Created] (NIFI-11766) ElasticSearchClientServiceImpl malformed (nonstandard?) expires attribute when connecting through AWS LoadBalancer

Marek Radwański created NIFI-11766:
--------------------------------------

             Summary: ElasticSearchClientServiceImpl malformed (nonstandard?) expires attribute when connecting through AWS LoadBalancer
                 Key: NIFI-11766
                 URL: https://issues.apache.org/jira/browse/NIFI-11766
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.19.1
         Environment: Ubuntu 22.04, EC2 machine in AWS, 
Java: 11.0.18, AWS
            Reporter: Marek Radwański


Each request to elasticsearch from a processor that utilizes ElasticSearchClientServiceImpl to connect to the cluster results in a logged Warning entry of:

2023-06-30 11:11:42,194 WARN [I/O dispatcher 2] o.a.h.c.protocol.ResponseProcessCookies Invalid cookie header: "Set-Cookie: AWSALBCORS=m0NDYBGa0v2NsPURJUVvx<REDACTED>tso3AQ4Zatbj8EQDO2qLpAYRcHoG4oLoOQkQNhzXAuSxoJhTUD944olr/wNhfszNBS5ENVkivErGMFyys2EfL; Expires=Fri, 07 Jul 2023 11:11:42 GMT; Path=/; SameSite=None". Invalid 'expires' attribute: Fri, 07 Jul 2023 11:11:42 GMT

Resulting in millions of those entries accumulating over time on a large cluster. 

This seems like a mismatch of cookie standards the underlying HTTP client uses and what AWS ALB expects.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)