Skip to main content
Nov 15, 2016 2:30 PM UTC
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
Nov 15, 2016 2:44 PM UTC

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

AanjanAnswer
Nov 15, 2016 2:44 PM UTC

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.

rk-31Author
Nov 15, 2016 3:46 PM UTC

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