Support

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

Connection error. Unable to load data.

Posted: July 22, 2016 at 11:21 am


mbauercpc

July 22, 2016 at 11:21 am

Hello,

We were getting everything setup for an upcoming event yesterday and decided to test the barcode scanner in the EE4 mobile app for Android. It worked great and we were able to check-in several tickets! Shortly after, I updated the app to the latest version (2.0) from the Google Play store. We are now unable to login with the EE4 mobile app and receive a message stating “Connection error. Unable to load data.” Please assist us with getting this resolved.

https://pcwhitewaterclassic.com

Thank you,

Mike Bauer


Josh

  • Support Staff

July 22, 2016 at 1:46 pm

Hi Mike,

When I click on the pcwhitewaterclassic.com link, the browser throws an error and says it can’t establish a secure connection. You should probably contact your host to see if they can get your site back up and loading.


mbauercpc

July 22, 2016 at 4:13 pm

Josh,

I apologize. The site was down for a little while when I disabled SSL. I wanted to make sure it was not causing an issue. I confirmed that it still works with the previous version of the EE4 mobile app using Basic Auth. Any ideas?

Thanks,

Mike

.htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress


mbauercpc

July 22, 2016 at 4:17 pm

http://pcwhitewaterclassic.com


Josh

  • Support Staff

July 22, 2016 at 5:20 pm

The JSON response looks correct:

http://pcwhitewaterclassic.com/wp-json/ee/v4.8.36/events/

Have you tried setting up authentication with the Application Passwords plugin?

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


mitunsdigital

August 3, 2016 at 12:46 am

I’ve got the same error as mbauerpc. I followed the instructions and edited my .htaccess as described. It is still not possible to use the app.
I installed the application passwords plugin, activated and it does not work either.
We do a redirection to our https-site with htaccess. Anything to do with it?


Josh

  • Support Staff

August 3, 2016 at 6:53 am

May I ask what is the URL of the website where you have Event Espresso installed?


mitunsdigital

August 3, 2016 at 7:27 am

The URL is /https://mitunsdigital.de/wordpress/index.php/veranstaltungen-und-termine/


mitunsdigital

August 3, 2016 at 7:33 am

Maybe it’s important to know that we have full control over our webserver. It’s a dedicated server and if we have to make any adjustments in the configuration of apache or anything else it will be possible if you tell us what to do.

Many thanks for your support so far!


Josh

  • Support Staff

August 3, 2016 at 8:15 am

It may very well be how you’ve got the redirection set up on .htaccess. You’ll see that the WordPress API discover endpoint URL returns a 404 error:

https://mitunsdigital.de/wordpress/wp-json/

You might find your solution in one of these threads:

http://stackoverflow.com/questions/34670533/wordpress-rest-api-wp-api-404-error

https://github.com/WP-API/WP-API/issues/497


mitunsdigital

August 8, 2016 at 5:56 am

Hello Josh,

I found a solution for the problem. When I changed to “pretty permalinks” with %postname% the server made a lot of 404s. That was because mod_rewrite was active, but had no effect. It was necessary to edit the apache2.conf and set the AllowOverride to “All”.
Now everything works fine!


Marisa Russo

August 9, 2016 at 5:04 pm

We are getting the following errors at
https://forensichealing.com

Android error:
Connection error. Unable to load data.

iPhone error:
The server was acting as a gateway or proxy and received an invalid response from the upstream server

We would appreciate some help
Thanks πŸ™‚


Marisa Russo

August 9, 2016 at 5:16 pm

We got applications password working
Thanks πŸ™‚


Tony

  • Support Staff

August 10, 2016 at 4:31 am

Looks like you got this up and running before we couple reply πŸ™‚

If you have any further problems please open up a new thread and we’ll work through those with your there.

The support post ‘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