HTTPClient fails request due to cookie rejection

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content