# when i submit the form.. it stops at "please wait" with the following error

**URL:** <https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721>\
**Category:** Product Support\
**Created:** [August 2, 2016, 2:28pm UTC](https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721 "2016-08-02T14:28:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![chizuokagmail-com](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@chizuokagmail-com](https://forum.mautic.org/u/chizuokagmail-com)\
**Post date:** [August 2, 2016, 2:28pm UTC](https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721/1 "2016-08-02T14:28:51Z")

</div>

I have a mautic form here in Joomla  
  
[http://staging.rapidfy.com/](http://staging.rapidfy.com/)  
  
  
  
Its somewhere in the middle… when i submit the form… it stops at “please wait” with the following error  
  
  
  
GET [http://dev.mautic.rapidfy.com/form/submit?formId=1](http://dev.mautic.rapidfy.com/form/submit?formId=1) 403 (Forbidden)  
  
app.js?v2.0.1:210 Uncaught SecurityError: Blocked a frame with origin “[http://dev.mautic.rapidfy.com](http://dev.mautic.rapidfy.com)” from accessing a frame with origin “[http://staging.rapidfy.com](http://staging.rapidfy.com)”. Protocols, domains, and ports must match.  
  
  
  
Curiously, it worked before. There was two things i remember i did before it broke,

1. Install PHP CLI  
2. Install URL Rewriting  
  
$ sudo apt-get install libapache2-mod-proxy-html  
  
$ sudo a2enmod proxy\_http  
  
$ sudo a2enmod rewrite  
  
  
  
Did a google search, and it seems something with JS not allowing me to use resources on another server? But it worked before… ![:(]( ":(")

---

<div class="post-metadata">

**Author:** ![chizuokagmail-com](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@chizuokagmail-com](https://forum.mautic.org/u/chizuokagmail-com)\
**Post date:** [August 2, 2016, 2:28pm UTC](https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721/2 "2016-08-02T14:28:51Z")

</div>

I have a mautic form here in Joomla  
[http://staging.rapidfy.com/](http://staging.rapidfy.com/)

Its somewhere in the middle… when i submit the form… it stops at “please wait” with the following error

GET [http://dev.mautic.rapidfy.com/form/submit?formId=1](http://dev.mautic.rapidfy.com/form/submit?formId=1) 403 (Forbidden)  
app.js?v2.0.1:210 Uncaught SecurityError: Blocked a frame with origin “[http://dev.mautic.rapidfy.com](http://dev.mautic.rapidfy.com)” from accessing a frame with origin “[http://staging.rapidfy.com](http://staging.rapidfy.com)”. Protocols, domains, and ports must match.

Curiously, it worked before. There was two things i remember i did before it broke,

1. Install PHP CLI
2. Install URL Rewriting  
$ sudo apt-get install libapache2-mod-proxy-html  
$ sudo a2enmod proxy\_http  
$ sudo a2enmod rewrite

Did a google search, and it seems something with JS not allowing me to use resources on another server? But it worked before… ☹

---

<div class="post-metadata">

**Author:** ![chizuokagmail-com](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@chizuokagmail-com](https://forum.mautic.org/u/chizuokagmail-com)\
**Post date:** [August 3, 2016, 3:39am UTC](https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721/3 "2016-08-03T03:39:28Z")

</div>

Oh no… not from the pop up… the pop up is Acymailling.

Its this one.  
[http://screenpresso.com/=qIwMb](http://screenpresso.com/=qIwMb)

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [August 3, 2016, 7:28am UTC](https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721/4 "2016-08-03T07:28:43Z")

</div>

> [@](#):
>
> 403 (Forbidden)

means your server takes the HTTP request as forbidden. It never finds a way to Mautic. Consult it with your server admin / hosting provider / Google or whoever you can consult in your case.

---

<div class="post-metadata">

**Author:** ![chizuokagmail-com](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@chizuokagmail-com](https://forum.mautic.org/u/chizuokagmail-com)\
**Post date:** [August 7, 2016, 12:55pm UTC](https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721/5 "2016-08-07T12:55:34Z")

</div>

I am the admin… unfortunately. Why does mautic throw this error

app.js?v2.0.1:210 Uncaught SecurityError: Blocked a frame with origin “[http://dev.mautic.rapidfy.com](http://dev.mautic.rapidfy.com)” from accessing a frame with origin “[http://staging.rapidfy.com](http://staging.rapidfy.com)”. Protocols, domains, and ports must match.

---

<div class="post-metadata">

**Author:** ![chizuokagmail-com](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@chizuokagmail-com](https://forum.mautic.org/u/chizuokagmail-com)\
**Post date:** [August 8, 2016, 4:12am UTC](https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721/6 "2016-08-08T04:12:03Z")

</div>

I know… but the question is why? why does it say mautic want a resource not in its domain? Any ideas? perhaps you could go to the page and try it out and see what you make of it?

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [August 8, 2016, 6:48am UTC](https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721/7 "2016-08-08T06:48:06Z")

</div>

@chizuoka@gmail.com Mautic uses the iFrame with the postMessage as recommended in the linked stackoverflow link above. The HTTP header generated by your server can forbid to use other origins though.

---

<div class="post-metadata">

**Author:** ![chizuokagmail-com](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@chizuokagmail-com](https://forum.mautic.org/u/chizuokagmail-com)\
**Post date:** [August 11, 2016, 4:56am UTC](https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721/8 "2016-08-11T04:56:10Z")

</div>

> [@14172:@MxyzptlkFishStix](#):
>
> Are using the Joomla plugin, OAuth and the “{mauticform #}” variable to call your form?

Yes i am

---

<div class="post-metadata">

**Author:** ![chizuokagmail-com](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@chizuokagmail-com](https://forum.mautic.org/u/chizuokagmail-com)\
**Post date:** [August 11, 2016, 5:40am UTC](https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721/9 "2016-08-11T05:40:21Z")

</div>

> [@14176:@escopecz](#):
>
> @chizuoka@gmail.com Mautic uses the iFrame with the postMessage as recommended in the linked stackoverflow link above. The HTTP header generated by your server can forbid to use other origins though.

Would you be able to advice where i could fix this problem? Im using apache on ubuntu

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [August 11, 2016, 6:01am UTC](https://forum.mautic.org/t/when-i-submit-the-form-it-stops-at-please-wait-with-the-following-error/4721/10 "2016-08-11T06:01:24Z")

</div>

Depends on your server configuration. You can read more about it here: [https://developer.mozilla.org/en-US/docs/Web/HTTP/Access\_control\_CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)

It should be this http header: access-control-allow-origin
