26 Apr 2019 11:26 AM - last edited on 27 Apr 2021 01:26 PM by MaciejNeumann
Hi,
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:
https://support.dynatrace.com/supportportal/browse/SUP-23380
Solved! Go to Solution.
27 Apr 2019 12:36 PM
I think cookies are cut by WAF and this may be the issue.
Sebastian
29 Apr 2019 11:07 AM
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'.