#1076: [webui] 1.2.x - impossible to reverse proxy with apache
-------------------------+--------------------------------------------------
  Reporter:  orbisvicis  |       Owner:  damoxc           
      Type:  bug         |      Status:  closed           
  Priority:  critical    |   Milestone:  1.3.0            
 Component:  webui       |     Version:  1.2.0_dev        
Resolution:  fixed       |    Keywords:  webui, regression
-------------------------+--------------------------------------------------

Comment(by orbisvicis):

 Double nevermind. Seems whenever I start the components as "deluged -d -L
 info" -> "deluge-web -L info" they don't communicate. I'm not sure why.

 However, when started normally, I found that the request that times out
 (nonfunctional "Add" button) has nothing to do with the apache reverse
 proxy - it also times out @ 127.0.0.1:8112.

 This is what I could see from wireshark:

 I'm pretty sure this is the request that times out. It's frequency in the
 logs matches the frequency of me clicking the "Add" button. Doesn't seem
 to have anything to do with "adding" torrents though.
 {{{
 
{"method":"web.get_host_status","params":["0f76211d03b29f3990b9f6a54eb0d655a1c6e231"],"id":87}
 }}}
 This seems to be the update loop:
 {{{
 
{"method":"web.update_ui","params":[["queue","name","total_size","state","progress","num_seeds","total_seeds","num_peers","total_peers","download_payload_rate","upload_payload_rate","eta","ratio","distributed_copies","is_auto_managed","time_added","tracker_host"],{}],"id":84}
 }}}
 These methods only occured at the beginning of the conversation, probably
 auth stuff
 {{{
 
{"method":"web.connect","params":["0f76211d03b29f3990b9f6a54eb0d655a1c6e231"],"id":20}
 }}}
 {{{
 {"method":"auth.check_session","params":[],"id":1}
 }}}

 Another thing, don't know if this is interesting, but this is an error
 generated when restarting the web server while a client is connected:
 {{{
 [ERROR   ] 15:32:40 json_api:212 Error calling method
 `web.get_host_status`
 [ERROR   ] 15:32:40 json_api:213 'NoneType' object is not iterable
 Traceback (most recent call last):
   File "/opt/python-virtual-deluge/lib/python2.5/site-packages/deluge-1.2
 .900_dev-py2.5.egg/deluge/ui/web/json_api.py", line 204, in
 _handle_request
     result = self._exec_local(method, params, request)
   File "/opt/python-virtual-deluge/lib/python2.5/site-packages/deluge-1.2
 .900_dev-py2.5.egg/deluge/ui/web/json_api.py", line 171, in _exec_local
     return meth(*params)
   File "/opt/python-virtual-deluge/lib/python2.5/site-packages/deluge-1.2
 .900_dev-py2.5.egg/deluge/ui/web/json_api.py", line 693, in
 get_host_status
     (host_id, host, port, user, password) = self.get_host(host_id)
 TypeError: 'NoneType' object is not iterable
 }}}

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1076#comment:20>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to