Every cron run I am getting an error in the drupal log

Error occurred submitting sitemap to Ask.com: 0

I have set up cron to run every day.
When I tried manually submitting the sitemap to ask.com the submission went through normally.

I see that the error code might not have anything to do with the module as such. Has anybody figured out how to sort this out?

Comments

Anonymous’s picture

I can't find the issue now but this is a duplicate of another one. It seems that your environment isn't set to accept the length of time required by the ask.com ping command and it times out giving this error code. At least that is what I think I remember for the root cause analysis.

Anonymous’s picture

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

Is this still an issue?

mrfelton’s picture

I get this error in my logs 3 or 4 times a day. My cron job runs every 3 minutes.

dave reid’s picture

@mrfelton: What is your 'Frequency of sitemap submission' setting set to?

mrfelton’s picture

Dave Reid: hourly, and when content changes.

avpaderno’s picture

Status: Postponed (maintainer needs more info) » Active
dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

Might want to try upgrading to latest 6.x-1.x-dev. We made some improvements to the engine submission messages.

I'd be willing to bet that the problem is either/both:
1. When cron is run, the $base_url isn't set properly so its creating improper URLs to sitemaps for the engines (like http://local/sitemap.xml which is not request-able by engines since its a local path).
2. Your submission frequency is too frequent. I highly recommend to most everyone using 24 hours or more. Doing more frequently than every 24 hours is cause for engines to ignore or block your requests.

dave reid’s picture

Status: Postponed (maintainer needs more info) » Fixed

No response, so assuming we can mark this as fixed.

Status: Fixed » Closed (fixed)

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