Skip to main content
1-Visitor
November 15, 2016
Solved

Error occurred while validating HTTP header: cookie

Hi,

I am getting the below error continuously in application log. I am using thingworx version 7.1.2-b50.

Error occurred while validating HTTP header: cookie

We are getting serious performance issues in production. Is this error causing the problem.

Thanks

Pai Chung​

Aanjan Ravi​

AanjanAnswer
5-Regular Member
November 15, 2016

Raju, the error you're getting is related to the browser cookie not validating correctly on our regex. The validation.properties (under ThingworxStorage/esapi) has a section called 'Validator.HTTPHeaderValue_cookie' where you can add extra characters to allow them through.

With that being said, it should not cause any performance issues per se, as this only affects logging.

4 replies

Aanjan5-Regular MemberAnswer
5-Regular Member
November 15, 2016

Raju, the error you're getting is related to the browser cookie not validating correctly on our regex. The validation.properties (under ThingworxStorage/esapi) has a section called 'Validator.HTTPHeaderValue_cookie' where you can add extra characters to allow them through.

With that being said, it should not cause any performance issues per se, as this only affects logging.

Translate
rk-311-VisitorAuthor
1-Visitor
November 15, 2016

I got it. So can we do anything that improves the performance.

Translate