Support

Home Forums Event Espresso Premium EE4 "Finalize Registration" button freezes browser for 5 minutes & crashes site

EE4 "Finalize Registration" button freezes browser for 5 minutes & crashes site

Posted: December 2, 2015 at 11:37 am


J

December 2, 2015 at 11:37 am

Not only does it freeze the user’s browser, the entire site crashes while the processing icon is spinning. Whether you are logged in or not, the whole site can not be accessed.

In searching the Event Espresso forums for a similar problem the response was:

Here are two things that will help:
1) Please check with your host to see if there’s any server level caching in place. If there is, can they disable caching for the pages that handle the registration checkout?
2) If you use https on the front end of the site, you’ll also need to set the WordPress https plugin or equivalent to Force https for the WordPress admin. This is because Event Espresso 4 uses ajax, and the protocols between the front end (secured registration form) and the admin must match (both https or both http, not a mix of both).

For #1, we do not have any caching set up. W3 Total Cache is installed but not activated.

For #2, We added the recommended plugin to no avail.

We consistently get a 5 minute delays for both $0 and actual cost tickets (so it’s not Stripe creating the problem).

Even more bizarre, our event received a successful registration email most of the time that the spinner icon is still “processing,” even when it says that it failed after 5 minutes.

Feel free to test it out at https://www.combatcon.com/2016-2/register which is not public yet. You’ll see the Explorer pass is $0.

Thanks!


Seth Shoultes

  • Support Staff

December 2, 2015 at 12:12 pm

Hello,

Is your WP dashboard is also secured via https? All AJAX requests go through the admin, so if the reg page is HTTPS, then the admin needs to be HTTPS as well, or those AJAX requests can fail.

  • This reply was modified 8 years, 5 months ago by  Seth Shoultes. Reason: added more details


J

December 2, 2015 at 1:00 pm

Hi Seth,

Yes it is. Per the recommendations mentioned earlier, we ensured that admin calls are over https.

We can setup a WordPress account for you if that helps troubleshooting.

Thanks!


Seth Shoultes

  • Support Staff

December 2, 2015 at 1:12 pm

How do you have https set up in the admin? You mentioned that you were not able to get the WordPress https plugin working.


J

December 2, 2015 at 1:15 pm

Seth, we got the plugin working. “to no avail” meant that it didn’t fix the problem. Sorry for the confusion there.


Josh

  • Support Staff

December 2, 2015 at 1:44 pm

Hi J,

The request via the admin-ajax.php resource is failing with a 503 error when the registration steps tries to finalize.

Here are the steps I can recommend to troubleshoot this:

1) You can check to see if the mailserver is affecting this by disabling all email notifications in Event Espresso > Messages > Settings. If the registration finalizes with no emails going out, then we can make some recommendations about what to do with that mailserver. If no change, then you go to step 2.

2) You try it with the default WP theme and no other plugins activated. If that helps, you reactivate plugins until it breaks again to find which plugin had the effect.


J

December 2, 2015 at 9:22 pm

Hi there,

We are currently sending mail over SMTP using WP-Mail-SMTP.

When testing with notifications on, there are two emails that go out:
The first one (registration) arrives immediately after pressing “Proceed to Finalize Registration”.
The second one (tickets) arrived after the 5 minute delay (even if it says it failed).

We asked 4 other people to test and 1 was actually successful, the rest were not (meaning the above scenerio).

When we turn off the Notifications in Event Espresso it seems to work across the board. But of course it doesn’t send the notifications.

Thanks,
Jared


Lorenzo Orlando Caum

  • Support Staff

December 3, 2015 at 7:20 am

Hi Jared,

WP Mail SMTP may be using a personal email account such as gmail which are not intended to send out a lot of emails.

Please try a transactional email service like Mandrill, Postmark app, Sendgrid, or Mailgun:

https://eventespresso.com/wiki/postmark-app-mandrill-transactional-email-handling-services/

Several provides like Sendgrid and Mailgun have a free tier that allows you to send thousands of emails per month.

That should resolve the delay and help ensure that the emails are delivered to the inbox.


Lorenzo


J

December 8, 2015 at 7:18 pm

Thanks so much. It looks like Mailgun has fixed it up.


Tony

  • Support Staff

December 9, 2015 at 4:25 am

Great, thank you for keeping us updated.

Please let us know if you have any further problems.

The support post ‘EE4 "Finalize Registration" button freezes browser for 5 minutes & crashes site’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso