It looks like you are either using TBufferedTransport client-side and TFramedTransport server-side, or have a very short timeout set in the client.

W dniu 2009-03-24, o godz. 13:51, Phillip B Oldham <[email protected] > napisaƂ(a):

I have a Java Thrift server which is being accessed by both a PHP and
Python client. The server has one method, which takes a couple of
seconds to fire-up and respond the first time (due to library loading,
etc). The python client doesn't have any issues with this, but the PHP
client always throws an error the first time it's called:

TSocket: timed out reading 4 bytes from {server}:{port}

Any ideas why this might be happening and how to fix?

--
Phillip B Oldham
[email protected]
+44 (0) 7525 01 09 01

Reply via email to