HTTPClient fails request due to cookie rejection
Issue
- Requests are failing through apache HTTPClient and we see the following warn:
WARN [org.apache.http.client.protocol.ResponseProcessCookies] (default task-128) Cookie rejected [cookie_name=cookie_value, domain:.foobar.com, path:/] Illegal domain attribute ".foobar.com". Domain of origin: "foobar.com"
Environment
- JBoss Enterprise Application Platform (EAP) 7.x
- Apache HTTPClient
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.