Support

Home Forums Event Espresso Premium EE4 App Error

EE4 App Error

Posted: August 21, 2016 at 2:14 pm


Alexander Verhaeghe

August 21, 2016 at 2:14 pm

Hi

While running the latest version of WordPress (4.6) and the latest version of Event Espresso (4.9.8.p), I’m not able to connect with the EE4 app (2.0.1) on my iPhone with an application password nor the user password. I keep getting the error ‘The server was acting as a gateway or proxy and received an invalid response from the upstream server.’

I did try the workaround suggested in this post: https://eventespresso.com/topic/ee4-app-error-requested-resource-could-not-be-found/#post-203548 by changing the .htaccess file and installing the plugin, but this also didn’t work. I also did reset the permalinks.

http://avondfeest.be/wp-json/ee/v4.8.36/events is accessible, the site runs on a apache web server and I did try it with SSL turned of and with PHP version 7.0.9 and 5.6.24.

Can you please help to solve this problem?

Thanks in advance


Josh

  • Support Staff

August 22, 2016 at 6:55 am

Hi Alexander,

Have you followed the troubleshooting guide?

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


Alexander Verhaeghe

August 22, 2016 at 6:58 am

Josh

I did everything on the troubleshooting list but the problem is still not resolved.


Alexander Verhaeghe

August 22, 2016 at 7:52 am

This is a screenshot of the error: https://www.dropbox.com/s/qm91z03m286hjq5/2016-08-22%2015.01.11.png?dl=0


Josh

  • Support Staff

August 22, 2016 at 8:27 am

It may be that your server isn’t going to allow the apps to authenticate. One thing that you could try is deactivate the Basic Auth plugin, activate the Application Passwords plugin, whilst leaving the .htaccess file code change in place.


Alexander Verhaeghe

August 22, 2016 at 8:33 am

Unfortunately, I did also try this before, doesn’t work…


Josh

  • Support Staff

August 22, 2016 at 8:58 am

Maybe you can contact your host to see if they can move your site to a server that does not use fcgi.


Alexander Verhaeghe

August 22, 2016 at 12:27 pm

My host is not able to change the server api…
Full overview of the php configuration: — Removed —


Josh

  • Support Staff

August 23, 2016 at 12:18 pm

Hi there,

So after trying to send a JSON request that includes a Basic Auth header to on your site with totally bogus username and password (using PostMan), it doesn’t result in an error. So your server is still ignoring the “Authorization” HTTP header.

Maybe you can contact your host and ask why they’re not allowing “Authorization” HTTP headers. From what I understand they can enable Authorization headers on FCGI, the host just needs to allow it (the default, for whatever reason, is to disable it).

There’s also the possibility that maybe you edited the wrong .htaccess file too where it was another .htaccess file in another folder somewhere.

The support post ‘EE4 App Error’ 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