I’m using Caldera Forms on WP.
I am not sure if the platform is relevant or not, but I have an issue where SOME people in different places around the world have an issue where they cannot post a form. This happens to the same people across all their browsers. For the people it works for, it works on all browsers.
The issue is that the form gets posted, but the post kind of dies… there is a 200 response, but response body is empty. The post never reaches the server.
I do get response headers though - which I will add below.
If I disable CF, then the post works perfectly…
I have checked the firewall logs, and there is nothing there.
Client needs to be able to receive these form posts, so I’ve had to bypass CF for now (straight DNS)
Not sure how to proceed, or what to look at…
Response Headers with CF:
cf-cache-status: DYNAMIC
cf-edge-cache: cache,platform=wordpress
cf-ray: 65faf78b2971ac64-JNB
cf-request-id: 0ab0b90af90000ac643a85f000000001
content-encoding: br
content-type: text/html; charset=UTF-8
date: Tue, 15 Jun 2021 10:03:12 GMT
expect-ct: max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct”
nel: {“report_to”:“cf-nel”,“max_age”:604800}
report-to: {“endpoints”:[{“url”:“https://a.nel.Cloudflare.com/report/v2?s=LjfLtDEpRXun8e%2BUCy%2F%2BiDcAT4yl7zEqw3yRDEAFnL07VD6%2BneQ8xGie%2FVHpD3JV11JxoBKq4zylkjsc4bPNSPNPbdUAMqwu7nXqN2dFtyktTUA54FTkk54uWbURn0tiblRUPQ%3D%3D”}],“group”:“cf-nel”,“max_age”:604800}
server: Cloudflare
Response Headers without CF
cf-edge-cache: cache,platform=wordpress
content-length: 0
content-type: text/html; charset=UTF-8
date: Tue, 15 Jun 2021 10:09:05 GMT
server: Apache
Here are the request headers:
-
Request URL:
MYURL/cf-api/CF5673b244568bf
2. Request Method:
POST
3. Status Code:
200
4. Remote Address:
xxx.26.14.122:443
5. Referrer Policy:
strict-origin-when-cross-origin
2. Response Headers
-
cf-cache-status:
DYNAMIC
2. cf-edge-cache:
cache,platform=wordpress
3. cf-ray:
65faa6768c680672-LHR
4. cf-request-id:
0ab0865e12000006721629a000000001
5. content-encoding:
br
6. content-type:
text/html; charset=UTF-8
7. date:
Tue, 15 Jun 2021 09:07:52 GMT
8. expect-ct:
max-age=604800, report-uri=https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct
9. nel:
{“report_to”:“cf-nel”,“max_age”:604800}
10. report-to:
{“endpoints”:[{“url”:“https://a.nel.Cloudflare.com/report/v2?s=OLl6Ixby2nVM3%2BxppG5AURp71%2FtfhRG5PwvriPWflm0DUhhZmAGnOv9Cpo4zpRJjNqgodsf69plvQKvCYH8LFRZVLR2bHitXs0FqAKl8%2FF%2BQB7QtEwDQmntf05gPslV56qZVeQ%3D%3D”}],“group”:“cf-nel”,“max_age”:604800}
11. server:
Cloudflare
3. Request Headers
-
:authority:
MYURL
2. :method:
POST
3. :path:
/cf-api/CF5673b244568bf
4. :scheme:
https
5. accept:
/
6. accept-encoding:
gzip, deflate, br
7. accept-language:
en-ZA,en-GB;q=0.9,en-US;q=0.8,en;q=0.7,af;q=0.6
8. content-length:
3100
9. content-type:
multipart/form-data; boundary=----WebKitFormBoundaryiFFaNwHRBlYWw6G1
10. cookie:
_fbp=fb.1.1616063410128.231622701; __smVID=5d3180c4a76ac094052f3dfe3fefe13b54b6dadc29ec14854c380c6259a64a78; moove_gdpr_popup=%7B%22strict%22%3A%221%22%2C%22thirdparty%22%3A%221%22%2C%22advanced%22%3A%221%22%7D; _gid=GA1.2.1704195434.1623678272; __smToken=5WWeKo37x3sGI5GERPwFH0Hy; PHPSESSID=cf7c0b3c5e30a6d47666271ab89ef97d; _ga_DRX10J9N2Y=GS1.1.1623743814.23.1.1623744307.0; _ga_J2GD53W4CX=GS1.1.1623746667.61.1.1623746672.0; _ga=GA1.2.865605829.1616063410
11. origin:
MYURL
12. referer:
MYURL/find-a-stockist/
13. sec-ch-ua:
" Not;A Brand";v=“99”, “Google Chrome”;v=“91”, “Chromium”;v=“91”
14. sec-ch-ua-mobile:
?0
15. sec-fetch-dest:
empty
16. sec-fetch-mode:
cors
17. sec-fetch-site:
same-origin
18. user-agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36
19. x-requested-with:
XMLHttpRequest
4. Form Dataview sourceview decoded
-
_cf_verify:
a95e7f9147
2. _wp_http_referer:
/find-a-stockist/
3. _cf_frm_id:
CF5673b244568bf
4. _cf_frm_ct:
1
5. cfajax:
CF5673b244568bf
6. _cf_cr_pst:
3917
7. email:
8. fld_6811044:
[email protected]
9. fld_3955489:
bbbb
10. fld_9168627:
aaaa
11. fld_3078661:
zzzz
12. fld_9288571:
yyyyy
13. fld_2483522:
14 xxxxx
14. fld_24191:
7550
15. fld_1066591:
0219313721
16. fld_3895035:
Test
17. fld_61918:
click
18. instance:
1
19. request:
MYURL/cf-api/CF5673b244568bf
20. formId:
CF5673b244568bf
21. postDisable:
0
22. target:
#caldera_notices_1
23. loadClass:
cf_processing
24. loadElement:
_parent
25. hiderows:
true
26. action:
cf_process_ajax_submit
27. cfajax:
CF5673b244568bf
28. template:
#cfajax_CF5673b244568bf-tmpl