Ah yeah this problem has come up for people before, I'll increase the default timeout to be a bit more tolerant of high latency connections.
The 'ideal setting' depends on the situation, normally you would want your end users to get an error message in a timely fashion, so setting this to '30 seconds' would be less then ideal. However if your container isn't on a low-latency connection (to whatever resources it uses), maybe a value of 4 to 10 seconds would be preferable. -- Chris On Tue, Jan 20, 2009 at 12:08 PM, ajay singh <[email protected] > wrote: > Thanks Chris > But When I have increased the CURLOPT_TIMEOUT in > BasicRemoteContentFetcher.php > it is working fine. > Ideally what should be the value of curlopt_timeout? Previously It was 2 > sec. > > one more question > I am facing a error sometimes - > Instead of loading gadget it displays the javascript code of > features/core/config.js > can you help me in sorting this out. > > Thanks > Ajay > > > --- On Tue, 1/20/09, Chris Chabot <[email protected]> wrote: > From: Chris Chabot <[email protected]> > Subject: Re: make request 404 error > To: [email protected], [email protected] > Date: Tuesday, January 20, 2009, 4:30 PM > > Hey Ajay, > > It would help us a terrible lot if you could give us a bit more info ... > even an URL that always / sometimes fails to fetch would already be a large > help for tracking down the problem. > > In my experience the proxy works great in practice, so I would expect that > the 404 is just that, a remote URL that returns a 404 error; However if > that's not the case being able to reproduce the error in some way would be > very helpful! > > -- Chris > > On Tue, Jan 20, 2009 at 6:00 AM, ajay singh > <[email protected]>wrote: > > > Hi > > > > In make request some times i am getting > > > > <html><body><h1>404 - Not > Found</h1></body></html> > > > > I am using php shindig- version 672244 > > > > I am not able to figure out the problem.Please help me > > > > Thanks > > Ajay > > > > >

