liftoff/GateOne — Issue #26: Sometimes GateOne won't respond to keystrokes in browser
Author: Phoenix84
Created: 2011-10-18 16:56:27+00:00
State: open

Once in a while, I get into this state where GateOne won't respond to any keystrokes.
It happens in both Chrome and FF 8.
In Firefox, immediately after the page loads a terminal tab (waiting for hostname), it opens another one (and waits for hostname).
I can't type anything.

There is a log entry from around that time, but I don't know if it's related (it doesn't come up every time):
[E 111018 09:28:35 websocket:173] Uncaught exception in /ws
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/tornado/websocket.py", line 170, in wrapper
return callback(*args, **kwargs)
File "/opt/gateone/gateone.py", line 359, in on_message
self.commands[key](value)
File "/opt/gateone/gateone.py", line 708, in resize
for term in SESSIONS[self.session].keys():
AttributeError: 'TerminalWebSocket' object has no attribute 'session'

Gentoo 2.6.37
Python 2.7.1
Tornado 2.1.1