gbsigp3 / googlesitemapgenerator

Automatically exported from code.google.com/p/googlesitemapgenerator
Apache License 2.0
0 stars 0 forks source link

Failed to submit #87

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Log is generating these errors

2009-11-17T02:28:26Z: Failed to do http Get. (11)
2009-11-17T02:28:26Z: Failed to submit
[http://www.<omitted>.com/sitemap_index.xml.gz] to
[http://www.google.com/webmasters/sitemaps/ping?sitemap=].
2009-11-17T02:28:33Z: Failed to submit
[http://www.<omitted>.com/sitemap_index.xml.gz] to
[http://webmaster.live.com/ping.aspx?siteMap=] with status [301].

What is the expected output? What do you see instead?

I would expect the sitemap URL to be appended to the ping URL's, eg. 

http://www.google.com/webmasters/sitemaps/ping?sitemap=http://www.<omitted>.com/
sitemap_index.xml.gz

If I enter this into a browser manually it is successful.

What version of the product are you using? On what operating system?

sitemap_linux-i386-beta1-20090225.tar.gz on CentOS 5.2

Please provide any additional information below.

Original issue reported on code.google.com by d...@revelwood.net on 17 Nov 2009 at 2:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm having the same issue with this config:
   sitemap_linux-x86_64-beta1-20090225.tar.gz
   Ubuntu 8.04.1
   2.6.24-19-xen #1 SMP

The [301] from live.com is valid (has moved to bing.com) but the submission to
Google doesn't make sense.

Original comment by mdlan...@gmail.com on 18 Nov 2009 at 8:10

GoogleCodeExporter commented 8 years ago
I'm having the same issue.... CentOs 5 x86_64 Plesk 9.3

Original comment by ZopfW...@gmail.com on 26 Feb 2010 at 12:19

GoogleCodeExporter commented 8 years ago
using svn revision 48 under FreeBSD (don't think OS has anything to do with 
it). I saw issue w/ yahoo, live.com/msoft, and google.

URLs just appear to be wrong. 

Micosoft/Bing fixed using this ping URL: 
http://www.bing.com/webmaster/ping.aspx?sitemap= 

Yahoo fixed by using an appid (probably due to site being authenticated under 
Yahoo site Explorer). this URL worked for me:

http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=myAp
pId&url=

tried this one for Google
http://www.google.com/webmasters/tools/ping?sitemap=

but got the same thing:
2010-07-01T13:28:49Z: Failed to submit [http://www.mysite.com/ 
sitemap.xml.gz] to [http://www.google.com/webmasters/tools/ping? 
sitemap=]. 

Original comment by ehwin...@gmail.com on 1 Jul 2010 at 2:22

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Found that the Yahoo SiteExplorer Ping API Service is being shutdown in 
December 2010. You can read the announcement here: 
http://developer.yahoo.com/search/siteexplorer/V1/ping.html

Original comment by ovt.joro...@gmail.com on 5 Dec 2010 at 7:06

GoogleCodeExporter commented 8 years ago
Has anyone figured out what's wrong with the google submission URL?

2010-12-14T02:29:18Z: Failed to submit [http://(snip, my url).xml.gz] to 
[http://www.google.com/webmasters/sitemaps/ping?sitemap=].

Original comment by kenwo...@gmail.com on 14 Dec 2010 at 2:35

GoogleCodeExporter commented 8 years ago
First off, I don't have detailed knowledge of C++ nor this project.

The error is 'Failed to do http Get. (11)'.

After looking into it, seems recv() is returning EAGAIN (11).  EAGAIN seems 
rather unimportant in this case, or so it appears to me.  When I threw in some 
debug code I found that the submit was actually successful despite the error.

You can either ignore it or update the code to tell it to stop complaining 
about it.

File: src/sitemapservice/httpgetter.cc
Find:
    if (recv_result < 0) {
      result = errno;
      break;
    }
Replace with:
    if (recv_result < 0 && errno != EAGAIN) {
      result = errno;
      break;
    }
Recompile and install.

Original comment by CarlMGre...@gmail.com on 2 Mar 2011 at 9:20

GoogleCodeExporter commented 8 years ago
http://goo.gl/nk7Nei

Original comment by masp...@gmail.com on 9 Jun 2015 at 1:51