The specific public cal I'm using returns this error message:
"GCal Events[Block 1] cURL error 28: Operation timed out after 10000 milliseconds with 2222279 bytes received"

Running in dev mode, I get the following messages:
Timezone: America/Los_Angeles
GCal Events: Cache is set to sites/all/modules/gcal_events/cache
GCal Events: Cache duration is 3600 seconds
GCal Events[Block 1] FeedURL
GCal Events[Block 1] Feed Init took 10.1459190845 seconds

At the same time, I get a blank white screen every time that I change the block settings. However, a page refresh seems to correct itself.

I tested the module out with the Google US Holidays calendar ID (usa__en@holiday.calendar.google.com) and it works great, so it appears that the only issue is with the Google calendar that I'm trying to pull.

Please help! I'm running GCal Events 1.4 for Drupal 6.x on localhost, using MAMP

Comments

lauggh’s picture

Version: 6.x-1.4 » 6.x-1.x-dev
Priority: Critical » Normal

The issue went away when I used the dev version. Thoughts?

Se7enLC’s picture

The normal non-dev version, by default, tries to download 2500 events, and then pares it down to the requested number. This method worked fine until I added support for recurring events - with recurring events, it was actually generating the entire 2500 events for any calendar request, which will take a long time and a lot of memory. The dev version now only requests the right number of events.

(as a side note, the reason the previous versions tried to download so many events was that the date and validity checking was done after the events were downloaded, rather than in the request. Now that the request is able to handle that, the number of requested events can be shortened. When i get time I will release the current dev version as a normal release

Se7enLC’s picture

Assigned: Unassigned » Se7enLC
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.