26 Apr 2019 03:26 AM - last edited on 27 Apr 2021 05:26 AM by MaciejNeumann
I'm currently trying to do RUM injection and am running into an issue when using AWS WAF and CloudFront.
The ruxitagentjs is auto-injecting from the web server correctly and trying to POST. On the confirmation of the POST from the web browser to the web server, instead of seeing the '200 OK' or '200 apache' message we see 'FL(apache,NoCookies)'.
I can only assume the WAF and CloudFront CDN are causing this issue as going direct to server results in this working correctly.
Anyone else ran into this?
Any ideas what that response means and how to address it?
Support ticket already raised:
Solved! Go to Solution.
I think cookies are cut by WAF and this may be the issue.
Workaround for this was to manually add the domain in Application -> Edit -> Advanced Settings -> Cookie and Header Settings -> Domain to be used for cookie placement.
In this particular case the response on the POST 'FL(apache,NoCookies)' was a result of the domain inside the cookie only picking up the end '.co.uk' instead of the domain 'mydomain.co.uk'.