Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waitlist form does not work! Also all forms built on page builder. #2913

Closed
joeygeo opened this issue Jan 3, 2023 · 9 comments · Fixed by #2917
Closed

Waitlist form does not work! Also all forms built on page builder. #2913

joeygeo opened this issue Jan 3, 2023 · 9 comments · Fixed by #2917
Labels

Comments

@joeygeo
Copy link

joeygeo commented Jan 3, 2023

Version

No response

Operating System

No response

Browser

No response

What are the steps to reproduce this bug?

Could not find any other way to convey this message, so adding it as a github bug!
This business plan waitlist form has stopped working - https://site.webiny.com/forms/business-waiting-list

It fails with a CORS error. It looks like a generic problem with all forms created in page builder.

What is the expected behavior?

Form should submit successfully.

What do you see instead?

CORS error in browser console, and page is stuck.

Additional information

https://i.imgur.com/OQLLdtK.jpeg

Possible solution

fix CORS headers on web-server/cdn config.

@joeygeo joeygeo added the bug label Jan 3, 2023
@joeygeo joeygeo changed the title Waitlist form does not work! Waitlist form does not work! Also all forms built on page builder. Jan 3, 2023
@SvenAlHamad
Copy link
Contributor

@joeygeo - thanks for letting us know about the issue. Can you confirm which browser and version you are using?
We've tried the form and it's working fine for us, and we've also received a few submissions to the form in the mean time, telling us it's working for other users.

@joeygeo
Copy link
Author

joeygeo commented Jan 3, 2023

I am using Chrome - latest version.
Tried now on MS Edge - same error.
Also tested on Android Chrome browser... form will not submit.

@joeygeo
Copy link
Author

joeygeo commented Jan 3, 2023

The error is from ipify.org - is that something you are using?

@SvenAlHamad
Copy link
Contributor

Found the issue. I've logged the details here #2915. We'll address this soon.

@joeygeo
Copy link
Author

joeygeo commented Jan 4, 2023

I see incident is closed, but business plan waiting list form is still not working...
When will the fix be deployed to site.webiny.com?
I have tried so many browsers, is there a workaround until then?

@SvenAlHamad
Copy link
Contributor

Hey @joeygeo - just confirming the issue is fixed.
The issue was only happening when you have specific ad blockers installed in your browser.

You can now submit the business waiting list form. The next Webiny release will have this patch included so when you update your instance your form builder will work fine. For time being you can just disable your ab blocker and it will work fine.

@joeygeo
Copy link
Author

joeygeo commented Jan 4, 2023

I don't have any ad blockers. Irrespective, I have already tried the form in Firefox, Chrome, edge, soul browsers. I also tried inprivate/incognito mode, all lead to same error.

@joeygeo
Copy link
Author

joeygeo commented Jan 4, 2023

I don't think its a browser issue. Your server/cdn config is not handling CORS headers correctly.

@SvenAlHamad
Copy link
Contributor

The CORS error tends to be misleading. Because we return the CORS headers directly from our lambda function, if there's an error in the Lambda function, the headers don't get attached, and the browser then complains about the CORS missing, but the actual error is something else.

If you do another test and check your console, let me know if you see any errors.

Btw, we did get your application now and can see it in our system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants