Search code examples
formsamazon-web-servicesbitnamimautic

Mautic form getting stuck on "Please Wait"


I have embedded a muatic form in a wordpress site (different domain) and when I click on Download in the form it gave the following error:

Refused to display 'https://mymauticinstance.com/form/submit?formId=1' in a frame because it set 'X-Frame-Options' to 'sameorigin'

So I modified the the configuration in httpd.conf to be:

"allow-from https://www.mywordpresssite.com/"

Which gave the error:

Invalid 'X-Frame-Options' header encountered : 'ALLOWFROM is not a recognized directive

So I changed it to ALLOWALL.

But now after I click the Download Button it's stuck on "Please Wait". When I inspect the network responses in Chrome I see that the error is:

Request URL: https://mymauticinstance.com/media/js/mautic-form.js
Request Method: GET
Status Code: 301 Moved Permanently (from disk cache)
Remote Address: 1.2.3.4:443
Referrer Policy: no-referrer-when-downgrade

I also tried to "Rebuild Cache" from within the Mautic Forms page.

Note: I'm using Chrome, Mautic 2.15.1 hosted on an AWS Bitnami instance


Solution

  • I updated the Site URL in the Mautic config settings page to include the "www" to the site url.