Support

Home Forums Ticketing Add-on ipad app not logging in

ipad app not logging in

Posted: February 24, 2013 at 11:39 pm


Daniel Bilsborough

February 24, 2013 at 11:39 pm

Hi there,

The iPad app is giving me an error, the iphone app is working perfectly and the same credentials.

error: “Sorry, cant log in” 404-not-found

Please help.


Dean

February 25, 2013 at 4:08 am

Hi Daniel,

Thanks for bringing this to our attention, I dont have an iPad, so I will pass this question onto one of the support staff with one to see if they can see any issues.


Garth

  • Support Staff

February 25, 2013 at 7:29 am

Hi Daniel,

It’s my understanding that the iPhone app uses Espresso Services not the API, so they are different things… we’ll keep you updated.


Daniel Bilsborough

February 25, 2013 at 7:31 am

ok… it would be great if there were some instructions on how to use this iPad app then. And install the API.


Garth

  • Support Staff

February 25, 2013 at 7:45 am

The API is still in Beta (pre-release) so we’re working on some of the documentation. Here is the API documentation: https://eventespresso.com/wiki/api-addon/ Here is some info though that might help: https://eventespresso.com/2013/02/announcing-the-new-event-espresso-api-addon/ https://eventespresso.com/2013/02/announcing-the-new-event-espresso-ipad-app/


Josh

  • Support Staff

February 25, 2013 at 8:13 am

Hi Daniel,

Right now, the new API that works with the iPad app can be downloaded in the pre-release section of your account page. You’ll see a checkbox below the standard Downloads section that will allow you to opt-in to the pre-releases.

Once you download the new API, which is labeled “Event Espresso API v2.0.0.B”, you can install it via your WordPress plugin manager just like any other Event Espresso add-on.


Peter

February 25, 2013 at 11:00 am

I just downloaded the API and the iPad app and also can not log in “bad URL”. The old iPhone app still works.
FYI. Until I red Josh’s post above I dd not know how to load the API and could not find it i any of the release notes. Previously services like this were loaded directly to the site and not through the WordPress plugin upload.


Seth Shoultes

  • Support Staff

February 25, 2013 at 12:42 pm

We are still working out aspects of the documentation. Once the new api is installed, you will see new menu item under the Event Espresso admin menu. You will need to adjust the api settings there.


Peter

February 25, 2013 at 12:58 pm

The API was installed and I even tried changing the “Allow Public API Access” to allow, but still got the error. “API Time Out After” set to one hour.


Seth Shoultes

  • Support Staff

February 25, 2013 at 1:16 pm

Hey guys,

I updated the documentation that explains how to install the API addon.


Peter

February 25, 2013 at 4:30 pm

Seth, Just checking what is the endpoint, it was the domain root directory, but that is not working and I have tried the directory where the plugin is located too?


Seth Shoultes

  • Support Staff

February 25, 2013 at 4:40 pm

Should be the domain for the website. Eg.: mywebsite.com or http://www.mywebsite.com.

If you want, send me the url and login creds via email and I will see if I can login.


Peter

February 25, 2013 at 5:15 pm

Seth, you should have received the login creds for tagpartyrecon.com


Seth Shoultes

  • Support Staff

February 25, 2013 at 5:36 pm

It looks like the api is installed corectly on your site, but something might be misconfigured in the api settings. Take a look at this url on your site: http://tagpartyrecon.com/espresso-api/v1/events/public


Peter

February 25, 2013 at 5:59 pm

Seth. the directory http://tagpartyrecon.com/espresso-api/ does not exist on the site.


Peter

February 25, 2013 at 7:38 pm

Seth, Got your screen picture, nice but I still get “Sorry, can’t log in bad URL”. What did you do to get it to work?
I have turned my iPad off and rebooted, but no change. I have gone into settings and see an EventEspresso API Key entry field which is blank – what should be there?


Seth Shoultes

  • Support Staff

February 25, 2013 at 8:42 pm

This is what I used to login:
http://www.screencast.com/t/sbSamUPMC

If you like, you can try testing with our test drive website. Enter this as the Event Espresso Endpoint:
https://eventespresso.com/testdrive/

Login ID: myespresso
Password: mrespresso


Peter

February 25, 2013 at 9:21 pm

The mystery deepens.
A) So I can access your test site and the iPad app works as expected.
B) I can access my site on the iPad if I use Seth’s login, but only Today works. I get an error on past and upcoming events. I get the following error “The operation could not be completed (Cocoa error 3840)”
C) I still get the bad URL error when I try to login with my own administrative credentials.

I have repeated the various logins numerous times now with the same results. When I deliberately use an incorrect login or password I get the error telling me I have one or other wrong.


Seth Shoultes

  • Support Staff

February 25, 2013 at 9:29 pm

Do you have times and dates entered for all your events?


Peter

February 25, 2013 at 9:53 pm

Yes, most of them are reoccurring events. Also it looks like I can login and not get the bad URL error if I change my user name by removing the space. The events all show on the old app and I still can login using that even with the space between my user names. Seth your login credentials are still good and you should be able to see the events and the error using your login.


Seth Shoultes

  • Support Staff

February 26, 2013 at 12:10 am

Peter,

Can you please check your error logs? It looks like the API is timing out on your server.


Seth Shoultes

  • Support Staff

February 26, 2013 at 12:13 am

Or maybe running out of database memory:
http://www.screencast.com/t/XkV2bGX33zR


Peter

February 26, 2013 at 10:53 am

Working with my hosting company because there are no error logs!!

I have increased the database memory and now get the errors: “No Events The request timed out.” and “…(Cocoa error 3840)” on upcoming events.

I also get the error “No Events Para event_start with value 2011-07027 10:00AM:00 is not of allowed type datetime” when selecting past events. I have gone into the database and changed the time to 24hr from AM/PM in a the very early events that used that format.

I can now see the oldest past 50 events, which are all deleted events that I do not want to see.

I still have the bad URL when I use a two name login, but fortunately the old app still works.

Can I increase the time out to get this to work, or is it a call to the database error where my host limits the number of calls (same issue as the Calendar)?


Peter

February 26, 2013 at 11:14 am

Hostgater tell me there are no error logs since there are no errors being generated…they tell me it is the app that has a problem and timing out.


Seth Shoultes

  • Support Staff

February 27, 2013 at 8:41 am

K. I’ll pass this info on to the app and api developers.


Seth Shoultes

  • Support Staff

February 27, 2013 at 10:29 am

Hostgater tell me there are no error logs since there are no errors being generated…they tell me it is the app that has a problem and timing out.

Not sure how this is a problem with the app, since you were able to login to our sandbox server and pull up events just fine.

I am wondering if there is something wrong with your event data. This is the response I got back from the iOS developer, regarding the Cocoa error 3840:

This is an error spit out from the JSON deserializer. Basically the JSON is either malformed it the response we are getting back is returning something other than JSON. In this case, the response is zero-length. No JSON body was returned. Definitely a server problem.

I’m adding code to the next release to explicitly check for this and report a more human readable error. I will test the new code against this broken server.


Peter

February 27, 2013 at 12:38 pm

Seth, Looks like I am getting caught in between, app developers and isp host, though as you point out it could well be my event data, which is considerably greater in number than the test sites 4 today, 44 upcoming and 33 past events and no ongoing events.

What I can state factually is the following:
1) The iPhone app works with my data on iPhone and iPad.
2) My login works on the iPhone app, but not on the new iPad app. I can only login to with the iPad app with a user name that does not have a space in the user name
3)When I do get any data on the new iPad app it is in the past events and is a) deleted events (that do not show in the iPhone app and I do not really want to have cluttering up the screen anyway, and b)I can only see a limited 50 events.
4)I have 2206 events, including deleted events, in the database and 733 events showing in my admin panel. Calendar and list displays have no problem in showing upcoming events available for registration (2 months registration period in advance of event (Calendar problem with database access if I increase this level).
5) May or may not be related, but a data point: As you might be aware from another thread, I am having filtering problems and can not see deleted event attendees, or in fact deleted events(option removed from filter}, but they show in the iPad app.

One other thing on the new iPad app on the demo site I could not work out how to redeem a ticket manually – how do you do this?


Seth Shoultes

  • Support Staff

February 27, 2013 at 10:37 pm

Hi Peter,

Sorry. I was mainly addressing the issues with the server in my response above. We are aware of the issue with the limitation of 50 events. It was kind of planned that way, for the first round of the app, because we are well aware that some people have hundreds, or even thousands, of events, but their [shared] servers and the app may not be able to handle the amount of data output/input, without some kind of caching in the JSON API, which we don’t exactly have nailed down at the moment.

I have tested the app and the json api on our [dedicated] server, with 600+ events and 2000+ attendees. It’s a little slow, depending on the traffic to our site, but I haven’t been able to crash the app or the api yet.

I will have our API developer look into the issue with the deleted events issue.

To manually check in attendees you will need to click on an attendees name on the attendees name, then click the “Check-in” button in the top right corner of the page. Here is more info: https://eventespresso.com/wiki/mobile-apps/#ipadmanualcheck

I am still working on #5.


Peter

February 27, 2013 at 11:04 pm

Thanks Seth. I found the “check-in”. 50 past and 50 upcoming events will be enough providing they are the last 50 and the next 50 respectively.

I had one other thought, that should be looked at; I have ongoing events that do not have start and end dates, or times, and do not show in the today screen, though they do show on the iPhone app.


Peter

March 2, 2013 at 9:44 am

Seth, “Todays” 7 events were accessible on the iPad app, but I did note some other items that need to be looked at:
1) Price option shows “Members Admission” even though the members add on is not active and the client registered a different price option as displayed on the admin screen and ticket.
2)The client overpaid and this does not show in the Payment Status field on the app, though the other status values seem to show.
Also could the number of attendees at each event be shown on the overview screen?


Seth Shoultes

  • Support Staff

March 6, 2013 at 10:13 pm

Hi Peter,

I created a ticket for the developer to look into this.


Michael Nelson

  • Support Staff

March 7, 2013 at 12:23 pm

RE: “1) Price option…”

yes this was a bug in the API. Even though the members addon wasn’t active, members prices are actually still saved in the DB, and were getting returned instead of the normal prices.
I just made a fix for this bug and am getting it tested. The next release of the API will correctly return the price names, and only return the members prices if that addon is active.

The support post ‘ipad app not logging in’ 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