Pinging Question

Creating and modifying plugins.
mahctagon
Regular
Posts: 16
Joined: Thu Feb 03, 2005 11:23 pm

Pinging Question

Post by mahctagon »

Ok, I have a question about the "Announce Entries" plugin. I have this plugin activated, and whenever I post an entry, I get this message:

"Sending XML-RPC ping to host ping.blo.gs..."

and it just sits there. Should it do that? Or should the message go away, or give me an "entries announced successfully" message?

The post will be on my blog, but I'm just wondering if the plugin is working properly?

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

Re: Pinging Question

Post by garvinhicking »

You should usually get a "Entry successfully inserted" screen. If you get no follow-up reports that may mean that your host has outgoing socket connections disabled, or the timeout. May be a firewall issue?

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/
mahctagon
Regular
Posts: 16
Joined: Thu Feb 03, 2005 11:23 pm

Post by mahctagon »

Thanks for the reply.

Pretty sure it's not a firewall thing. How would I check the sockets? I'm pretty new to this whole thing.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

The standard timeout should occur at about 60 seconds. Have you ever waited that long and see if you got another response?

Have you looked at the HTML output of the page with the "ping...." information, if there are errors noted?

And which Serendipity version are you using?
# 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/
mahctagon
Regular
Posts: 16
Joined: Thu Feb 03, 2005 11:23 pm

Post by mahctagon »

I checked the HTML of the page that gives the "Sending XML-RPC ping to host ping.blo.gs..." message, but there is no error listed. I've waited a few minutes, but the message never changes.

I'm using Serendipity ver. 0.7.1
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Do you maybe have the chance to upgrade to the latest 0.8 snapshots? They are quite stable and we have changed the handling of XML-RPC pings there, so maybe this is fixed for you?

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/
Rocksolid
Regular
Posts: 5
Joined: Sat Jan 01, 2005 7:41 pm
Contact:

Post by Rocksolid »

Personally, i don't use the pinging option in serendipity because it takes so long to do (nothing against Serendipity...all platforms are the same on that).

I goto http://pingomatic.com/
~~Scott~~

Viva La Blog
mahctagon
Regular
Posts: 16
Joined: Thu Feb 03, 2005 11:23 pm

pingomatic

Post by mahctagon »

Thanks! That seems to work just fine. I still have no idea why the ping option takes so long, but this will work out ok.
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

I have two different Serendipity blogs that use this plug-in. One is 8.6, the other 8.5. I just recently added a bunch of new pinging services to both, and everything looked fine within the plug-in - the new services showed up, and I checked the "yes" radio buttons, and all seemed well. But when I post, I'm getting the same error messages on both blogs. It pings the original services just fine, but the ones I added... well, here's a sample of what I'm getting:
Sending XML-RPC ping to host rpc.pingomatic.com...
Sending XML-RPC ping to host xmlrpc.blogg.de...
Sending XML-RPC ping to host blogbot.dk...
Sending XML-RPC ping to host http:...

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/xxxxx/public_html/bundled-libs/XML/RPC.php on line 461

Warning: fsockopen(): unable to connect to http::80 in /home/xxxxx/public_html/bundled-libs/XML/RPC.php on line 461

Warning: fputs(): supplied argument is not a valid stream resource in /home/xxxxxx/public_html/bundled-libs/XML/RPC.php on line 513
Sending XML-RPC ping to host http:...
There are a lot more error messages, but they are all repeats of one of those.

I'm guessing the ones that say "name or service not known" may be a case of a bad link, in which case I just need to remove that service from the list.

But what are the others? Did I input them wrong?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

It seems you entered a wrong list of URLs to connect to.

Paste the additional services you entered here, please. Also make sure that you separate them with "," and not ", " (note the space).

In one case you seem to enter http::/ instead of http://.

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/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

By the way, Garvin, I just wanted to say thank you for all your help. I've made so many requests for it in the past few weeks since I discovered Serendipity. It's because I'm not that tech savvy, yet Serendipity puts so many really powerful features within my reach that I never would have attempted with WordPress. And as much of a pain as I've been, I'm learning a lot, and solving more and more problems myself.

You've been extremely helpful and responsive, and I've got two fantastic blogs as a result. I really, really appreciate your hard work. :D
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hathor, I'm very happy you enjoy Serendipity! That's what it's all about! :)

About your pinging problems: I forgot to add that adding "http://" is not needed! The plugin just wants the hostnames of the services, so just put them there without http:// :-)

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/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

Oh, thank you! I figured it was something simple like that. Now it's running beautifully! :)
Russell
Regular
Posts: 9
Joined: Wed Mar 16, 2005 6:02 am
Location: Reno, NV, USA
Contact:

Ping errors

Post by Russell »

This is what I get when I ping Blogsnow.


Sending XML-RPC ping to host rpc.pingomatic.com...
Sending XML-RPC ping to host ping.blo.gs...
Sending XML-RPC ping to host rpc.blogrolling.com...
Sending XML-RPC ping to host rpc.technorati.com...
Sending XML-RPC ping to host rpc.weblogs.com...
Sending XML-RPC ping to host xmlrpc.blogg.de...
Sending XML-RPC ping to host api.my.yahoo.com...
Sending XML-RPC ping to host blogbot.dk...
Sending XML-RPC ping to host http:...

Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/include/supersized/serendipity/bundled-libs/XML/RPC.php on line 461

Warning: fsockopen() [function.fsockopen]: unable to connect to http::80 (Unknown error) in /var/www/include/supersized/serendipity/bundled-libs/XML/RPC.php on line 461

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/include/supersized/serendipity/bundled-libs/XML/RPC.php on line 513
Sending XML-RPC ping to host http:...

Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/include/supersized/serendipity/bundled-libs/XML/RPC.php on line 461

Warning: fsockopen() [function.fsockopen]: unable to connect to http::80 (Unknown error) in /var/www/include/supersized/serendipity/bundled-libs/XML/RPC.php on line 461

Warning: fputs(): supplied argument is not a valid stream resource in /var/www/include/supersized/serendipity/bundled-libs/XML/RPC.php on line 513
Your entry has been saved
Russell
Post Reply