Re: [Twisted-Python] KeyError in SSHConnection.ssh_CHANNEL_OPEN_CONFIRMATION

2017-07-07 Thread Glyph
> On Jul 7, 2017, at 9:55 AM, Stephen McRoberts wrote: > > I made a minimal single-file.py app to perform test runs and never had the > issue. Observer altered reality? > > Then I realized there are a couple of threads in the application which were > there before moving to twisted a long tim

Re: [Twisted-Python] KeyError in SSHConnection.ssh_CHANNEL_OPEN_CONFIRMATION

2017-07-07 Thread Glyph
> On Jul 6, 2017, at 9:59 AM, Stephen McRoberts wrote: > > Do I just post it to the list? If the list is where you're asking for help, yes :). > I need to write up a little as there needs to be configuration dicts for the > logins to remotes. > I also need to put copyright data in the code. S

Re: [Twisted-Python] KeyError in SSHConnection.ssh_CHANNEL_OPEN_CONFIRMATION

2017-07-07 Thread Stephen McRoberts
I made a minimal single-file.py app to perform test runs and never had the issue. Observer altered reality? Then I realized there are a couple of threads in the application which were there before moving to twisted a long time ago. They never manifested themselves in any other way. I removed

Re: [Twisted-Python] KeyError in SSHConnection.ssh_CHANNEL_OPEN_CONFIRMATION

2017-07-06 Thread Stephen McRoberts
Do I just post it to the list? I need to write up a little as there needs to be configuration dicts for the logins to remotes. I also need to put copyright data in the code. Some of it is mine and some came under apache license (really never intended any other eyes to see it). > On Jul 5, 2017,

Re: [Twisted-Python] KeyError in SSHConnection.ssh_CHANNEL_OPEN_CONFIRMATION

2017-07-06 Thread Adi Roiban
On 6 July 2017 at 16:19, Stephen McRoberts wrote: > It already helps to know this isn't normal behavior. > My code is self-contained in a single file and I can add a main for testing. I don't know what your code is doing... so maybe is expected :) You can share the single file together with a des

Re: [Twisted-Python] KeyError in SSHConnection.ssh_CHANNEL_OPEN_CONFIRMATION

2017-07-06 Thread Stephen McRoberts
It already helps to know this isn't normal behavior. My code is self-contained in a single file and I can add a main for testing. However it's far from minimal. The problem doesn't occur right away - only after several channels have been opened/closed with a persistent connection. I'll continue to

Re: [Twisted-Python] KeyError in SSHConnection.ssh_CHANNEL_OPEN_CONFIRMATION

2017-07-06 Thread Adi Roiban
On 5 July 2017 at 23:00, Stephen McRoberts wrote: > I'm looking for suggestions why the channel key would be missing after it was > just opened. > I use persistent connections with a timeout but the timer is reset every call > so it stays open. [snip] As suggested by Glyph. Please provide a co

Re: [Twisted-Python] KeyError in SSHConnection.ssh_CHANNEL_OPEN_CONFIRMATION

2017-07-05 Thread Glyph
> On Jul 5, 2017, at 3:00 PM, Stephen McRoberts wrote: > > I'm looking for suggestions why the channel key would be missing after it was > just opened. > I use persistent connections with a timeout but the timer is reset every call > so it stays open. Are you just using `twist conch`? Is any

[Twisted-Python] KeyError in SSHConnection.ssh_CHANNEL_OPEN_CONFIRMATION

2017-07-05 Thread Stephen McRoberts
I'm looking for suggestions why the channel key would be missing after it was just opened. I use persistent connections with a timeout but the timer is reset every call so it stays open. Here's some of my logs: 2017-07-05 15:26:45-0500 [-] opening channel 4 with 65536 32768 2017-07-05 15:36:45-