HTTP error: 500 read timeout

Chances are good that the new feature of logging errors with notification and TrackBack pings to the system Activity Log is showing you more HTTP error: 500 read timeout messages from weblogs.com than you would like, and worse yet, when you check weblogs.com it shows that your ping did work, because there it is, right there!

There are two different views of whether or not a ping worked, the pingee’s view and the pinger’s view. When your copy of Movable Type sends an update notification to weblogs.com, as far as weblogs.com is concerned the ping worked when it receives the notification, gets a copy of your page, verifies that it has changed since your last ping, and sends you a reply. It couldn’t care less whether you actually get the reply; if your server has melted into a pool of slag between the time it sent a copy of the page and the time weblogs.com sends its reply, it’s no skin off weblogs.com’s nose.

But as far as your copy of MT is concerned, the ping only succeeds if weblogs.com manages to send back a non-error reply before it gets tired of waiting. The time it’s willing to wait is where you can cut down on the number of (false) error messages you get, but only at the cost of having to sit around watching the “Pinging sites…” page longer when a ping isn’t going through. In {your MT directory}/mt.cfg, you can put in a PingTimeout value (or increase the value if you already have one), so that you have a longer setting than the default 15 seconds, which will cut down on the number of times you are told that a ping failed when it didn’t. Since the same value is used for TrackBack pings, it will also cut down on the number of times that you ping someone’s entry twice because your MT didn’t know that their MT got the ping. The downside is that when a ping isn’t going to go through, you have to wait through that timeout, but since I usually go do something in another tab while MT’s saving an entry anyway, I’m generally happy with

PingTimeout 30

and so far that’s only given me one read timeout error.

20 Comments

Trackback by Jonathon Delacour #
2003-02-15 17:52:48

The pinger, the pingee, and the duplicate ping

Phil Ringnalda explains something that I’ve been wondering about ever since I enabled TrackBack: why does my Movable Type occasionally ping someone’s entry twice and, conversely, why do I sometimes get duplicate TrackBack pings for one of my posts? (I’…

 
Trackback by .conforme #
2003-02-18 00:57:13

Double looping

[via Jonathon Delacour:] Grâce à Phil Ringnalda, les utilisateurs de MT en savent un peu plus sur le pourquoi des doubles pings TrackBack que certains {ici même} ont eu le désagrément d’expérimenter. L’explication est en fait une extrapolation de ce qu…

 
Comment by Shannon #
2003-02-19 19:08:24

Psst. You there?

 
Comment by Phil Ringnalda #
2003-02-19 21:17:09

Nope, I’m (I’s? I was) still at work. Now I’m home, but you’re probably snug in bed by now.

 
Trackback by geeksblog #
2003-02-24 13:26:42

HTTP Timeout Answers

Phil Ringnalda explains HTTP error 500s that you may have in your MT activity log if you ping other sites.

 
Trackback by Ipse Dixit #
2003-07-16 10:57:57

Just Give Me The Ping, Vasili

Phil Ringnalda suggests an easy fix for MT users that will significantly reduce the number of timeout errors you get…

 
Trackback by OUTSIDE THE BELTWAY #
2003-07-16 13:29:15

MT PING ERRORS

phil ringnalda has a fix for MT ping timeout problems. (Hat tip: Dodd Harris)…

 
Comment by Xrlq #
2003-07-16 14:16:20

Thanks! I was wondering why MT gave me that message almost every time I pought Weblogs.com.

 
Comment by Tiger #
2003-07-16 15:55:27

thanks for finding it and simplifying the fix well enough that a technoidiot like me could understand it.

 
2003-07-16 16:24:24

Sorry, I am just looking . . .

[linklylove] Andy at WWRant3 has a really good story about the intelligence of teachers and students in the current public educational system and even manages to reference Mary Kay Letourneau. This follows his important male health report: Pud Pulling …

 
Trackback by Linkmeister #
2003-07-18 00:54:28

’Net bits

The dark side of having your fridge connected to the web: ”and we’re going to need something like 100 IP addresses for each human being.” I’ve been getting timeout errors when pinging Weblogs; my MT activity log is growing exponentially….

 
Trackback by random ruminations #
2003-07-18 21:55:27

Error 500 on MT Pings

Over at philringnalda, I found the answer to the time out error on MT trackback pings. The fix is to enable the PingTimeOut variable in the mt.cfg file. Thanks, Linkmeister….

 
Trackback by Outback2003 #
2003-07-26 08:17:53

Test

test… autodiscovery is on. and here is a link to an external mt blog entry….

 
Trackback by The Triple-S Blog #
2003-09-08 11:02:03

HTTP error: 500 read timeout

I was getting this error: HTTP error: 500 read timeout, so I did a google search and the first result was this entry by Phil. Thanks for the advice Phil. Now I needed a place to test my new settings….

 
Comment by viren #
2004-01-28 01:20:38

question:-
1:-
I have already load all file of rileted link in my server but It is avaliable in server but when i am start the my site and click on orderonline(as link) then it display error is pagecannot be
display and below display http500 internal server error

2:-
MY webpages names are small letter in my harddisk when i load this file on server through ftp then all webpages name are show on Capital letter on server

3:-
when i run asp page in my personalweb server in my pc then it display error header error and response object error ’ASP 0156 :80004005’

 
Comment by edith #
2004-02-10 00:14:01

buon giorno ,senta ho dei problemi con il mio pc,non riesco piu a connettermi con dei siti di una certa importanza,mi dice che impossibile stabilire visualizzare pagina,impossibile tovsre server cosa devo fare ? grazie

 
Trackback by Stupid Simple Blog #
2004-05-13 00:56:01

Multiple trackback pings

Ugh again. When I edited my last post, duplicate trackback pings were sent to a couple of the sites I referenced. It’s happened before, and it’s embarassing, so I did a quick Google search and found Jonathon Delacour’s pointer to…

 
Comment by SRINIVASAN VIJAYARAGHAVAN #
2005-02-08 02:39:20

WHEN I SUBMITTED M Y ”FREELOTTO” GAMME’S PICK,I
RECEIVED THE MESSAGE AS”HTTP ERROR 500.AND I COULD NOT FIX IT SUCCESSFULLY ALL MY EFFERTS

 
Comment by Peenie Wallie #
2005-02-28 14:38:06

Ummm. OK. This sounds simple enough, but, don’t we have to re-run the MTload.cgi after changing this MT.CFG file? Last time I tried this, i got a ”database exitsts” error, and had to drop/recreate my database for it to work. Is there a way around this? Like, is there a MySQL command I could execute against a database in the table to set the ping timeout to 30 seconds?
peeniewallie a_t wispertel.net

Comment by Phil Ringnalda #
2005-02-28 14:54:25

Nope, mt-load.cgi is a one-time thing, to create the database; as it tells you after you run it, you never want it to run again, and thus should delete it so you don’t accidently nuke your database. mt.cfg is read every single time you run any part of Movable Type. In this case, when you save an entry what you are actually doing is starting up a new instance of mt.cgi, sending it what you typed and some instructions about what to do with it, and before it does anything else it will read mt.cfg to see how it is supposed to behave. The PingTimeout isn’t saved in the database at all, only in mt.cfg, where it’s read every time before MT sends a ping (or does anything else).

 
 
Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <del datetime="" cite=""> <dd> <dl> <dt> <em> <i> <ins datetime="" cite=""> <kbd> <li> <ol> <p> <pre> <q cite=""> <samp> <strong> <sub> <sup> <ul> in your comment.