ukwa / ukwa-heritrix

The UKWA Heritrix3 custom modules and Docker builder.
9 stars 7 forks source link

Quieten down or resolve cookie warnings #31

Open anjackson opened 5 years ago

anjackson commented 5 years ago

We get a LOT of

2019-03-20 14:37:47.103 WARNING thread-374 org.apache.http.client.protocol.ResponseProcessCookies.processCookies() Invalid cookie header: "Set-Cookie: woocommerce_items_in_cart=0; expires=Wed, 20-Mar-2019 13:37:46
 GMT; Max-Age=-3600; path=/". Negative max-age attribute: -3600
2019-03-20 14:46:05.434 WARNING thread-374 org.apache.http.client.protocol.ResponseProcessCookies.processCookies() Invalid cookie header: "Set-Cookie: wpSGCacheBypass=0; expires=Wed, 20-Mar-2019 13:46:05 GMT; Max-
Age=-3600; path=/". Negative max-age attribute: -3600

They seem to turn up all over the place, but always with the same -1hr Max-Age, which makes my suspicious that this is a HTTP client problem. We should check that our and/or quieten these errors down.

anjackson commented 5 years ago

Hmm, this smells like maybe we need to upgrade the HTTP client: https://issues.apache.org/jira/browse/HTTPCLIENT-1640