Home › Forums › Calendar Products › Event Aggregator › Archive Control Data error
- This topic has 11 replies, 2 voices, and was last updated 5 years, 8 months ago by Lucian Tucker.
-
AuthorPosts
-
June 25, 2018 at 10:59 am #1560900Lucian TuckerParticipant
Hello,
I’m trying to pull events from another website and getting the following error:
Events could not be imported. The URL provided could be reached and has The Events Calendar REST API enabled, but there was an error while fetching the archive control data.
I’m trying to do this for multiple websites, but one of them is http://nelc.ucla.edu/events. Can you let me know what are the common causes of this error? Note that the website I’m pulling events to is blocked to people outside of a particular IP range.
Thanks.
June 25, 2018 at 3:12 pm #1561142CliffMemberHi, Lucian. All Event Aggregator (EA) imports run through our own hosted server so you’d have to whitelist our IP address. I’ve asked our team if this is something we can provide. I’ll let you know once I hear back.
Thank you.
June 25, 2018 at 3:15 pm #1561143CliffMemberThis reply is private.
June 28, 2018 at 3:30 pm #1564094Lucian TuckerParticipantHi Cliff,
Any update? Also, can you tell me how Event Aggregator works in terms of what requests are sent to where? I’m thinking it’s possible this is due to a security setting on our end I need to deal with.
June 28, 2018 at 4:07 pm #1564134CliffMemberDid whitelisting that IP address not work?
The Events Calendar plugin has code to talk to our SaaS (ea.theeventscalendar.com), which actually does all the processing (get the feed’s content, process it, send the required data back to your site).
We moved to this a year or two ago because many people’s sites weren’t able to handle processing large data feeds (iCal files) or were running older PHP versions that limited some of the libraries/logic we could incorporate into the processing.
Additionally, some API authentications are made easier because we can authenticate once instead of having each user authenticate.
I hope this answers all your questions. Please let me know what you find out regarding that IP address.
June 29, 2018 at 9:21 am #1564570Lucian TuckerParticipantDo I need to whitelist the site I’m pulling the events from? Or the site I’m posting the events on?
June 29, 2018 at 3:03 pm #1564870Lucian TuckerParticipantThis reply is private.
July 2, 2018 at 12:40 pm #1566235CliffMemberYour site (site running The Events Calendar) sends the request to our SaaS (ea.theeventscalendar.com), then our SaaS visits the site.
So if the site you’re trying to import from is unavailable to our SaaS, Event Aggregator won’t be able to import it.
For example, if you’re importing from SiteB.com into SiteA.com, SiteA.com needs to be able to access our SaaS, and SiteB.com needs to allow our SaaS access (whitelisting our IP, for example).
Let me know if anything is unclear.
July 5, 2018 at 10:12 am #1568435Lucian TuckerParticipantWhitelisting didn’t seem to work, but the error message I get seems to imply that it’s able to see the site: “Events could not be imported. The URL provided could be reached and has The Events Calendar REST API enabled, but there was an error while fetching the total number of events.”
July 5, 2018 at 3:16 pm #1568707CliffMemberI visited http://nelc.ucla.edu/events/ and it says there aren’t any upcoming events.
If you’re looking to import past events, you’ll need to change the Event Aggregator search parameters to look in the past.
I tried to import from that URL and got the same error.
Turns out their site has disabled the REST API, since http://nelc.ucla.edu/wp-json is not available.
This will need to be allowed/handled/fixed at that site.
The only other alternative would be to import via their iCalendar export link(s).
July 6, 2018 at 10:08 am #1569433Lucian TuckerParticipantHi Cliff,
Thanks for pointing that out. I was able to allow access to the JSON file and get imports working for that site.
However, I’m also running into another error for a different website. I’m trying to pull events from http://linguistics.ucla.edu/events/ and sometimes when I try to preview the import it works. At other times, I get this error: “There was an error fetching the results from your import: Unknown message: http_request_failed.” I’m trying to figure out what makes it work at times and not at others. Any idea?
July 6, 2018 at 12:16 pm #1569584CliffMember1) Glad to hear that.
2) That sounds like an issue with the site itself, not specific to our plugins.
There’s a number of such issues reported at https://wordpress.org/support/topic-tag/http_request_failed/ so you may look for insight there. Likely, you might need to discuss this with that site’s host.
Please let me know what you find out.
July 28, 2018 at 9:35 am #1585210Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Archive Control Data error’ is closed to new replies.