Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
tried the module and get this after cron job and with "autoping when updating..." option :
Pingback to http://leapon.net/en/drupal-gets-pingback from http://www.simpleexcite.net/node/6 failed.
Error 16: The source URL does not exist.
Thanks for some help !!
Comments
Comment #1
ptilu8 CreditAttribution: ptilu8 commentedI tested pingback within my website, it works...
Comment #2
andreashaugstrup CreditAttribution: andreashaugstrup commentedThis can have multiple reasons. They all relate to Drupal having trouble fetching the URL you are linking to.
The first and third are the most likely reasons.
Comment #3
ptilu8 CreditAttribution: ptilu8 commentedThx for your quick answer,
could you please check http://www.simpleexcite.net/phpinfo.php and confirm I have trouble with PHP settings to make your module work ??
Thx a lot !
Comment #4
andreashaugstrup CreditAttribution: andreashaugstrup commentedI don't know enough about PHP configurations to tell you that. Try running through some of the examples at http://us2.php.net/manual/da/function.fsockopen.php in a non-Drupal enviroment (in its own script) to see if that function works.
Inside Drupal try running system_check_http_request() http://api.drupal.org/api/function/system_check_http_request/6 to see if Drupal thinks it can make HTTP requests.
I take it this happens with all URLs you are trying to pingback?
Comment #5
ptilu8 CreditAttribution: ptilu8 commentedI got Error 16, error 500 linking on different source, I dig and post back..
Thx
Comment #6
andreashaugstrup CreditAttribution: andreashaugstrup commentedSounds like the site you are linking to either has other trouble (giving a 500 to everyone) or is just not allowing Drupal to download the page.
Comment #7
ptilu8 CreditAttribution: ptilu8 commentedSeems it doesn't work on certain subdomains only, time to close...
Comment #8
willfe CreditAttribution: willfe commentedSheepishly reopening this support request to report a similar problem on a Drupal 5.7 installation (please accept my apologies if this is a breach in etiquette). I tested that fopensock() works (in fact I used the first example shown on the linked PHP manual page, plugged in http://leapon.net/en/drupal-gets-pingback instead of example.com and the resulting page (on the same server) printed the contents of the remote page just fine (the test page is http://willfe.com/testing.php).
The error message I see in the logs is similar to the one reported above:
"Pingback to http://leapon.net/en/drupal-gets-pingback from http://willfe.com/willfecom_adds_pingback_support failed. Error 16: The source URL does not exist."
Both URLs mentioned in the error load just fine in my browser (from the same machine that's hosting willfe.com). Any ideas what could be breaking here? I've got root on the machine in question and can munge around with Apache and PHP configuration stuff as needed. Thanks!
*Edit: Additional details from my troubleshooting efforts.
I've made sure that my server is actually offering up the pingback service itself, and this interaction with the server demonstrates it is:
I would assume the "X-Pingback: ..." header indicates that the pingback service is being properly advertised. Loading the referenced URL prints the expected "accepts POST requests only" warning.
Comment #9
Leonth CreditAttribution: Leonth commentedThis is the owner of leapon.net talking. I'm very sorry, but recently the server was going up and down, and it had some problem in outgoing connections (that is, fsockopen() returns correctly but no connection is made). Therefore the pingback client (in my server) cannot check the link. Now the server seems to be Ok.
Pingback can get some documentation about this though. e.g. Error 16: The source URL does not exist. Perhaps the destination server could not reach this website/server, or [insert other cases where the error might come up]. The same for other errors when issues arise.
Comment #10
willfe CreditAttribution: willfe commentedYou're right, and I noticed pingback was working on other sites so I'd assumed it was just a fluke on just that page. My apologies for not noting that here sooner :) Thanks for letting me know what was going on, though!