Other Diversions

security

politics

religion

technology

news

friends

Science / Skepticism


Powered by MT Blogroll

Latest Music

« Creationist debunking at your fingertips | Juxtaposition Home | Museum of Unworkable Devices »

weblogs.com RPC error fix

You may have seen this error crop up in your movabletype blog:

Ping 'http://rpc.weblogs.com/RPC2' failed: HTTP error: 500 read timeout

I found plenty of sites through google where people were asking about this but nobody offered a solution that I saw. Well, I found a solution that was posted on the MT support forum just an hour or so ago:

movabletype.org : Support Forum

below is a unified diff so that you can patch your site. The patch seems to work most of the time, although I have had at least one of the same errors crop up. That could have been due to something else though.

--- XMLRPC.pm   Tue Feb 11 16:15:03 2003
+++ lib/MT/XMLRPC.pm  Fri May 23 16:29:04 2003
@@ -68,8 +68,12 @@
             "HTTP error: [_1]", $res->status_line ));
     }
     my $content = $res->content;
-    my($error, $msg) = $content =~
-        m!flerror.*?(\d+).*message.*?(.+?)!s;
+# quick fix to weblogs.com RPC error in activity log.  See blog entry for details.
+#    my($error, $msg) = $content =~
+#        m!flerror.*?(\d+).*message.*?(.+?)!s;
+   my($error) = $content =~  m!flerror.*?(d+)!s;
+   my($msg) = $content =~  m!message.*?(.+?)!s;
+
     if ($error) {
         return $class->error(MT->translate(
             "Ping error: [_1]", $msg ));

TrackBack

TrackBack URL for this entry:
https://juxtaposition.axley.net/blog-bin/mt-tb.cgi/71

Comments

hi, i have a new computer and just got virus w32 , i have cleaned my computer but cannot acces to https pages (banks and that stuff). I just clicked on the exclamation sign on the explorer window bottom left, and it refered me to error 113 RPC, the thing is, what should i do, can somenone help me?

Post a comment

«« October 2007

Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Contact: Jason Axley

Search Amazon:

Amazon Logo