wulie88 / web-shell

Automatically exported from code.google.com/p/web-shell
0 stars 0 forks source link

Web-Shell hangs since 0.9.5 - Apache used for proxy connect. #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Launch webshell: /usr/local/web-shell/webshell.py --ssl-disable -p 8022 -d
2. Connect using local apache server as proxy connect over HTTPS (used to
be the only way to do HTTPS, still find it more convenient, port-wise).
3. Do stuff, then disconnect.
4. Wait 20 seconds or so (works fine if I reconnect immediately)
5. Reload browser window to reconnect.
6. Hangs without displaying login. 
7. Kill the several web-shell processes lying around.  (A new one for each
reload of browser window).
8. Go to step 1.

What is the expected output? What do you see instead?
See a single cursor indicator in upper corner after connect.

What version of the product are you using? On what operating system?
SVN HEAD, Gentoo Linux, worked without issues about 20 revisions ago,
around 0.9.5 or so.  After updating, started getting these problems.

Please provide any additional information below.

Oh, likely unrelated, but. Following appears in javascript error console
whether connection succeeds or not, continuously.
Error: no element found
Source File: https://localhost/u?s=931031973&w=80&h=24&k=
Line: 1, Column: 39
Source Code:
<?xml version="1.0" encoding="UTF-8"?>--------------------------------------^

Original issue reported on code.google.com by kyberneticist@gmail.com on 18 Sep 2007 at 1:14

GoogleCodeExporter commented 8 years ago
And then it occurred to me to:
A) run without -d
B) actually check the other bugs.
This is essentially a dupe of #32.  Sorry.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/web-shell/webshell.py", line 1230, in proc_thread
    (fds, fd2sid) = self.proc_getalive()
  File "/usr/local/web-shell/webshell.py", line 1023, in __call__
    r = self.orig(*l)
  File "/usr/local/web-shell/webshell.py", line 1220, in proc_getalive
    self.proc_bury(sid)
  File "/usr/local/web-shell/webshell.py", line 1158, in proc_bury
    self.proc_waitfordeath(sid)
  File "/usr/local/web-shell/webshell.py", line 1144, in proc_waitfordeath
    del self.session[sid]['fd']
KeyError: 'fd'

Original comment by kyberneticist@gmail.com on 18 Sep 2007 at 1:22

GoogleCodeExporter commented 8 years ago
Thanks for submitting anyway!

Original comment by mre...@gmail.com on 19 Sep 2007 at 5:45