liftoff/GateOne — Issue #54: Gateone opens/closes up to 84? New terminals - no CLI 
Author: iamzam
Created: 2011-10-28 23:39:56+00:00
State: open

Installed gateone on centos 5.7 server (rackspace). I installed python 2.7 parallel into /opt/python2.7 and left the Centos default python 2.4 in /usr/bin...

gateone starts fine:

cd /opt/gateone; python2.7 gateone.py
[I 111028 23:28:16 gateone:1572] Listening on https://0.0.0.0:443/
[I 111028 23:28:16 gateone:1253] Using google authentication
[I 111028 23:28:16 gateone:1288] Loaded plugins: bookmarks, help, logging, playback, ssh
[I 111028 23:28:21 gateone:685] WebSocket opened (user@gmail.com).

when i connect to the web interface (firefox 7.0.1) i immediately see scrolling up from the bottom right:

Closed term 1:Gate One
Closed term 2:Gate One
etc.

up to Closed term 30:Gate One

Sometimes it will go up to 41 this latest time it went up to 86.

on stdout I see:
[I 111028 23:31:40 web:1359] 304 GET / (2.2.2.2) 11.32ms
[I 111028 23:31:40 web:1359] 304 GET /static/gateone.css (2.2.2.2) 1.10ms
[I 111028 23:31:40 web:1359] 304 GET /static/gateone.js (2.2.2.2) 0.70ms
[I 111028 23:31:41 web:1359] 304 GET /static/help/help.js (2.2.2.2) 0.72ms
[I 111028 23:31:41 web:1359] 304 GET /static/bookmarks/bookmarks.js (2.2.2.2) 0.73ms
[I 111028 23:31:41 web:1359] 304 GET /static/logging/logging.js (2.2.2.2) 0.87ms
[I 111028 23:31:41 web:1359] 304 GET /static/playback/playback.js (2.2.2.2) 0.87ms
[I 111028 23:31:41 web:1359] 304 GET /static/ssh/ssh.js (2.2.2.2) 0.70ms
[I 111028 23:31:42 web:1359] 304 GET /style?theme=black&container=gateone&prefix=go_ (2.2.2.2) 28.79ms
[I 111028 23:31:42 web:1359] 304 GET /style?colors=default&container=gateone&prefix=go_ (2.2.2.2) 15.37ms
[I 111028 23:31:42 gateone:685] WebSocket opened (user@gmail.com).
[I 111028 23:32:06 gateone:1208] ZjkzOWZmNWJlNmE1UGN1NTg2NjIxYjUwNmY1YmE3N2RjO received quit()... Killing termio session.

At one point i did see an exception on stdout:

[E 111028 23:29:47 ioloop:319] Exception in I/O handler for fd 84
Traceback (most recent call last):
File "/opt/python2.7.2/lib/python2.7/site-packages/tornado/ioloop.py", line 309, in start
self._handlers[fd](fd, events)
File "/opt/gateone/termio.py", line 456, in proc_read
self.callbacks[self.CALLBACK_EXIT]()
File "gateone.py", line 940, in new_terminal
self.refresh_screen(term) # Send a fresh screen to the client
File "gateone.py", line 1026, in refresh_screen
multiplexer = SESSIONS[self.session][term]['multiplex']
KeyError: u'ZjkzOWZmNWJlNmE1UGN1NTg2NjIxYjUwNmY1YmE3N2RjO'

Here is the server.conf:

sso_service = "HTTP"
locale = "en_US"
pam_service = "login"
syslog_facility = "daemon"
disable_ssl = False
session_logging = True
session_dir = "/tmp/gateone"
cookie_secret = "YjllM2VlYjYwZWQ1NDExMzgzIWN0NDZmODNjNjEzN2Q0M"
syslog_session_logging = True
address = "0.0.0.0"
port = 443
user_dir = "/opt/gateone/users"
log_file_num_backups = 10
logging = "info"
dtach = True
certificate = "certificate.pem"
keyfile = "keyfile.pem"
sso_realm = None
log_to_stderr = False
log_file_max_size = 104857600
session_timeout = "5d"
command = "/opt/gateone/plugins/ssh/scripts/ssh_connect.py -S '/tmp/gateone/%SESSION%/%SHORT_SOCKET%' --sshfp -a '-oUserKnownHostsFile=%USERDIR%/%USER%/known_hosts'"
embedded = False
debug = True
js_init = ""
auth = "google"
log_file_prefix = "/var/log/gateone/webserver.log"
pam_realm = "user"