function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JT.ax78JT.ax78 

Constant Time Out Problem

Hi,

I am receiving this message everytime I attempt to run a simple select query on the Account table. The query does return some rows sometimes but the majority of the times it returns the error.

curl_exec error 28 Operation timed out with 0 out of -1 bytes received
select Id,Name from account

I am using the PHP Sample and have simply changed the table name (and fields) from lead to account.

Does anyone have any ideas what the problem could be?

Any help would be greatly appreciated!

adamgadamg
I'd try d/ling the Sforce Explorer from sforce.sf.net and trying a query through that to make sure everything is ok w/your network, etc.
sgeninsgenin
Hello,

I have the same problem. I've been working with SF support to fix this issue. It seems that the only way to have the integration working is to increase the timeout.
However, I tried to do this :

$client.Timeout(10000);

but this has no effect.

If you have any information about the correct syntax, I would be interested.

Stéphane
jnmmjnmm
Hi,
I've also had this problem. Is there any fix?
It would really help to be able to query a few hundred objects in one query, as opposed to breaking the query up into batches of 10 or so.
I can successfully run the query in SF Explorer. Does this mean the .NET API is superior to PHP?
Any info greatly appreciated.

Using PHP 4.3, and API version: $Id: SalesforceClient.php,v 1.2 2004/06/16 00:53:14
Thanks

Message Edited by jnmm on 07-25-2005 07:18 PM

Message Edited by jnmm on 07-25-2005 09:14 PM