Closed icarruth closed 12 years ago
I had that issue, then discovered I didn't have the correct Tornado version installed. However I still can't get it to work in any other browser than Chrome. What does /var/log/gateone/webserver.log list?
For reference, in my testing I have gotten Gate One to work in Chrome, Chromium, and Firefox 4, 5, and 6. Firefox 4 and 5 needed WebSockets support enabled but I don't think you need to do that anymore with Firefox 6+. I'll have to check on that.
IE9 doesn't support WebSockets at all so that just plain won't work. Here's hoping Microsoft gets that fixed in IE10.
Note to self: I need to add something to the JavaScript that displays a proper error message if the browser lacks WebSockets support.
Ah, that explains it. It doesn't work in Opera, or IE (no surprise there though). I have Firefox 3.6 at work (hardly use it, so it hasn't updated, guess it's time to), however at home I have FF 6, which it does work in.
Yeah, I'm not sure if WebSockets were there in FF 3.6. Even if it did it was the old, has-a-security-problem version of WebSockets. Anyway, I'm glad we got to the bottom of it. Closing ticket =)
[I 111014 14:29:49 gateone:1177] Listening on https://0.0.0.0:443/ [I 111014 14:29:49 gateone:905] No authentication method configure. All users will be %anonymous [I 111014 14:29:49 gateone:946] Loaded plugins: bookmarks, help, logging, playback, ssh [I 111014 14:29:51 gateone:339] WebSocket opened (%anonymous) [I 111014 14:29:52 gateone:339] WebSocket opened (%anonymous) [I 111014 14:29:56 gateone:862] MDc5MjAzODNlOGU1NGM5MDljZGU0NDJmOTc0NGFiMmI3N received quit()... Killing termio session. [I 111014 14:29:57 gateone:862] YWQ1ZTE1MDg0Y2U4NDEyOTkxMGVmMDVkMjFhYWY1YjMxN received quit()... Killing termio session. [I 111014 14:31:01 gateone:370] WebSocket closed (%anonymous) [I 111014 14:31:01 web:1359] 304 GET / (10.75.82.128) 24.20ms [I 111014 14:31:01 web:1359] 304 GET /style?scheme=black&container=gateone&prefix=go_ (10.75.82.128) 25.73ms [I 111014 14:31:01 gateone:339] WebSocket opened (%anonymous) [I 111014 14:31:09 gateone:862] MDc5MjAzODNlOGU1NGM5MDljZGU0NDJmOTc0NGFiMmI3N received quit()... Killing termio session. [I 111014 14:33:44 gateone:1197] Caught KeyboardInterrupt. Killing sessions...
Then again after adding dtach = True to server.conf [I 111014 14:33:48 gateone:1177] Listening on https://0.0.0.0:443/ [I 111014 14:33:48 gateone:905] No authentication method configure. All users will be %anonymous [I 111014 14:33:48 gateone:946] Loaded plugins: bookmarks, help, logging, playback, ssh [I 111014 14:33:50 gateone:339] WebSocket opened (%anonymous) [I 111014 14:33:50 gateone:339] WebSocket opened (%anonymous) [E 111014 14:33:52 termio:445] Got exception in proc_read: IOError(5, 'Input/output error') [I 111014 14:33:55 gateone:862] YWQ1ZTE1MDg0Y2U4NDEyOTkxMGVmMDVkMjFhYWY1YjMxN received quit()... Killing termio session. [E 111014 14:33:55 ioloop:319] Exception in I/O handler for fd 83 Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/tornado/ioloop.py", line 309, in start self._handlers[fd](fd, events) File "/opt/gateone/termio.py", line 458, in proc_read self.callbacks[self.CALLBACK_EXIT]() File "./gateone.py", line 463, in new_terminal if term not in SESSIONS[self.session]: KeyError: u'YWQ1ZTE1MDg0Y2U4NDEyOTkxMGVmMDVkMjFhYWY1YjMxN' [I 111014 14:33:55 gateone:862] MDc5MjAzODNlOGU1NGM5MDljZGU0NDJmOTc0NGFiMmI3N received quit()... Killing termio session.
What version of tornado do you have installed? Did you explicitly try "dtach = False" in server.conf? I believe the default is on.
Changing value to False make the difference. Works in Firefox and Chrome. Many thanks.
Yeah, that's how I found out dtach was a requirement (and I had the wrong Tornado). :) You could try to install it with: sudo yum install dtach
I guess this issue can stay closed now. :)
When i connect ssl sessions open then close down the right hand side of the web page in firefox & chrome. In ie 9 a blank page is displayed.
Installed on FC15 with default server.conf.