Form submission is getting failed with Empty CSRF token error entry in logs
hi Team ,
Need some urgent help on the following issue for my project. We are on AEM 6.5.3.
PROBLEM DESCRIPTION
On our production sites, when some of the users, submit forms, they see a broken page instead of a proper thank you page. This is an intermittent issue but has an impact on a large number of users.
LOGS
When checking error logs, we found the below logs. There is no further entry in the error logs on publishers regarding form failure.
02.02.2021 12:21:42.056 *INFO* [10.43.32.27 [1612268502054] POST /content/project_name/language-masters/en/forms/content-preference-center/_jcr_content/root/responsivegrid/maincontentcontainer/100contentcontain/center/form.post.html HTTP/1.1] com.adobe.granite.csrf.impl.CSRFFilter isValidRequest: empty CSRF token - rejecting 02.02.2021 12:21:42.056 *INFO* [10.43.32.27 [1612268502054] POST /content/project_name/language-masters/en/forms/content-preference-center/_jcr_content/root/responsivegrid/maincontentcontainer/100contentcontain/center/form.post.html HTTP/1.1] com.adobe.granite.csrf.impl.CSRFFilter doFilter: the provided CSRF token is invalid It seems CSRF token is not getting associated with form requests or tokens are getting expired while submitting the form. In our OSGI configuration, we have POST, PUT and DELETE requests added for CSRF filters.
CHECKED THE FOLLOWING
1. The Adobe Granite CSRF Framework config is in an Active state
2. CSRF Servlet Config settings are as below:

3. The CSRF Component state is ACTIVE

4. Adobe Granite CSRF Filter config settings are as below

Let me know what could be a probable reason for this error.
Thanks,
Samiksha
