[wp-testers] Plugins Page - 2.5RC2

DD32 wordpress at dd32.id.au
Wed Mar 26 22:39:57 GMT 2008


On Thu, 27 Mar 2008 09:32:56 +1100, Colin Ogilvie <wordpress at colinogilvie.co.uk> wrote:

> DD32 wrote:
>> The HTTP Connection is on a 3 second timeout, So if it cant contact wordpress.org within 3 seconds, it fails.
>> However, That shouldnt prevent the plugins page loading.
>>
>> I've just tried setting the computer so that it cant call home ( 10.10.10.99	api.wordpress.org in my hosts file), and that gives a 3 second delay on the first request.. works fine after that (ie. no update notifications, but plugins page loads simple enough).
>>
>> Perhaps remove the @ from the start of the fsockopen call, and enable WPDEBUG in your config file:
>> define('WPDEBUG', true);
>> See if any PHP Errors show up when you visit the plugins page
>
> It looks like the fsockopen has the 3 second timeout - this is the
> timeout for the initial connection to api.wordpress.org. The problem I
> had, and managed to demonstrate at the command line with telnet, was
> that the connection to the server was being made successfully and it was
> sending the HTTP POST request but it was never receiving a response to
> the request, so it just sat there waiting on the timeout. I'll try again
> with that installation tomorrow (unfortunately it only runs in a virtual
> machine) and see what happens if I include a call to stream_set_timeout
> on the stream after it's connected to the server.

Ahh,
Could you maybe do a echo $http_request on say line 101 so that i can give it some testing with the same payload? Someone who's working on api.wordpress.org might be able to shed some light on it then too..




More information about the wp-testers mailing list