The only think I can think of is that the php fopen() call is timing out. Are you trying to generate coins? Does it get better if you stop generating?
Are you using PHP5 ? If you are, try creating a stream_context with a longer timeout (see
http://www.php.net/manual/en/context.http.php ).
No, it is not timing out. The fopen call quickly throws the exception. In my php error log, if an exception happens several times in a row the time for all exceptions are within a second or two. And the site does not hang when these failures happen.
The default timeout, as configured in my default_socket_timeout, is 60 seconds, which is certainly not being reached.
No, I am not generating coins. I have always had coin generation turned off throughout the history of this problem.
Yes, I am using PHP5. The timeout is not set so it should be using the default 60 seconds. Let me know if I should try entering something for timeout any way.