Google Calendar Sync Issue (Robots.txt)

Discussions about the Calendar Tool at lds.org. Questions about the calendar on the classic site should be posted in the LUWS forum.
azwheels
New Member
Posts: 11
Joined: Mon Nov 28, 2011 5:31 pm

Google Calendar Sync Issue (Robots.txt)

Postby azwheels » Mon Aug 18, 2014 8:12 pm

I'm trying to one-way sync my ward calendar to my Google calendar. It was working well last week, but suddenly it was not refreshing when calendar events changed. So I deleted that calendar sync from my Google calendar and requested a fresh url from the lds.org calendar site. When I tried to sync with the new url, I received the following error message: Could not fetch the url because robots.txt prevents us from crawling the url.

russellhltn
Community Administrator
Posts: 20767
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Re: Google Calendar Sync Issue

Postby russellhltn » Mon Aug 18, 2014 8:23 pm

Google only syncs about once a day. So changes to the calendar will not be reflected immediately.

You can use the URL only once every nine minutes. If you try to refresh/reread it more often then that, you will get an error. Creating a new URL does NOT reset the timer. Note that this includes all devices that use the URL, so if you've just added a device or service to sync to, that could be the problem.
Have you searched the Wiki?
Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.

azwheels
New Member
Posts: 11
Joined: Mon Nov 28, 2011 5:31 pm

Re: Google Calendar Sync Issue

Postby azwheels » Mon Aug 18, 2014 8:27 pm

My google calendar was not refreshing the lds.org calendar data at all. Even after a week, the changes made to lds.org did not show up in the Google calendar. That's the reason I tried to re-sync. It has been over an hour since I tried to sync using the new url, and I still get the same error.

russellhltn
Community Administrator
Posts: 20767
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Re: Google Calendar Sync Issue

Postby russellhltn » Mon Aug 18, 2014 9:51 pm

Sync is working for me, so if there's an outage, it's not across the board. Have you tried putting the URL in a web browser? You should get a ICS file. (And then you'll have to wait 9 minutes before doing any further testing.)
Have you searched the Wiki?

Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.

azwheels
New Member
Posts: 11
Joined: Mon Nov 28, 2011 5:31 pm

Re: Google Calendar Sync Issue

Postby azwheels » Tue Aug 19, 2014 8:41 am

I put the url into the Google Chrome web browser. It downloaded a file, which I opened in Notepad. Looks like it contains info about each calendar event.

I wonder if there is a setting in Google that tells robots.txt to allow all? Remember the error message is:

Could not fetch the url because robots.txt prevents us from crawling the url.

When I google this issue, here's what I get:

URLs restricted by robots.txt errors

Google was unable to crawl the URL due to a robots.txt restriction. This can happen for a number of reasons. For instance, your robots.txt file might prohibit the Googlebot entirely; it might prohibit access to the directory in which this URL is located; or it might prohibit access to the URL specifically. Often, this is not an error. You may have specifically set up a robots.txt file to prevent us from crawling this URL. If that is the case, there's no need to fix this; we will continue to respect robots.txt for this file.

If a URL redirects to a URL that is blocked by a robots.txt file, the first URL will be reported as being blocked by robots.txt (even if the URL is listed as Allowed in the robots.txt analysis tool).

User avatar
aebrown
Community Administrator
Posts: 14693
Joined: Tue Nov 27, 2007 8:48 pm
Location: Sandy, Utah

Re: Google Calendar Sync Issue

Postby aebrown » Tue Aug 19, 2014 10:34 am

azwheels wrote:I put the url into the Google Chrome web browser. It downloaded a file, which I opened in Notepad. Looks like it contains info about each calendar event.

I wonder if there is a setting in Google that tells robots.txt to allow all?

The fact that you could download the iCAL file shows that the LDS.org calendar sync service is working properly.

I don't understand why Google Calendar would even care about a robots.txt file. After all, the only operation that is needed is to download a single file from the URL that you supply (the sync URL). There should be no web crawling involved.

I personally sync my LDS.org calendar to Google Calendar, and I've never seen that error message.

azwheels
New Member
Posts: 11
Joined: Mon Nov 28, 2011 5:31 pm

Re: Google Calendar Sync Issue

Postby azwheels » Tue Aug 19, 2014 10:36 am

OK. Do you think maybe some malware or virus could cause this?

User avatar
aebrown
Community Administrator
Posts: 14693
Joined: Tue Nov 27, 2007 8:48 pm
Location: Sandy, Utah

Re: Google Calendar Sync Issue

Postby aebrown » Tue Aug 19, 2014 10:44 am

azwheels wrote:OK. Do you think maybe some malware or virus could cause this?

I would think that is quite unlikely. The message does seem like something Google could be reporting, and that report would be based on information that Google sees on the lds.org server as it tries to download the file. I wouldn't think that malware would be likely at all to interfere with that part of the process.

I'm not sure what to suggest. You might try generating a new sync URL on the LDS.org calendar and see if that helps.

azwheels
New Member
Posts: 11
Joined: Mon Nov 28, 2011 5:31 pm

Re: Google Calendar Sync Issue

Postby azwheels » Tue Aug 19, 2014 10:48 am

I did that. Twice, in fact. If you think of anything else I can try, please let me know. I really miss seeing the church events on my family calendar.

russellhltn
Community Administrator
Posts: 20767
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Re: Google Calendar Sync Issue

Postby russellhltn » Tue Aug 19, 2014 11:09 am

azwheels wrote:Could not fetch the url because robots.txt prevents us from crawling the url.

You might re-check your procedure for entering the URL. I don't think "robots.txt" comes into play unless you're asking google to index the link to make it available for a web search.
Have you searched the Wiki?

Try using a Google search by adding "site:tech.lds.org/wiki" to the search criteria.


Return to “Calendar”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest