RPC Ping timeout causes other RPC calls to fail

Found a bug? Tell us!!
Post Reply
Pedahzur
Regular
Posts: 10
Joined: Sat Feb 17, 2007 5:19 am
Contact:

RPC Ping timeout causes other RPC calls to fail

Post by Pedahzur »

(I looked through the FAQ and searched the board, but didn't see this.)

Today I had a couple calls to Technorati RPC pings fail, and it seems to cause all the calls (including track backs) to fail.

The message that shows up in the "result window" is
Sending XML-RPC ping to host rpc.technorati.com...Operation timed outOperation timed out
Resaving the article works, but of course the technorati ping isn't tried again. Not sure what is going on.

Anyone hit this before?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: RPC Ping timeout causes other RPC calls to fail

Post by garvinhicking »

Hi!

Which serendipity version are you using? Only in older versions failed rpc pings should cause trackbacks to fail.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Pedahzur
Regular
Posts: 10
Joined: Sat Feb 17, 2007 5:19 am
Contact:

Re: RPC Ping timeout causes other RPC calls to fail

Post by Pedahzur »

garvinhicking wrote:Which serendipity version are you using? Only in older versions failed rpc pings should cause trackbacks to fail.
The top of index.php says:

<?php # $Id: index.php 1519 2006-11-28 14:48:59Z garvinhicking $

I'm not sure of the version number, but I think I'm up to the latest. I just installed 1.1.2 not too long ago.

As an addendum, I also discovered that if I take out the failing ping, and hit publish again, the article is actually published again and I now have two articles, one of which I have to delete.

Thanks!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: RPC Ping timeout causes other RPC calls to fail

Post by garvinhicking »

Hi!

Okay, I think Serendipity 1.1.2 still can exhibit the behaviour to make trackbacks fail when xml-rpc pings fail completely. Some work to improve this has been done in the current 1.2 snapshots.

In cases where a pingback fails, resaving the article should work - if not, you can save the article as draft again, then publish it again (Without checking the 'Send xml-rpc pings' boxes) to perform it.

If you have the time, you might want to try out the recent snapshots and see if they help your problem?
As an addendum, I also discovered that if I take out the failing ping, and hit publish again, the article is actually published again and I now have two articles, one of which I have to delete.
Yes, if you hit "save" again with a aborted save progress, s9y was not able to update your entry form to tell it which entry id the recent entry has assigned (this is done via javascript after an entry is saved). So in your case you would first need to leave the form and edit the existing entry instead...

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Pedahzur
Regular
Posts: 10
Joined: Sat Feb 17, 2007 5:19 am
Contact:

Re: RPC Ping timeout causes other RPC calls to fail

Post by Pedahzur »

garvinhicking wrote:Okay, I think Serendipity 1.1.2 still can exhibit the behaviour to make trackbacks fail when xml-rpc pings fail completely. Some work to improve this has been done in the current 1.2 snapshots.
Cool!

Thanks for all your help and your quick replies!

j
Post Reply