[Twisted-Python] Missing connections with Perspective Broker ( newbie alert )

Hi, I am using a Perspective Broker to service requests from a client on the same machine ( Windows XP ). This works fine most of the time however occasionally I see strange behaviour. The client uses connectTCP and provides a timeout of 5 seconds. Logging indicates that the client attempts to make a connection to the server, server logging in the remote methods indicates that the method is not called. Also my error callback on the client is not invoked after the timeout period. Unfotunately this is part of a large system, sporadic behaviour and difficult to generate a test case for. Also commonly requests a few seconds before and after the issue are handled correctly so the behaviour seems transient. We are using a older version ot twisted 8.x. Any pointers? Regards.

On Tue, 30 Nov 2010 07:39 -0500, "Grant Mckenzie" <mckenzig@optonline.net> wrote:
Hi,
I am using a Perspective Broker to service requests from a client on the same machine ( Windows XP ). This works fine most of the time however occasionally I see strange behaviour. The client uses connectTCP and provides a timeout of 5 seconds. Logging indicates that the client attempts to make a connection to the server, server logging in the remote methods indicates that the method is not called. Also my error callback on the client is not invoked after the timeout period. Unfotunately this is part of a large system, sporadic behaviour and difficult to generate a test case for.
Also commonly requests a few seconds before and after the issue are handled correctly so the behaviour seems transient. We are using a older version ot twisted 8.x. Any pointers?
I've seen strange sporadic errors with networking in 8.x that weren't there in 2.5.0, so would you be able to test it with 2.5.0? Peter.

On Nov 30, 2010, at 8:07 AM, Peter Westlake wrote:
On Tue, 30 Nov 2010 07:39 -0500, "Grant Mckenzie" <mckenzig@optonline.net> wrote:
Hi,
I am using a Perspective Broker to service requests from a client on the same machine ( Windows XP ). This works fine most of the time however occasionally I see strange behaviour. The client uses connectTCP and provides a timeout of 5 seconds. Logging indicates that the client attempts to make a connection to the server, server logging in the remote methods indicates that the method is not called. Also my error callback on the client is not invoked after the timeout period. Unfotunately this is part of a large system, sporadic behaviour and difficult to generate a test case for.
Also commonly requests a few seconds before and after the issue are handled correctly so the behaviour seems transient. We are using a older version ot twisted 8.x. Any pointers?
I've seen strange sporadic errors with networking in 8.x that weren't there in 2.5.0, so would you be able to test it with 2.5.0?
Better yet, why not test with a recent release? Something that starts with '10'? There's a reason we keep doing new releases, you know: bugs get fixed :).
participants (3)
-
Glyph Lefkowitz
-
Grant Mckenzie
-
Peter Westlake