Tor tunnel has no connection object until connect is called

Bug #921914 reported by aj00200
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Committed

Bug Description

We need to call the connect methods on our tunnels before using them to send data so that they have a connection object.

The traceback is as follows:

Exception happened during processing of request from ('', 53513)
Traceback (most recent call last):
  File "/usr/lib/python2.6/", line 283, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.6/", line 309, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.6/", line 322, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.6/", line 617, in __init__
  File "/usr/lib/python2.6/", line 329, in handle
  File "/usr/lib/python2.6/", line 323, in handle_one_request
  File "/home/aj00200/anonplus/aj00200/src/uis/web/", line 17, in do_GET
    broadcast('web_ui_request', self.path, self)
  File "/home/aj00200/anonplus/aj00200/src/libs/", line 18, in broadcast
    getattr(handler, event_type)(*args, **kwargs)
  File "/home/aj00200/anonplus/aj00200/src/uis/web/", line 76, in web_ui_request
  File "/home/aj00200/anonplus/aj00200/src/libs/", line 155, in send_message
  File "/home/aj00200/anonplus/aj00200/src/libs/", line 141, in send
  File "/home/aj00200/anonplus/aj00200/src/tunnels/", line 28, in send
AttributeError: 'Tunnel' object has no attribute 'connection'

Tags: tunnels

Related branches

aj00200 (aj00200)
Changed in anonplus:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.