Re: [Twisted-Python] FTP box disconnecting after 60 seconds

2014-07-08 Thread Werner Thie

On 7/8/14 6:30 AM, Paul Wiseman wrote:

This is a google compute instance, so there is there firewall on
there. I did at first think it could be a hidden firewall rule google
have.

I think I can rule anything like that out though. I tried to recreate
the problem on another box, and got to the point where i'd set up the
entire working environment without the issue (same firewall etc.). A
bit puzzled and thinking I'd somehow fixed the issue, I swapped the
new box for the live one and once I'd done that I then started to see
the exact same problem on the new box. (And the problem had gone away
on the ex-live box). So the only thing I can think of is it is somehow
being triggered by the traffic.


What's the number of connections when this is occuring?

Werner


___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] FTP box disconnecting after 60 seconds

2014-07-08 Thread Paul Wiseman
This is a google compute instance, so there is there firewall on
there. I did at first think it could be a hidden firewall rule google
have.

I think I can rule anything like that out though. I tried to recreate
the problem on another box, and got to the point where i'd set up the
entire working environment without the issue (same firewall etc.). A
bit puzzled and thinking I'd somehow fixed the issue, I swapped the
new box for the live one and once I'd done that I then started to see
the exact same problem on the new box. (And the problem had gone away
on the ex-live box). So the only thing I can think of is it is somehow
being triggered by the traffic.


On 8 July 2014 16:26, Phil Mayers  wrote:
> On 08/07/14 15:45, Paul Wiseman wrote:
>>
>> Hey,
>>
>> This is a bit of a stab in the dark, but I'm really not sure what to try
>> next.
>>
>> Basically I've got a custom twisted FTP server, recently (not sure
>> when it started) I've noticed that connections to it seem to
>> disconnect after 60 seconds if they haven't completed. This could be a
>
>
> Are there any middlebox devices (firewall, NAT) in the path?
>
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] FTP box disconnecting after 60 seconds

2014-07-08 Thread Phil Mayers

On 08/07/14 15:45, Paul Wiseman wrote:

Hey,

This is a bit of a stab in the dark, but I'm really not sure what to try next.

Basically I've got a custom twisted FTP server, recently (not sure
when it started) I've noticed that connections to it seem to
disconnect after 60 seconds if they haven't completed. This could be a


Are there any middlebox devices (firewall, NAT) in the path?

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] FTP box disconnecting after 60 seconds

2014-07-08 Thread Paul Wiseman
Hey,

This is a bit of a stab in the dark, but I'm really not sure what to try next.

Basically I've got a custom twisted FTP server, recently (not sure
when it started) I've noticed that connections to it seem to
disconnect after 60 seconds if they haven't completed. This could be a
slow LIST response, or a large file being transferred in a RETR
download. It doesn't seem to matter if the connection is idle or not,
but after 60 seconds it seems to get closed.

I can't recreate this locally, nor if I clone the live box. I've even
set up a new box which didn't exhibit the behaviour, then switched the
current live box to the new box and then the behaviour started to
occur, only when it went live.

So the only thing I can think of is that it happens when multiple
users are on the box which makes it very difficult to pin point /
recreate.

I'm a bit of a loss as to how to try and move this forward and try and
work out what the issue is.

I just thought I'd ask here incase it sounds like anything someone has
run into before? or if anyone has any ideas of where to start looking
(it disconnects at 60/61 seconds)? Maybe a timeout value somewhere
perhaps?

Thanks!

Paul

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] bringing LDAP back

2014-07-08 Thread exarkun




On 11:30 am, hawk...@atleastfornow.net wrote:
On 8 Jul 2014, at 5:26, Glyph Lefkowitz  
wrote:

On Jul 7, 2014, at 2:21 PM, exar...@twistedmatrix.com wrote:
It might not be.  Now that so many new projects are being added to 
the github Twisted repository (and particularly, projects that have 
new contributors), perhaps it is (slightly past) time to set down 
some of these things officially?


I think we should make a list of some suggestions before we try to 
make that list into an official policy.  Date-based version numbers is 
a good suggestion to start that list with :).


Maybe we need a Request For Comment/PEP-style way of 
formalising/proposing policy? Django’s doing it as well, and it seems 
like a nice way of doing it.


I don't see this as the necessary conclusion.  We're not arguing about 
what the policy should be yet.  I'm just saying it should be written 
down in one place - not smeared out across 10 years of mailing list 
archives.


Jean-Paul

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] bringing LDAP back

2014-07-08 Thread HawkOwl
On 8 Jul 2014, at 5:26, Glyph Lefkowitz  wrote:

> On Jul 7, 2014, at 2:21 PM, exar...@twistedmatrix.com wrote:
> 
>> It might not be.  Now that so many new projects are being added to the 
>> github Twisted repository (and particularly, projects that have new 
>> contributors), perhaps it is (slightly past) time to set down some of these 
>> things officially?
> 
> I think we should make a list of some suggestions before we try to make that 
> list into an official policy.  Date-based version numbers is a good 
> suggestion to start that list with :).
>  

Maybe we need a Request For Comment/PEP-style way of formalising/proposing 
policy? Django’s doing it as well, and it seems like a nice way of doing it.

-hawkowl


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python