Support

Home Forums Event Espresso Premium Server response is zero-length; no data – Ipad App

Server response is zero-length; no data – Ipad App

Posted: April 9, 2013 at 1:47 pm


ccarlson

April 9, 2013 at 1:47 pm

I am getting the error: Server response is zero-length; no data when trying to log into my ipad app.  I have loaded the iphone app and it works perfectly.  I have the API plugin installed.  However, when I run the test to see if it is working, it just takes me to the WP post page.  Our site is book-events.com.


Josh

  • Support Staff

April 10, 2013 at 10:13 am

Hi there,

There are a few specific details I need to know to narrow down the issue:

1) Which version of the iPad app are you using?
2) Which version of the iPhone app are you using?
3) Which version of the API plugin is installed?
4) Where are you running a test to see if it is working where it’s taking you to the wp post page?


ccarlson

April 10, 2013 at 12:35 pm

Ipad version: 1.5

Iphone: 2.1 (it works on the iphone)

API: 2.0.1.B

When I do the test, it does take me to the WP post page.

 

 


Josh

  • Support Staff

April 11, 2013 at 9:20 am

Hi there,

The iPhone 2.1 version of the app doesn’t use the API plugin to connect to the site. It uses the older Espresso services files that get installed to the root directory.

I’m still not sure what you mean by doing the test. Can you explain what you’re testing?


ccarlson

April 11, 2013 at 9:30 am

Sorry for the confusion…  My iphone works with no trouble. My ipad is what is giving the error.   I was following the instruction in the installation manual.   See this link on how to test if the api is installed correctly. https://eventespresso.com/wiki/api-addon/.  

The test (mentioned in the link) takes me to the wppost page. 


Josh

  • Support Staff

April 11, 2013 at 1:49 pm

Hi there,

I understand that the iPhone app version you are using is working, and it’s working because it’s using a different API, so it’s irrelevant in this case.

What is the URL that you are using when you do the test? I tried this:

http://book-events.com/espresso-api/v1/events/public.pretty_json

and it didn’t take me to the home page, but instead it’s a blank page

You might try checking for plugin conflicts or check to see if there are any .htaccess rules that would prevent outside access to the API.


ccarlson

April 19, 2013 at 6:59 pm

Josh, I just looked at this post and noticed that my post last week did not post.  I did some testing and found that if the SSL EE plugin is turned off, then the test URL works.  However, if SSL is turned on, then I get the blank screen.

This is the live site with the SSL turned on: http://book-events.com/espresso-api/v1/events/public.pretty_json

This is the test site with SSL turned off: http://bookevents.jumplittlepixel.com/espresso-api/v1/events/public.pretty_json

On the test site, it shows the event list in text format (as it should).  It does not show that on the live site.

Thoughts?  I can’t disable SSL on the live site, since we need it for the CC processing.  Thoughts?


Josh

  • Support Staff

April 22, 2013 at 1:59 pm

The Event Espresso SSL plugin was an unmaintained fork of the WordPress HTTPS plugin. It was included with Event Espresso for a while as a stop gap while there were a few issues with the WordPress HTTPS plugin that have been since resolved. We recommend using the WP HTTPS plugin instead of the old Event Espresso SSL plugin:

https://eventespresso.com/wiki/espresso-sslhttps/

The support post ‘Server response is zero-length; no data – Ipad App’ 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