Posted: January 25, 2021 at 12:50 pm
We are getting an error when checking people in on the app – “Error Occurred: Requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible”. Please advise. Dann |
|
Hi there, Can you please run through the steps related to this on the troubleshooting section here: https://eventespresso.com/wiki/ee4-event-apps/#troubleshooting I’d like to capture the requests being sent to and from the server to see if anything stands out there if that’s ok? To do so I’ll need temp login credentials I can use in the app which you can send using this form: |
|
For clarity, as the event author, I am not able to check someone in and my role is Administrator (for the whole site). We have installed the Members plugin – are you asking that we create all those roles in the troubleshooting guide or does the event admin have all those privileges by default. Setting you up with admin so you can see. FYI – the ee_edit_checkin is not on the available permissions list. |
|
No, there’s a specific section for the error you reported on the link, just follow those steps. Confirm the URL you entered into the app an flush permalinks. During testing, just use an administrator account as admins have full access. Testing other roles can be done once we know the admin account works if needed. |
|
Hmm, ok. So the problem is due to the requests being sent to HTTP and then redirected to HTTPS. Doing so is fine for GET requests (the app pulling data IN), but not POST requests (the app sending data to your site, like a checking) which is why your not getting this on every request. To explain a little, when you input your domain into the app, it sends a HEAD request to the site using HTTP to see if the request is redirected. On your site, it is, but then the HTTP requests are all still valid and the app continues to send the requests to HTTP. Generally, that HEAD request tells the app to use HTTPS for the requests that follow but for some reason with your set up that’s not happening. Do you have any code on the site used to ‘clean up’ the site headers? The difference between requests on your server and mine is the REST API request headers have been removed from the response. |
|
Went through the troubleshooting steps and we are on EE 4.10.10 and WordPress 5.6. We reset the permalinks and we still get the same error. We are logging in as http://trojansafety.com (we only enter trojansafety.com) and with my admin username and password. Anything else we can try? |
|
We have a 301 redirect going from HTTP to https. Should we remove that – their previous site was not https. Their new site, that we built, is https with event espresso. |
|
Not sure if this is related but some users are getting this error “Your form data could not be applied to any valid registrations…” This also happens to us sometimes when we are trying to register people. any thoughts? |
|
How much of a delay is there between someone registering and their registration showing up in the app? |
|
How do you know you are logging via http? If you mean you are not entering https into the URL field, that’s correct. Don’t include the URL schema in that section as the app should work that out for you, unfortunately, that’s exactly what is failing with your setup, although I can’t see why. Your site is not trojansafety.com, its http://www.trojansafety.com and I can see all of the requests being directed there (including the requests in the app).
The 301 is fine, its what I have set up on my site. Do you have any code on the site used to ‘clean up’ the site headers? The difference between requests on your server and mine is the REST API request headers have been removed from the response.
Hmm, that’s usually a caching error, or something on your site is clearing transients. If you add a registration and then stop on the attendee information page, wait say 10 minutes and just refresh, does it show an error?
None, its live data. You may need to swipe down to refresh the cache though. |
|
No matter what I enter for the URL, https, HTTP, or just trojansafety.com, the app shows http://trojansafety.com/ when I try to log out and then login in again. No matter which way I login, I still get the error when checking someone in. I deleted and then reinstalled the app but that made no difference either. Is the REST API header an issue – can you tell me specifically what you need us to do? In the app, is there a way to see the person’s registration form details – specifically the comments field? |
|
We have some people that are paying by invoice where they will be billed later via an accounting system. The transaction status shows incomplete. Does that status affect anything in EE – can we have it default to a complete or paid status automatically? |
|
It is an issue, but I can’t say if it causes the current issue with the app as it’s not something I can reproduce on my servers. As far as what you need to do, I don’t know what code you have running on the site so I can’t tell you specifics although you’re looking for code like this:
If you are removing those actions, comment the above on your site and retest. The app communicates with your site using the REST API, it uses the above headers to confirm the URL. I think it would be strange for this to cause the error mentioned but it’s the only difference I can see on the login request.
Not currently, the app doesn’t pull in registration questions, I’m assuming ‘Comments’ is a custom question you’ve added to the registration form? |
|
I will try your suggestion. Are you able to check someone in (trojansafety.com) with the app without getting the error? Yes, the comments is a custom question. What about a link to the person registration info – that would be helpful. Also, would be great to show the company name too. Our client has multiple attendees from the same company coming to their courses. |
|
No, I get the same error you are getting on your site but I can’t reproduce the same issue on any of my sites to troubleshoot on.
Currently, you can’t add additional fields to the mobile apps without changing the code within the app itself. I can add the above feedback to our roadmap but either way it’s not something you can add into the app with a snippet unfortunately. |
|
Anything else we can try? We did switch from our staging server (not secure) to the live server (https) last Friday. We never did try to check anyone in on the staging server. Hoping to get to the bottom of this. What are the next steps? |
|
Hi Tony We keep getting this warning on our server. Suggestions? 2021-01-26 17:38:09 Warning 99.199.70.123 Apache error Apache error These two warnings on our logs keep on repeating. |
|
Did you remove the code I mentioned above to include the headers on the request? I see you’ve removed the 301 redirect and I can now check registrants in if I use your full domain when logging into the app – Adding the URL schema also forces the login to use https if you set it – The strange part is the app can usually work all of this out on it’s own but something specific to your set up is preventing it from doing so, although what that is I can tell right now.
Looks like apache doesn’t have access to sessions and that will be why checkout fails with the error from earlier (“Your form data could not be applied to any valid registrations…”). Why yo are only getting that for some users an not other I’m not sure but you’ll need to contact your host and have them fix the above, it a config issue rather than an EE issue. Your site needs access to create and read sessions for EE to work. |
|
wait – are you saying you can now check people in by login in with http://www.trojansafety.com? I just tried it and it did not work for me. Our host tells us that they cannot replicate the PHP warning – it appears that warning is no longer happening. I just retried login in with the https and I can check people in. I really need to understand what happened – our client is nervous about the reliability of the system and I want them to love Event Espresso. |
|
Yes, at the time HTTP was working if you use the full domain – There was no 301 redirect happening at the time and check-in/out worked with that setup. However, if is test that now, it does not work and I can see there is a 301 set up again (Note I’m using Fiddler which is a debugging proxy that captures all traffic to/from my devices so I can view the requests)
Yeah, I can see it works if I use
Just to be clear, I haven’t changed anything on your site when testing this. It looks like the issue here is/was indeed due to the 301 redirect, but it’s a little odd. When you use I can show you an example of this from within Fiddler, on your site, when you connect with https://monosnap.com/file/U7O7FxYLh3HJwJ7YYEJRfa9sdwVV4p As you can see The above is ‘fine’ (although not ideal) got GET requests (GET requests retain their ‘data’ when 301’d) but it simply can not work for POST requests (which is what the check-in/out request is) as POST requests DO NOT retain data when redirected, they switch to a GET request with no POST data. If I use Again, from Fiddler: https://monosnap.com/file/6JerLLyHjisjJmkcANokmEetLmbbkV The top section is the original login requests and the request to pull in the events etc, all exactly the same as before only no redirect needed. The bottom section is me checking in and out my registration, they work because they aren’t redirected. This is what happens when I test check-in/out with just using https://monosnap.com/file/Sr6nPolM3FjK3GdgCBqGVMoy8kewuW The first request is the POST request to check the registrant in, that’s then 301’d to So that’s the ‘why it happens’ on the app, but right now I can’t tell you what the cause of the behaviour is. The only difference I can see between the 2 HEAD requests from your server and when I do the same testing on mine, is your HEAD request does NOT return the REST link headers I asked you about earlier. Example from your site: https://monosnap.com/file/hlkyfDHlhyflEgykuezoSB7OXZ6PtS From one of my servers: https://monosnap.com/file/fWGVimD972X9AyD6CRyExMY07gWYjz I’ve obviously blurred the domain out on my requests but the domain isn’t important, the headers are. |
|
Thank you – seems to be working fine now. One more thing: Where can we find a list of registrations that have chosen to pay by invoice – is there a report or an export that we can generate? Does EE have a way of handling the invoice option – our client needs to bill them from their accounting system. Please advise if there is a recommended workflow. |
|
For invoices, you have a couple of options and it depends on how you want them to work. When a user registers and selects Invoice within Event Espresso, what do you want to happen at that point? You can set the Default Payment Status of your events to be ‘Approved’, however, note that will Approve ALL registrations that finalize regalrdess of payment status so you would then need to monitor those. Or, if you only want registrations that selected Invoice to also apply to your sold values, you can manually update those to be ‘Approved’. |
|
This reply has been marked as private. | |
No, we don’t have a list of registrations that specifically chose the Invoice payment method. However, if you use a Default Registration Status of Approved, it is possible (via a code snippet) to add an additional filter on the registration list so that you can filter by Registration Status and also Transaction Status. For example, selecting ‘Approved’ registrations with an Incomplete transaction status (a TXN Status of ‘Incomplete’ simply means the monies paid into that transaction is less than the monies owed). Will that work for you? |
|
The support post ‘Error when checking people in on 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.