Helio Chissini de Castro created MRESOLVER-574:
--------------------------------------------------

             Summary: Invalid Cookie set under proxy conditions
                 Key: MRESOLVER-574
                 URL: https://issues.apache.org/jira/browse/MRESOLVER-574
             Project: Maven Resolver
          Issue Type: Bug
          Components: Resolver
    Affects Versions: 1.9.20
         Environment: Mac OS Sonoma with ZScaler proxy
            Reporter: Helio Chissini de Castro


We use a compliance OSS tool called [OSS Review 
Toolkit|http://github.com/oss-review-toolkit/ort] that make usage of resolver 
library to access artifacts described in a input document.

Under regular open network, as example github CI/CD workflow, everything works 
fine.

But when under proxy environment, most specific main test over Mac zscaler, it 
causes a warning that not prevent the operation, but can raise some flags. It's 
described here:


{code:java}
09:35:04.112 [DefaultDispatcher-worker-1] WARN  
org.apache.http.client.protocol.ResponseProcessCookies - Invalid cookie header: 
"Set-Cookie: <REDACTED>; Expires=Wed, 03 Jul 2024 07:35:03 GMT; Path=/". 
Invalid 'expires' attribute: Wed, 03 Jul 2024 07:35:03 GMT
09:35:04.113 [DefaultDispatcher-worker-1] WARN  
org.apache.http.client.protocol.ResponseProcessCookies - Invalid cookie header: 
"Set-Cookie: AWSALBCORS=<REDACTED>; Expires=Wed, 03 Jul 2024 07:35:03 GMT; 
Path=/; SameSite=None; Secure". Invalid 'expires' attribute: Wed, 03 Jul 2024 
07:35:03 GMT{code}
After we cleared that was not direct Ort issue, next possible assumption was 
resolver library.



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

Reply via email to