<div dir="ltr">After upgrading from 3.3.x to 3.4.x, there was a new "cookie" error message in our idp-process.log.  Upgrading to 4.2.1 didn't resolve this issue.<div><br></div><div>Unrelated to shibboleth forums, but perhaps relevant were other posts describing stricter CookieSpecs, the apache HTTP client libraries, sticky sessions with LBs and even the OS locale settings.</div><div><br></div><div>It seems to happen when metadata is pulled from remote sites, in particular with AWS load balancers.  At this point, i'm not sure if it is a bug or something that needs adjusting in my configs, so wondering if others have come across it and any guidance around troubleshooting or resolving further.  </div><div><br></div><div>Maybe i am missing something from here? <a href="https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631724/HttpClientConfiguration">https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631724/HttpClientConfiguration</a><br></div><div><div><br></div><div>Jay</div><div><br></div><div><div>===================</div><div># /opt/shibboleth-idp/bin/version.sh <br>4.2.1<br><br># cat /etc/redhat-release <br>Red Hat Enterprise Linux release 8.6 (Ootpa)<br><br></div><div># java -version<br>openjdk version "11.0.15" 2022-04-19 LTS<br>OpenJDK Runtime Environment 18.9 (build 11.0.15+10-LTS)<br>OpenJDK 64-Bit Server VM 18.9 (build 11.0.15+10-LTS, mixed mode, sharing)<br><br># java -jar $JETTY_HOME/start.jar --list-config<br>jetty.version = 9.4.48.v20220622<br><br># from the war file</div><div>/some/path/lib/httpclient-4.5.13.jar<br><br>idp-process.log:</div><div><br>WARN [org.apache.http.client.protocol.ResponseProcessCookies:130] - Invalid cookie header: "Set-Cookie: AWSALB=...Expires=Wed, 13 Jul 2022 18:54:05 GMT; Path=/". Invalid 'expires' attribute: Wed, 13 Jul 2022 18:54:05 GMT<br><br>WARN [org.apache.http.client.protocol.ResponseProcessCookies:130] - Invalid cookie header: "Set-Cookie: AWSALBCORS=...Expires=Wed, 13 Jul 2022 18:54:05 GMT; Path=/; SameSite=None; Secure". Invalid 'expires' attribute: Wed, 13 Jul 2022 18:54:05 GMT<br></div></div><div><br></div><div>=======================</div></div></div>