Closed jmwright closed 11 years ago
...and there's no errors in the webserver.log? Can you run gateone.py with '--logging=debug' and paste that output here? It looks very similar to the issue reported in that open OpenBSD ticket.
Sorry, forgot to check the log. It's empty though. I get the following with logging=debug.
[W 130220 10:55:35 app_terminal:1957] dtach command not found. dtach support has been disabled. [D 130220 10:55:35 gateone:2765] Imported applications: [<class 'app_terminal.TerminalApplication'>] [I 130220 10:55:35 gateone:3134] Gate One 1.2.0 [I 130220 10:55:35 gateone:3135] Tornado version 2.4.1 [I 130220 10:55:35 gateone:3165] Connections to this server will be allowed from the following origins: '192.168.1.135 localhost 127.0.0.1' [W 130220 10:55:35 gateone:3192] Logging is set to DEBUG. Be aware that this will record the keystrokes of all users. Don't be evil! [I 130220 10:55:35 gateone:2275] No authentication method configured. All users will be ANONYMOUS [I 130220 10:55:35 gateone:2391] Loaded plugins: help [I 130220 10:55:35 gateone:3271] Listening on https://*:443/ [I 130220 10:55:35 gateone:3277] Process running with pid 2821 [I 130220 10:55:47 web:1462] 200 GET / (192.168.1.245) 61.30ms [I 130220 10:55:47 web:1462] 200 GET /static/gateone.css (192.168.1.245) 99.82ms [I 130220 10:55:47 web:1462] 200 GET /static/gateone.js (192.168.1.245) 172.47ms [I 130220 10:55:48 web:1462] 200 GET /auth?check=True (192.168.1.245) 7.08ms [I 130220 10:55:48 web:1462] 200 GET /static/favicon.ico (192.168.1.245) 5.66ms [D 130220 10:55:48 gateone:953] ApplicationWebSocket.initialize([<class 'app_terminal.TerminalApplication'>]) [D 130220 10:55:48 app_terminal:315] TerminalApplication.init(<main.ApplicationWebSocket object at 0x85be84c>) [D 130220 10:55:48 gateone:962] Initializing GOApplication: <class 'app_terminal.TerminalApplication'> [D 130220 10:55:48 app_terminal:328] TerminalApplication.initialize() [I 130220 10:55:48 app_terminal:374] Active Terminal Plugins: bookmarks, convenience, example, html, logging, logging_plugin, mobile, notice, playback, ssh [D 130220 10:55:49 gateone:839] Adding handler: (/ssh, <class 'ssh.KnownHostsHandler'>) [D 130220 10:55:49 gateone:839] Adding handler: (/bookmarks/fetchicon, <class 'bookmarks.FaviconHandler'>) [D 130220 10:55:49 gateone:839] Adding handler: (/bookmarks/export, <class 'bookmarks.ExportHandler'>) [D 130220 10:55:49 gateone:839] Adding handler: (/bookmarks/import, <class 'bookmarks.ImportHandler'>) [D 130220 10:55:49 gateone:839] Adding handler: (/example, <class 'example.ExampleHandler'>) [D 130220 10:55:49 gateone:1016] open() origin: 192.168.1.135 [I 130220 10:55:49 gateone:1041] WebSocket opened (ANONYMOUS 192.168.1.245) via origin 192.168.1.135. [D 130220 10:55:49 app_terminal:441] TerminalApplication.open() [D 130220 10:55:49 gateone:1074] message: u'{"go:get_theme":{"go_url":"https://192.168.1.135/","container":"gateone","prefix":"go_default_","theme":"black"}}' [D 130220 10:55:49 gateone:1546] get_theme({u'go_url': u'https://192.168.1.135/', u'theme': u'black', u'container': u'gateone', u'prefix': u'godefault'}) [D 130220 10:55:49 gateone:1074] message: u'{"terminal:get_bell":null}' [D 130220 10:55:49 gateone:1074] message: u'{"go:authenticate":{"auth":"eyJ1cG4iOiAiQU5PTllNT1VTIiwgInNlc3Npb24iOiAiTURRM1pUVm1NekU1TURRMU5HWm1aR0kwTnpNeE1qWmhNV1kwTWpJeFl6bGxNIn0=|1361335471|350f6a3ad3a11dd63aadd400b888a629034d3063","container":"gateone","prefix":"godefault","location":"default"}}' [D 130220 10:55:49 gateone:1153] authenticate(): {u'prefix': u'godefault', u'container': u'gateone', u'location': u'default', u'auth': u'eyJ1cG4iOiAiQU5PTllNT1VTIiwgInNlc3Npb24iOiAiTURRM1pUVm1NekU1TURRMU5HWm1aR0kwTnpNeE1qWmhNV1kwTWpJeFl6bGxNIn0=|1361335471|350f6a3ad3a11dd63aadd400b888a629034d3063'} [D 130220 10:55:49 utils:1557] memoize cache miss (applicable_policies) [D 130220 10:55:49 gateone:2029] send_plugin_static_files(/home/user/Downloads/GateOne-master/gateone/plugins) [D 130220 10:55:49 utils:1557] memoize cache miss (applicable_policies) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/plugins/help/static/help.js) (mtime: 1361319636.0) [D 130220 10:55:49 app_terminal:453] TerminalApplication.authenticate() [D 130220 10:55:49 utils:1557] memoize cache miss (applicable_policies) [D 130220 10:55:49 gateone:1911] send_js_or_css(/tmp/gateone_cache/renderedhome_user_Downloads_GateOne-master_gateone_applications_terminal_templates_terminal.css_1361319636) (mtime: 1361334418.74) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/applications/terminal/static/terminal.js) (mtime: 1361319636.0) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/applications/terminal/static/terminal_input.js) (mtime: 1361319636.0) [D 130220 10:55:49 gateone:2029] send_plugin_static_files(/home/user/Downloads/GateOne-master/gateone/applications/terminal/plugins) [D 130220 10:55:49 utils:1560] memoize cache hit (applicable_policies) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/applications/terminal/plugins/playback/static/playback.js) (mtime: 1361319636.0) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/applications/terminal/plugins/ssh/static/ssh.js) (mtime: 1361319636.0) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/applications/terminal/plugins/convenience/static/convenience.js) (mtime: 1361319636.0) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/applications/terminal/plugins/example/static/1hmac_sha1.js) (mtime: 1361319636.0) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/applications/terminal/plugins/example/static/1smoothie.js) (mtime: 1361319636.0) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/applications/terminal/plugins/example/static/example.js) (mtime: 1361319636.0) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/applications/terminal/plugins/mobile/static/mobile.js) (mtime: 1361319636.0) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/applications/terminal/plugins/bookmarks/static/bookmarks.js) (mtime: 1361319636.0) [D 130220 10:55:49 gateone:1911] send_js_or_css(/home/user/Downloads/GateOne-master/gateone/applications/terminal/plugins/logging/static/logging.js) (mtime: 1361319636.0) [D 130220 10:55:49 gateone:1911] send_js_or_css(/tmp/gateone_cache/256_colors.css) (mtime: 1361279706.7) [D 130220 10:55:49 gateone:1911] send_js_or_css(/tmp/gateone_cache/renderedhome_user_Downloads_GateOne-master_gateone_applications_terminal_plugins_ssh_templates_ssh.css_1361319636) (mtime: 1361334418.79) [D 130220 10:55:49 ssh:1050] create_user_ssh_dir() [D 130220 10:55:49 gateone:1911] send_js_or_css(/tmp/gateone_cache/renderedhome_user_Downloads_GateOne-master_gateone_applications_terminal_plugins_logging_templates_logging.css_1361319636) (mtime: 1361334418.82) [D 130220 10:55:49 gateone:1911] send_js_or_css(/tmp/gateone_cache/renderedhome_user_Downloads_GateOne-master_gateone_applications_terminal_plugins_bookmarks_templates_bookmarks.css_1361319636) (mtime: 1361334418.91) [D 130220 10:55:49 gateone:1074] message: u'{"terminal:get_webworker":null}' [D 130220 10:55:49 gateone:1074] message: u'{"terminal:get_colors":{"go_url":"https://192.168.1.135/","container":"gateone","prefix":"go_default_","colors":"default"}}' [D 130220 10:55:49 app_terminal:1408] get_colors({u'colors': u'default', u'go_url': u'https://192.168.1.135/', u'container': u'gateone', u'prefix': u'godefault'}) [D 130220 10:55:49 gateone:1074] message: u'{"terminal:set_terminal":1}' [D 130220 10:55:49 gateone:1074] message: u'{"terminal:set_terminal":1}' [D 130220 10:55:49 gateone:1074] message: u'{"terminal:set_terminal":1}' [D 130220 10:55:49 gateone:1074] message: u'{"terminal:set_terminal":1}' [D 130220 10:55:49 gateone:1074] message: u'{"terminal:set_terminal":1}' [D 130220 10:55:49 gateone:1074] message: u'{"terminal:get_terminals":null}' [D 130220 10:55:50 gateone:1074] message: u'{"terminal:set_terminal":1}' [D 130220 10:55:50 gateone:1074] message: u'{"terminal:new_terminal":{"term":1,"rows":65,"cols":58,"em_dimensions":{"w":28.75,"h":15}}}' [D 130220 10:55:50 utils:1560] memoize cache hit (applicable_policies) [D 130220 10:55:50 app_terminal:698] ANONYMOUS new_terminal(): {u'em_dimensions': {u'h': 15, u'w': 28.75}, u'term': 1, u'rows': 65, u'cols': 58} [D 130220 10:55:50 utils:1560] memoize cache hit (applicable_policies) [D 130220 10:55:50 termio:1272] spawn(rows=65, cols=58, env={'GO_SESSION_DIR': u'/tmp/gateone/MDQ3ZTVmMzE5MDQ1NGZmZGI0NzMxMjZhMWY0MjIxYzllM', 'EXAMPLE_VAR': 'This was set via the Example plugin', 'GO_SESSION': u'MDQ3ZTVmMzE5MDQ1NGZmZGI0NzMxMjZhMWY0MjIxYzllM', 'GO_USER': u'ANONYMOUS', 'GO_TERM': '1', 'GO_USER_DIR': u'/home/user/Downloads/GateOne-master/gateone/users'}, em_dimensions={'width': 28.75, 'height': 15}) [D 130220 10:55:50 termio:1328] spawn() pid: 2831 [D 130220 10:55:50 terminal:1476] init_screen() [D 130220 10:55:50 terminal:1494] init_renditions(\u03e8) [D 130220 10:55:50 app_terminal:1031] set_title(1, False) [D 130220 10:55:50 app_terminal:1098] mode_handler() term: 1, setting: 1, boolean: False [D 130220 10:55:50 app_terminal:1098] mode_handler() term: 1, setting: 25, boolean: True [D 130220 10:55:50 app_terminal:1098] mode_handler() term: 1, setting: 7, boolean: False [D 130220 10:55:50 gateone:1074] message: u'{"terminal:ssh_get_connect_string":1}' [D 130220 10:55:50 ssh:451] get_connect_string() term: 1 [D 130220 10:55:50 gateone:1074] message: u'{"go:cache_cleanup":{"filenames":["1hmac_sha1.js","1smoothie.js","bookmarks.js","convenience.js","example.js","help.js","logging.js","mobile.js","playback.js","ssh.js","terminal.js","terminal_input.js"],"kind":"js"}}' [D 130220 10:55:50 gateone:1708] cache_cleanup({u'kind': u'js', u'filenames': [u'1hmac_sha1.js', u'1smoothie.js', u'bookmarks.js', u'convenience.js', u'example.js', u'help.js', u'logging.js', u'mobile.js', u'playback.js', u'ssh.js', u'terminal.js', u'terminal_input.js']}) [D 130220 10:55:50 gateone:1723] No expired js files at client 192.168.1.245 [D 130220 10:55:50 gateone:1074] message: u'{"go:cache_cleanup":{"filenames":["01603488ae","735af9e501","94ec47155e","aaa1595466","d57be7837e","term_colors.css","theme.css"],"kind":"css"}}' [D 130220 10:55:50 gateone:1708] cache_cleanup({u'kind': u'css', u'filenames': [u'01603488ae', u'735af9e501', u'94ec47155e', u'aaa1595466', u'd57be7837e', u'term_colors.css', u'theme.css']}) [D 130220 10:55:50 gateone:1723] No expired css files at client 192.168.1.245 [D 130220 10:55:50 gateone:1074] message: u'{"terminal:set_terminal":1}' [D 130220 10:55:50 terminal:2674] set_expanded_mode(?1034) [D 130220 10:55:50 app_terminal:1098] mode_handler() term: 1, setting: 1034, boolean: True [D 130220 10:55:50 app_terminal:1031] set_title(1, False) [D 130220 10:55:50 gateone:1074] message: u'{"terminal:set_terminal":2}' [D 130220 10:55:51 gateone:1074] message: u'{"terminal:new_terminal":{"term":2,"rows":64,"cols":57,"em_dimensions":{"w":28.75,"h":15}}}' [D 130220 10:55:51 utils:1560] memoize cache hit (applicable_policies) [D 130220 10:55:51 app_terminal:698] ANONYMOUS new_terminal(): {u'em_dimensions': {u'h': 15, u'w': 28.75}, u'term': 2, u'rows': 64, u'cols': 57} [D 130220 10:55:51 utils:1560] memoize cache hit (applicable_policies) [D 130220 10:55:51 termio:1272] spawn(rows=64, cols=57, env={'GO_SESSION_DIR': u'/tmp/gateone/MDQ3ZTVmMzE5MDQ1NGZmZGI0NzMxMjZhMWY0MjIxYzllM', 'EXAMPLE_VAR': 'This was set via the Example plugin', 'GO_SESSION': u'MDQ3ZTVmMzE5MDQ1NGZmZGI0NzMxMjZhMWY0MjIxYzllM', 'GO_USER': u'ANONYMOUS', 'GO_TERM': '2', 'GO_USER_DIR': u'/home/user/Downloads/GateOne-master/gateone/users'}, em_dimensions={'width': 28.75, 'height': 15}) [D 130220 10:55:51 termio:1328] spawn() pid: 2833 [D 130220 10:55:51 terminal:1476] init_screen() [D 130220 10:55:51 terminal:1494] init_renditions(\u03e8) [D 130220 10:55:51 app_terminal:1031] set_title(2, False) [D 130220 10:55:51 app_terminal:1098] mode_handler() term: 2, setting: 1, boolean: False [D 130220 10:55:51 app_terminal:1098] mode_handler() term: 2, setting: 25, boolean: True [D 130220 10:55:51 app_terminal:1098] mode_handler() term: 2, setting: 7, boolean: False [D 130220 10:55:51 gateone:1074] message: u'{"terminal:ssh_get_connect_string":2}' [D 130220 10:55:51 ssh:451] get_connect_string() term: 2 [D 130220 10:55:51 gateone:1074] message: u'{"terminal:set_terminal":2}' [D 130220 10:55:51 terminal:2674] set_expanded_mode(?1034) [D 130220 10:55:51 app_terminal:1098] mode_handler() term: 2, setting: 1034, boolean: True [D 130220 10:55:51 app_terminal:1031] set_title(2, False) [D 130220 10:55:52 termio:1393] Resizing term 1 to rows: 65, cols: 58 [D 130220 10:55:52 terminal:1648] resize(65, 58) [D 130220 10:55:53 termio:1393] Resizing term 2 to rows: 64, cols: 57 [D 130220 10:55:53 terminal:1648] resize(64, 57) [D 130220 10:55:53 gateone:1074] message: u'{"go:ping":"2013-02-20T15:55:55.975Z"}'
OK, having looked at your logs there's something that really stands out:
[D 130220 10:55:35 gateone:2765] Imported applications: []
That is just wacky... Then later in the same log it shows some aspects of the terminal application being loaded/called. So I'm not sure what that's all about. Could be related to the version of Python you're using... Which I assume is 2.6?
Also, there's no errors whatsoever in that output which is bizarre. Can you try closing some terminals and opening new ones? I want to see those messages in the logs too and anything useful that might be in the JavaScript console.
Yes, I'm using Python 2.6.
I grabbed the latest commit and I'm not able to open a new terminal by clicking the + button. All the buttons are disabled in fact. Is there Javascript that I can try in the web console to open a new workspace/terminal (sorry, I'm sure I'm using the terminology wrong)?
Yes: Execute this in your JS console:
GateOne.Terminal.newTerminal();
That should open up a new terminal with all defaults.
I just noticed that it looks like everything is stacked vertically. The terminal prompt is actually way down at the bottom of the page. I've attached screenshots of some of the things that I see as I scroll down the page. Notice the position of the scroll bar in each image.
Below is the server output. Everything at 15:55 and after in the output was where I manually started another terminal via JS.
[user@station1 gateone]$ sudo ./gateone.py --logging=debug [W 130220 15:54:23 app_terminal:1957] dtach command not found. dtach support has been disabled. [D 130220 15:54:23 gateone:2768] Imported applications: [<class 'appterminal.TerminalApplication'>] [I 130220 15:54:23 gateone:3137] Gate One 1.2.0 [I 130220 15:54:23 gateone:3138] Tornado version 2.4.1 [I 130220 15:54:23 gateone:3168] Connections to this server will be allowed from the following origins: '192.168.1.135 localhost 127.0.0.1' [W 130220 15:54:23 gateone:3195] Logging is set to DEBUG. Be aware that this will record the keystrokes of all users. Don't be evil! [I 130220 15:54:23 gateone:2278] No authentication method configured. All users will be ANONYMOUS [I 130220 15:54:23 gateone:2394] Loaded plugins: help [I 130220 15:54:23 gateone:3274] Listening on https://:443/ [I 130220 15:54:23 gateone:3280] Process running with pid 3943 [I 130220 15:54:34 web:1462] 302 GET / (192.168.1.245) 8.42ms [D 130220 15:54:34 auth:380] NullAuthHandler.user_login(ANONYMOUS) [I 130220 15:54:34 web:1462] 302 GET /auth?next=%2F (192.168.1.245) 10.08ms [I 130220 15:54:34 web:1462] 200 GET / (192.168.1.245) 31.86ms [I 130220 15:54:34 web:1462] 200 GET /static/gateone.css (192.168.1.245) 41.92ms [I 130220 15:54:35 web:1462] 200 GET /static/gateone.js (192.168.1.245) 149.20ms [I 130220 15:54:35 web:1462] 200 GET /static/favicon.ico (192.168.1.245) 2.55ms [I 130220 15:54:35 web:1462] 200 GET /auth?check=True (192.168.1.245) 3.07ms [D 130220 15:54:36 gateone:951] ApplicationWebSocket.initialize([<class 'app_terminal.TerminalApplication'>]) [D 130220 15:54:36 app_terminal:315] TerminalApplication.init(<main.ApplicationWebSocket object at 0x8a618cc>) [D 130220 15:54:36 gateone:960] Initializing GOApplication: <class 'app_terminal.TerminalApplication'> [D 130220 15:54:36 app_terminal:328] TerminalApplication.initialize() [I 130220 15:54:36 app_terminal:374] Active Terminal Plugins: bookmarks, convenience, example, html, logging, logging_plugin, mobile, notice, playback, ssh [D 130220 15:54:36 gateone:837] Adding handler: (/ssh, <class 'ssh.KnownHostsHandler'>) [D 130220 15:54:36 gateone:837] Adding handler: (/bookmarks/fetchicon, <class 'bookmarks.FaviconHandler'>) [D 130220 15:54:36 gateone:837] Adding handler: (/bookmarks/export, <class 'bookmarks.ExportHandler'>) [D 130220 15:54:36 gateone:837] Adding handler: (/bookmarks/import, <class 'bookmarks.ImportHandler'>) [D 130220 15:54:36 gateone:837] Adding handler: (/example, <class 'example.ExampleHandler'>) [D 130220 15:54:36 gateone:1014] open() origin: 192.168.1.135 [I 130220 15:54:36 gateone:1039] WebSocket opened (ANONYMOUS 192.168.1.245) via origin 192.168.1.135. [D 130220 15:54:36 app_terminal:441] TerminalApplication.open() [D 130220 15:54:36 gateone:1072] message: u'{"go:get_theme":{"go_url":"https://192.168.1.135/","container":"gateone","prefix":"go_default_","theme":"black"}}' [D 130220 15:54:36 gateone:1549] get_theme({u'go_url': u'https://192.168.1.135/', u'theme': u'black', u'container': u'gateone', u'prefix': u'godefault'}) [D 130220 15:54:36 gateone:1072] message: u'{"terminal:get_bell":null}' [D 130220 15:54:36 gateone:1072] message: u'{"go:authenticate":{"auth":"eyJ1cG4iOiAiQU5PTllNT1VTIiwgInNlc3Npb24iOiAiTWpKak5UTm1PRFJsTXpBMU5ERmhaamc1TkdVeVl6VTRaVGhrTnpSak5XVm1PIn0=|1361393674|24c0d0a7da115a9558a9c57571c8820b1da11733","container":"gateone","prefix":"godefault","location":"default"}}' [D 130220 15:54:36 gateone:1153] authenticate(): {u'prefix': u'godefault', u'container': u'gateone', u'location': u'default', u'auth': u'eyJ1cG4iOiAiQU5PTllNT1VTIiwgInNlc3Npb24iOiAiTWpKak5UTm1PRFJsTXpBMU5ERmhaamc1TkdVeVl6VTRaVGhrTnpSak5XVm1PIn0=|1361393674|24c0d0a7da115a9558a9c57571c8820b1da11733'} [D 130220 15:54:36 utils:1554] memoize cache miss (applicable_policies) [D 130220 15:54:36 gateone:2032] send_plugin_static_files(/home/user/Downloads/gateone/GateOne/gateone/plugins) [D 130220 15:54:36 utils:1554] memoize cache miss (applicable_policies) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/plugins/help/static/help.js) (mtime: 1361387657.99) [D 130220 15:54:36 app_terminal:453] TerminalApplication.authenticate() [D 130220 15:54:36 utils:1554] memoize cache miss (applicable_policies) [D 130220 15:54:36 gateone:1914] send_js_or_css(/tmp/gateone_cache/renderedhome_user_Downloads_gateone_GateOne_gateone_applications_terminal_templates_terminal.css_1361387657) (mtime: 1361387815.26) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/static/terminal.js) (mtime: 1361387657.63) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/static/terminal_input.js) (mtime: 1361387657.63) [D 130220 15:54:36 gateone:2032] send_plugin_static_files(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/plugins) [D 130220 15:54:36 utils:1557] memoize cache hit (applicable_policies) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/plugins/playback/static/playback.js) (mtime: 1361387657.62) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/plugins/ssh/static/ssh.js) (mtime: 1361387657.63) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/plugins/convenience/static/convenience.js) (mtime: 1361387657.61) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/plugins/example/static/1hmac_sha1.js) (mtime: 1361387657.61) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/plugins/example/static/1smoothie.js) (mtime: 1361387657.61) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/plugins/example/static/example.js) (mtime: 1361387657.61) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/plugins/mobile/static/mobile.js) (mtime: 1361387657.62) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/plugins/bookmarks/static/bookmarks.js) (mtime: 1361387657.61) [D 130220 15:54:36 gateone:1914] send_js_or_css(/home/user/Downloads/gateone/GateOne/gateone/applications/terminal/plugins/logging/static/logging.js) (mtime: 1361387657.62) [D 130220 15:54:36 gateone:1914] send_js_or_css(/tmp/gateone_cache/256_colors.css) (mtime: 1361279706.7) [D 130220 15:54:36 gateone:1914] send_js_or_css(/tmp/gateone_cache/renderedhome_user_Downloads_gateone_GateOne_gateone_applications_terminal_plugins_ssh_templates_ssh.css_1361387657) (mtime: 1361387815.32) [D 130220 15:54:36 ssh:1050] create_user_ssh_dir() [D 130220 15:54:36 gateone:1914] send_js_or_css(/tmp/gateone_cache/renderedhome_user_Downloads_gateone_GateOne_gateone_applications_terminal_plugins_logging_templates_logging.css_1361387657) (mtime: 1361387815.35) [D 130220 15:54:36 gateone:1914] send_js_or_css(/tmp/gateone_cache/renderedhome_user_Downloads_gateone_GateOne_gateone_applications_terminal_plugins_bookmarks_templates_bookmarks.css_1361387657) (mtime: 1361387815.44) [D 130220 15:54:36 gateone:1072] message: u'{"go:file_request":"theme.css"}' [D 130220 15:54:36 utils:1404](saved ~0 bytes minifying theme.css) [D 130220 15:54:36 gateone:1072] message: u'{"go:file_request":"506fa07b07"}' [D 130220 15:54:36 gateone:1072] message: u'{"terminal:get_webworker":null}' [D 130220 15:54:36 gateone:1072] message: u'{"terminal:get_colors":{"go_url":"https://192.168.1.135/","container":"gateone","prefix":"go_default_","colors":"default"}}' [D 130220 15:54:36 app_terminal:1408] get_colors({u'colors': u'default', u'go_url': u'https://192.168.1.135/', u'container': u'gateone', u'prefix': u'godefault'}) [D 130220 15:54:36 gateone:1072] message: u'{"go:file_request":"735af9e501"}' [D 130220 15:54:36 gateone:1072] message: u'{"go:file_request":"87c54ec3b5"}' [D 130220 15:54:36 gateone:1072] message: u'{"go:file_request":"9c29700aa7"}' [D 130220 15:54:36 gateone:1072] message: u'{"go:file_request":"955813c4d6"}' [D 130220 15:54:36 gateone:1072] message: u'{"terminal:set_terminal":null}' [E 130220 15:54:36 gateone:1107] Error/Unknown WebSocket action, terminal:set_terminal: set_terminal() takes exactly 2 arguments (1 given) (/home/user/Downloads/gateone/GateOne/gateone/auth.py line 180) Traceback (most recent call last): File "./gateone.py", line 1097, in on_message self.actions[key]() File "/home/user/Downloads/gateone/GateOne/gateone/auth.py", line 180, in wrapped_f return f(self, args, _kwargs) TypeError: set_terminal() takes exactly 2 arguments (1 given) [D 130220 15:54:36 gateone:1072] message: u'{"terminal:set_terminal":null}' [E 130220 15:54:36 gateone:1107] Error/Unknown WebSocket action, terminal:set_terminal: set_terminal() takes exactly 2 arguments (1 given) (/home/user/Downloads/gateone/GateOne/gateone/auth.py line 180) Traceback (most recent call last): File "./gateone.py", line 1097, in on_message self.actions[key]() File "/home/user/Downloads/gateone/GateOne/gateone/auth.py", line 180, in wrapped_f return f(self, _args, _kwargs) TypeError: set_terminal() takes exactly 2 arguments (1 given) [D 130220 15:54:36 gateone:1072] message: u'{"go:file_request":"term_colors.css"}' [D 130220 15:54:36 gateone:1072] message: u'{"terminal:get_terminals":null}' [D 130220 15:54:36 gateone:1072] message: u'{"terminal:set_terminal":null}' [E 130220 15:54:36 gateone:1107] Error/Unknown WebSocket action, terminal:set_terminal: set_terminal() takes exactly 2 arguments (1 given) (/home/user/Downloads/gateone/GateOne/gateone/auth.py line 180) Traceback (most recent call last): File "./gateone.py", line 1097, in on_message self.actions[key]() File "/home/user/Downloads/gateone/GateOne/gateone/auth.py", line 180, in wrapped_f return f(self, _args, _kwargs) TypeError: set_terminal() takes exactly 2 arguments (1 given) [D 130220 15:54:36 gateone:1072] message: u'{"terminal:set_terminal":null}' [E 130220 15:54:36 gateone:1107] Error/Unknown WebSocket action, terminal:set_terminal: set_terminal() takes exactly 2 arguments (1 given) (/home/user/Downloads/gateone/GateOne/gateone/auth.py line 180) Traceback (most recent call last): File "./gateone.py", line 1097, in on_message self.actions[key]() File "/home/user/Downloads/gateone/GateOne/gateone/auth.py", line 180, in wrapped_f return f(self, _args, _kwargs) TypeError: set_terminal() takes exactly 2 arguments (1 given) [D 130220 15:54:36 gateone:1072] message: u'{"terminal:set_terminal":null}' [E 130220 15:54:36 gateone:1107] Error/Unknown WebSocket action, terminal:set_terminal: set_terminal() takes exactly 2 arguments (1 given) (/home/user/Downloads/gateone/GateOne/gateone/auth.py line 180) Traceback (most recent call last): File "./gateone.py", line 1097, in on_message self.actions[key]() File "/home/user/Downloads/gateone/GateOne/gateone/auth.py", line 180, in wrapped_f return f(self, _args, _kwargs) TypeError: set_terminal() takes exactly 2 arguments (1 given) [D 130220 15:54:36 gateone:1072] message: u'{"terminal:set_terminal":null}' [E 130220 15:54:36 gateone:1107] Error/Unknown WebSocket action, terminal:set_terminal: set_terminal() takes exactly 2 arguments (1 given) (/home/user/Downloads/gateone/GateOne/gateone/auth.py line 180) Traceback (most recent call last): File "./gateone.py", line 1097, in on_message self.actions[key]() File "/home/user/Downloads/gateone/GateOne/gateone/auth.py", line 180, in wrapped_f return f(self, _args, _kwargs) TypeError: set_terminal() takes exactly 2 arguments (1 given) [D 130220 15:54:36 gateone:1072] message: u'{"terminal:set_terminal":null}' [E 130220 15:54:36 gateone:1107] Error/Unknown WebSocket action, terminal:set_terminal: set_terminal() takes exactly 2 arguments (1 given) (/home/user/Downloads/gateone/GateOne/gateone/auth.py line 180) Traceback (most recent call last): File "./gateone.py", line 1097, in on_message self.actions[key]() File "/home/user/Downloads/gateone/GateOne/gateone/auth.py", line 180, in wrapped_f return f(self, _args, _kwargs) TypeError: set_terminal() takes exactly 2 arguments (1 given) [D 130220 15:54:37 gateone:1072] message: u'{"terminal:set_terminal":1}' [D 130220 15:54:37 gateone:1072] message: u'{"terminal:new_terminal":{"term":1,"rows":64,"cols":58,"em_dimensions":{"w":28.78125,"h":15}}}' [D 130220 15:54:37 utils:1557] memoize cache hit (applicable_policies) [D 130220 15:54:37 app_terminal:697] ANONYMOUS new_terminal(): {u'em_dimensions': {u'h': 15, u'w': 28.78125}, u'term': 1, u'rows': 64, u'cols': 58} [D 130220 15:54:37 utils:1557] memoize cache hit (applicable_policies) [D 130220 15:54:37 termio:1272] spawn(rows=64, cols=58, env={'GO_SESSION_DIR': u'/tmp/gateone/MjJjNTNmODRlMzA1NDFhZjg5NGUyYzU4ZThkNzRjNWVmO', 'EXAMPLE_VAR': 'This was set via the Example plugin', 'GO_SESSION': u'MjJjNTNmODRlMzA1NDFhZjg5NGUyYzU4ZThkNzRjNWVmO', 'GO_USER': u'ANONYMOUS', 'GO_TERM': '1', 'GO_USER_DIR': u'/home/user/Downloads/gateone/GateOne/gateone/users'}, em_dimensions={'width': 28.78125, 'height': 15}) [D 130220 15:54:37 termio:1328] spawn() pid: 3952 [D 130220 15:54:37 terminal:1476] init_screen() [D 130220 15:54:37 terminal:1494] init_renditions(\u03e8) [D 130220 15:54:37 app_terminal:1030] set_title(1, False) [D 130220 15:54:37 app_terminal:1098] mode_handler() term: 1, setting: 1, boolean: False [D 130220 15:54:37 app_terminal:1098] mode_handler() term: 1, setting: 25, boolean: True [D 130220 15:54:37 app_terminal:1098] mode_handler() term: 1, setting: 7, boolean: False [D 130220 15:54:37 gateone:1072] message: u'{"terminal:ssh_get_connect_string":1}' [D 130220 15:54:37 ssh:451] get_connect_string() term: 1 [D 130220 15:54:37 gateone:1072] message: u'{"terminal:set_terminal":1}' [D 130220 15:54:37 terminal:2674] set_expanded_mode(?1034) [D 130220 15:54:37 app_terminal:1098] mode_handler() term: 1, setting: 1034, boolean: True [D 130220 15:54:37 app_terminal:1030] set_title(1, False) [D 130220 15:54:37 gateone:1072] message: u'{"go:cache_cleanup":{"filenames":["506fa07b07","735af9e501","87c54ec3b5","955813c4d6","9c29700aa7","term_colors.css","theme.css"],"kind":"css"}}' [D 130220 15:54:37 gateone:1711] cache_cleanup({u'kind': u'css', u'filenames': [u'506fa07b07', u'735af9e501', u'87c54ec3b5', u'955813c4d6', u'9c29700aa7', u'term_colors.css', u'theme.css']}) [D 130220 15:54:37 gateone:1726] No expired css files at client 192.168.1.245 [D 130220 15:54:37 gateone:1072] message: u'{"go:cache_cleanup":{"filenames":["1hmac_sha1.js","1smoothie.js","bookmarks.js","convenience.js","example.js","help.js","logging.js","mobile.js","playback.js","ssh.js","terminal.js","terminal_input.js"],"kind":"js"}}' [D 130220 15:54:37 gateone:1711] cache_cleanup({u'kind': u'js', u'filenames': [u'1hmac_sha1.js', u'1smoothie.js', u'bookmarks.js', u'convenience.js', u'example.js', u'help.js', u'logging.js', u'mobile.js', u'playback.js', u'ssh.js', u'terminal.js', u'terminal_input.js']}) [D 130220 15:54:37 gateone:1726] No expired js files at client 192.168.1.245 [D 130220 15:54:38 gateone:1072] message: u'{"terminal:set_terminal":2}' [D 130220 15:54:38 gateone:1072] message: u'{"terminal:new_terminal":{"term":2,"rows":64,"cols":57,"em_dimensions":{"w":28.78125,"h":15}}}' [D 130220 15:54:38 utils:1557] memoize cache hit (applicable_policies) [D 130220 15:54:38 app_terminal:697] ANONYMOUS new_terminal(): {u'em_dimensions': {u'h': 15, u'w': 28.78125}, u'term': 2, u'rows': 64, u'cols': 57} [D 130220 15:54:38 utils:1557] memoize cache hit (applicable_policies) [D 130220 15:54:38 termio:1272] spawn(rows=64, cols=57, env={'GO_SESSION_DIR': u'/tmp/gateone/MjJjNTNmODRlMzA1NDFhZjg5NGUyYzU4ZThkNzRjNWVmO', 'EXAMPLE_VAR': 'This was set via the Example plugin', 'GO_SESSION': u'MjJjNTNmODRlMzA1NDFhZjg5NGUyYzU4ZThkNzRjNWVmO', 'GO_USER': u'ANONYMOUS', 'GO_TERM': '2', 'GO_USER_DIR': u'/home/user/Downloads/gateone/GateOne/gateone/users'}, em_dimensions={'width': 28.78125, 'height': 15}) [D 130220 15:54:38 termio:1328] spawn() pid: 3954 [D 130220 15:54:38 terminal:1476] init_screen() [D 130220 15:54:38 terminal:1494] init_renditions(\u03e8) [D 130220 15:54:38 app_terminal:1030] set_title(2, False) [D 130220 15:54:38 app_terminal:1098] mode_handler() term: 2, setting: 1, boolean: False [D 130220 15:54:38 app_terminal:1098] mode_handler() term: 2, setting: 25, boolean: True [D 130220 15:54:38 app_terminal:1098] mode_handler() term: 2, setting: 7, boolean: False [D 130220 15:54:38 gateone:1072] message: u'{"terminal:ssh_get_connect_string":2}' [D 130220 15:54:38 ssh:451] get_connect_string() term: 2 [D 130220 15:54:38 gateone:1072] message: u'{"terminal:set_terminal":2}' [D 130220 15:54:38 terminal:2674] set_expanded_mode(?1034) [D 130220 15:54:38 app_terminal:1098] mode_handler() term: 2, setting: 1034, boolean: True [D 130220 15:54:38 app_terminal:1030] set_title(2, False) [D 130220 15:54:39 termio:1393] Resizing term 1 to rows: 64, cols: 58 [D 130220 15:54:39 terminal:1648] resize(64, 58) [D 130220 15:54:40 termio:1393] Resizing term 2 to rows: 64, cols: 57 [D 130220 15:54:40 terminal:1648] resize(64, 57) [D 130220 15:54:40 gateone:1072] message: u'{"go:ping":"2013-02-20T20:54:45.130Z"}' [D 130220 15:54:59 gateone:1072] message: u'{"terminal:set_terminal":2}' [D 130220 15:54:59 gateone:1072] message: u'{"terminal:resize":{"term":"1","rows":42,"cols":57,"em_dimensions":{"w":28.78125,"h":15}}}' [D 130220 15:54:59 utils:1557] memoize cache hit (applicable_policies) [D 130220 15:54:59 app_terminal:1234] resize({u'em_dimensions': {u'h': 15, u'w': 28.78125}, u'term': u'1', u'rows': 42, u'cols': 57}) [D 130220 15:54:59 termio:1393] Resizing term 1 to rows: 42, cols: 57 [D 130220 15:54:59 terminal:1648] resize(42, 57) [D 130220 15:54:59 gateone:1072] message: u'{"terminal:resize":{"term":"2","rows":42,"cols":57,"em_dimensions":{"w":28.78125,"h":15}}}' [D 130220 15:54:59 utils:1557] memoize cache hit (applicable_policies) [D 130220 15:54:59 app_terminal:1234] resize({u'em_dimensions': {u'h': 15, u'w': 28.78125}, u'term': u'2', u'rows': 42, u'cols': 57}) [D 130220 15:54:59 termio:1393] Resizing term 2 to rows: 42, cols: 57 [D 130220 15:54:59 terminal:1648] resize(42, 57) [D 130220 15:55:04 gateone:1072] message: u'{"terminal:set_terminal":3}' [D 130220 15:55:04 gateone:1072] message: u'{"terminal:new_terminal":{"term":3,"rows":42,"cols":57,"em_dimensions":{"w":28.78125,"h":15}}}' [D 130220 15:55:04 utils:1557] memoize cache hit (applicable_policies) [D 130220 15:55:04 app_terminal:697] ANONYMOUS new_terminal(): {u'em_dimensions': {u'h': 15, u'w': 28.78125}, u'term': 3, u'rows': 42, u'cols': 57} [D 130220 15:55:04 utils:1557] memoize cache hit (applicable_policies) [D 130220 15:55:04 termio:1272] spawn(rows=42, cols=57, env={'GO_SESSION_DIR': u'/tmp/gateone/MjJjNTNmODRlMzA1NDFhZjg5NGUyYzU4ZThkNzRjNWVmO', 'EXAMPLE_VAR': 'This was set via the Example plugin', 'GO_SESSION': u'MjJjNTNmODRlMzA1NDFhZjg5NGUyYzU4ZThkNzRjNWVmO', 'GO_USER': u'ANONYMOUS', 'GO_TERM': '3', 'GO_USER_DIR': u'/home/user/Downloads/gateone/GateOne/gateone/users'}, em_dimensions={'width': 28.78125, 'height': 15}) [D 130220 15:55:04 termio:1328] spawn() pid: 3957 [D 130220 15:55:04 terminal:1476] init_screen() [D 130220 15:55:04 terminal:1494] init_renditions(\u03e8) [D 130220 15:55:04 app_terminal:1030] set_title(3, False) [D 130220 15:55:04 app_terminal:1098] mode_handler() term: 3, setting: 1, boolean: False [D 130220 15:55:04 app_terminal:1098] mode_handler() term: 3, setting: 25, boolean: True [D 130220 15:55:04 app_terminal:1098] mode_handler() term: 3, setting: 7, boolean: False [D 130220 15:55:04 gateone:1072] message: u'{"terminal:ssh_get_connect_string":3}' [D 130220 15:55:04 ssh:451] get_connect_string() term: 3 [D 130220 15:55:04 gateone:1072] message: u'{"terminal:set_terminal":3}' [D 130220 15:55:04 terminal:2674] set_expanded_mode(?1034) [D 130220 15:55:04 app_terminal:1098] mode_handler() term: 3, setting: 1034, boolean: True [D 130220 15:55:04 app_terminal:1030] set_title(3, False) [D 130220 15:55:06 termio:1393] Resizing term 3 to rows: 42, cols: 57 [D 130220 15:55:06 terminal:1648] resize(42, 57) [D 130220 15:55:17 gateone:1072] message: u'{"go:enumerate_themes":null}'
Aha! The CSS files aren't being sent! So that's the problem... I don't think those logs are giving a good indication of the problem though. I'll fix it.
I just pushed a commit that I think will fix this. Please pull the latest code and give it a go.
Also, if it doesn't work right away try executing this in your JS console to force re-sending of all styles:
GateOne.Storage.clearDatabase('fileCache', 'theme');
GateOne.Storage.clearDatabase('fileCache', 'css');
That will clear those two stores in the fileCache DB.
That bug fix seems to have solved the issue. Sorry for the misleading title to this bug. I didn't notice there was more page down below at first.
Thanks.
On CentOS 6.3 I get a blank terminal with the buttons on the left on startup (see attachment) with the latest commit.
On Firefox 18.0.2 I don't get any errors on the server side, but with Chrome 24.0.1312.70 I get the following.
[E 130219 23:44:33 gateone:1109] Error/Unknown WebSocket action, terminal:set_terminal: set_terminal() takes exactly 2 arguments (1 given) (/home/user/Downloads/GateOne-master/gateone/auth.py line 180)
In the web console of Chrome with the logging level cranked up (GateOne.Logging.level = 10;) I only get the following error.
Viewport target-densitydpi is not supported.
Firefox gives me different information:
[23:49:56.997] The connection to wss://192.168.1.135/ws was interrupted while the page was loading. @ https://192.168.1.135/static/gateone.js:1979 [23:49:57.122] 2013-02-19 23:49:57 ERROR Error communicating with server...