-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid 'expires' attribute? #325
Comments
Do you have the full stack trace for this error? |
Just shows up as a warning here, no stack trace
Probably related https://issues.apache.org/jira/browse/HTTPCLIENT-1640 |
Okay, since this is marked as fixed in 4.5, it should be fixed in the latest clj-http which uses a 4.5 version of the client. What version of clj-http are you using? Does upgrading fix this? |
Same problem here |
Has anyone had a chance to try this with clj-http 3.3.0? |
Confirm it still fails with 3.3.0:
Tried turning up |
Also still failing with the 3.5.0 version:
|
Overriding the cookie-policy on the request to "standard" fixed the problem for me - in case anyone else has the same problem: (client/post login-url
{:body (ch/generate-string {"email" "..." "password" "..."})
:content-type :json
:cookie-policy :standard
:cookie-store cs
:headers {"x-xsrftoken" (get-token)}}) As suggested in this thread on stackoverflow. |
Confirmed, |
You guys saved me a lot of wasted time. I've been all afternoon after this answer. |
I think I'm going to close this since there's a workaround for it (setting |
@dakrone Might be worth adding a note in the README around the part where it explains how to set up the cookie store? Anyways, thanks for the workaround. |
I'm experiencing this issue, maybe needs another HttpClient bump? Looks like 5.1.3 is compliant (current version is 4.5.13) EDIT: we can use |
I'd love to bump to 5.x, however, it's a very large change due to breaking changes between 4.x and 5.x, and I haven't had the time to be able to devote to it. |
ResponseProcessCookies:129 - Invalid cookie header: "Set-Cookie: ncbi_sid=73BE402676BBFF01_0927SID; domain=.nih.gov; path=/; expires=Fri, 23 Jun 2017 10:54:40 GMT". Invalid 'expires' attribute: Fri, 23 Jun 2017 10:54:40 GMT
When executing a GET I get this message, is it simply a server misconfiguration or something else going on?
The text was updated successfully, but these errors were encountered: