thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip B Oldham <phillip.old...@gmail.com>
Subject Re: TException: TSocket: timed out reading 4 bytes from...
Date Wed, 16 Dec 2009 08:04:09 GMT
It's a PHP issue. Try increasing the timeout in the client; worked for me.

On Wed, Dec 16, 2009 at 6:36 AM, Noam Wolf <noam.wolf@gmail.com> wrote:
> So I've narrowed my problem down to using apache's HttpClient on the server
> twice (tried a new instance and an existing one).  Once I try to do an
> additional http GET or POST I get the error from before.  Is this a
> networking issue? Is this even thrift related?
>
> On Wed, Dec 16, 2009 at 1:16 AM, Noam Wolf <noam.wolf@gmail.com> wrote:
>
>> I suddenly started seeing this exception after I "beefed" up the object I
>> was passing over the wire.  That being said this struct has 8 fields 3 of
>> which are structs that I just added/defined which use only the primitive
>> types.
>>
>> My server implementation is written in java but the client implementation
>> is in php, so I tried passing a bigger buffer into TBufferedTransport (4096)
>> but I still get the same error.
>>
>> Any ideas what I'm doing wrong?
>>
>
>
>
> --
> Best Regards,
> Noam Wolf
>



-- 
Phillip B Oldham
phillip.oldham@gmail.com
+44 (0) 7525 01 09 01

Mime
View raw message