Support

Home Forums Event Espresso Premium Mobile App: Connection error. Unable to load data.

Mobile App: Connection error. Unable to load data.

Posted: November 29, 2018 at 7:01 pm


KSFSS

November 29, 2018 at 7:01 pm

I cannot log into the mobile app on Android and I get the following error:

Connection error. Unable to load data.

I have Application Passwords plugin installed and I have tried disabling plugins. I’ve also tried setting permalinks to post title. Another user is having the same problem on her phone.
kelownascotchandfinespirits.org


Seth Shoultes

  • Support Staff

November 30, 2018 at 6:26 am

Hi there,

It looks like there may be an issue with the REST API on your site. If you try visiting this URL (https://kelownascotchandfinespirits.org/wp-json/) on your site, it just gives an error. Have you tried disabling the Application Passwords plugin?


Josh

  • Support Staff

November 30, 2018 at 7:44 am

and this is the error from the /wp-json/ route on your site:

Service Unavailable
The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.

Additionally, a 503 Service Unavailable
error was encountered while trying to use an ErrorDocument to handle the request.

Can you try temporarily deactivating other plugins on your site, then check to see if the error goes away on
https://kelownascotchandfinespirits.org/wp-json/
?


KSFSS

November 30, 2018 at 10:11 am

Upon deactivating all other non-EE plugins, I see that the 503 error goes away. Activating them again, I appears that my Paid Member Subscription plugin seems to cause the error again (though there may be more than one culprit). I’m using that plugin to manage logins to restrict certain types of tickets to subscribed members. Is there a possible workaround?


KSFSS

November 30, 2018 at 10:41 am

To add to my last post, I’ve disabled the following:

  • Paid Member Subscriptions (and its associated components)
  • Remove Dashboard Access
  • WP Mail SMTP
  • WO-Polls

and I don’t seem to be getting 503 errors with the other few plugins enabled.


KSFSS

November 30, 2018 at 10:42 am

*WP-Polls


Josh

  • Support Staff

November 30, 2018 at 10:44 am

Is this the plugin?

https://www.cozmoslabs.com/wordpress-paid-member-subscriptions/

If so, you could reach out to them to see if they’ve got a fix for any issues with accessing the REST API.

One thing you could check though, is what happens if all plugins except Paid Member Subscription plugin are deactivated. If the REST API wp-json route works with only Paid Member Subscription plugin activated, then it may be your web server doesn’t have adequate resources. In which case you could contact your host about getting an upgrade.


KSFSS

November 30, 2018 at 11:03 am

Thanks for the tip, Josh. I get the same 503 error when I leave my EE plugins deactivated and activate the rest. I’ll see about upgrading the server.


KSFSS

November 30, 2018 at 11:41 am

Alright, I’ve gotten the memory increased on the server end and I see no 503 error now, without having any plugins disabled. I’m still getting

Connection error. Unable to load data

Any suggestions on the next step?


Josh

  • Support Staff

November 30, 2018 at 12:07 pm

The next step would be to follow the troubleshooting guide, starting with this step:

https://eventespresso.com/wiki/ee4-event-apps/#data_format


KSFSS

November 30, 2018 at 3:06 pm

I’ve gone through the troubleshooting guide and I think everything is in order.

  • Permalinks set to post name
  • WP_DEBUG set to false in wp_config.php
  • iThemes Security plugin is not installed.
  • No older EE JSON API plugins installed
  • With non-EE plugins and twentyseventeen theme, the issue still persists.

I’m not sure if the php memory needs to be increased further or if the issue is elsewhere.


Josh

  • Support Staff

December 3, 2018 at 6:49 am

It may be the PHP memory needs to be increased further if you’re getting the same errors as before when you try to connect using the app.


KSFSS

December 3, 2018 at 3:11 pm

Thanks Josh. It looks like the problem was definitely in the server config. I increased the memory further only to find out that it was also running PHP 5.5 and not 5.6. That seems to have fixed this issue. Thanks!


Josh

  • Support Staff

December 3, 2018 at 3:18 pm

Good find, and the site should really be updated to PHP 7 because PHP 5.6 will no longer get security updates after 31 Dec 2018.


KSFSS

December 3, 2018 at 3:33 pm

Good to know. I’ve updated it to PHP 7 and it appears to still be working. Thanks again!

The support post ‘Mobile App: Connection error. Unable to load data.’ 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