cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

"Error occurred while validating HTTP header: cookie" in Application logs

SaranKarthick
16-Pearl

"Error occurred while validating HTTP header: cookie" in Application logs

Hi @Aanjan,

 

I have updated the property "Validator.HTTPCookieValue=^[a-zA-Z0-9-\\\/+=_%;\.| ]*$" and my cookie id was "JSESSIONID=5D443A9AACEABC3C44B7C4883B142D26". The Id seems to match the regex i had checked, but i can still see "Error occurred while validating HTTP header: cookie" in the logs. 

 

Based on  this article, i had changed the platform.settings file as below,

 

{
"PlatformSettingsConfig": {
		"BasicSettings": {
			"HTTPRequestHeaderMaxLength": 10000,
			"HTTPRequestParameterMaxLength": 10000
		}
	},
	"PersistenceProviderPackageConfigs": {
		"PostgresPersistenceProviderPackage": {
			"ConnectionInformation": {
				"jdbcUrl": <jdbc:postgresql://postgresql URL/thingworx>,
				"password": "password",
				"username": "twadmin",
				"maxPoolSize": "15000",
				"minPoolSize": "500"
			}
		}
	}
}

But the issue persists. Please advice.

 

Thanks and Regards

Saran

2 REPLIES 2

Hi Saran,

 

Please check also Tomcat logs, it might be some detailed error to give more info.

 

Thanks,

Raluca Edu

Hi @raluca_edu,

 

Thanks for your reply. I had checked the catalina logs. There were no error logs recorded in Catalina.out when the message came in the Application logs. 

 

Regards,

Saran

Announcements


Top Tags