-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: nuxeo-connect-client
-
Tags:
When configuring the Connect infrastructure with an ALB instead of an ELB, all nuxeoctl calls raise a warning:
WARNING: Invalid cookie header: "Set-Cookie: Path=/;Max-Age=31536000;Secure;Expires=Wed, 17 Jun 2020 16:00:18 GMT;HttpOnly". Invalid 'expires' attribute: Wed, 17 Jun 2020 16:00:18 GMT
It prevents evolving the NOS infrastructure using ALB as we probably do not want all customers having warnings when using nuxeoctl.
A test that exposes the problem can be found here: https://github.com/nuxeo/nuxeo-connect/blob/fix-NXCONNECT-2135-invalid-warning-log/nuxeo-connect-client/src/test/java/org/nuxeo/connect/connector/http/TestNoWarningInLogs.java
https://github.com/nuxeo/nuxeo-connect/blob/fix-NXCONNECT-2135-invalid-warning-log/nuxeo-connect-client/src/test/java/org/nuxeo/connect/connector/http/TestWithMockHttp.java on fix-NXCONNECT-2135-invalid-warning-log branch.