Opened 22 months ago

Last modified 14 months ago

#24224 new defect

When a bwauthority circuit fails, it is very noisy

Reported by: teor Owned by: tom
Priority: Medium Milestone:
Component: Core Tor/Torflow Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: #4079 Points:
Reviewer: Sponsor:

Description

This was logged for a single circuit failure when an outgoing connection was blocked by my firewall:

WARN[Fri Nov 10 23:14:36 2017]:Error building circ: ("551 Couldn't start circuit",)
NOTICE[Fri Nov 10 23:14:36 2017]:Closing stream 452
ERROR[Fri Nov 10 23:14:36 2017]:An unknown HTTP error occured
Traceback (most recent call last):
  File "bwauthority_child.py", line 148, in http_request
    reply = urllib2.urlopen(request, context=context)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
WARN[Fri Nov 10 23:14:36 2017]:No circuit for 452 circ: 0
WARN[Fri Nov 10 23:14:36 2017]:Stream 452 FAILED from no circuit with reason: DESTROY
WARN[Fri Nov 10 23:14:36 2017]:No circuit for 452 circ: 0
WARN[Fri Nov 10 23:14:36 2017]:Stream 452 CLOSED from no circuit with reason: DESTROY
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1241, in https_open
    context=self._context)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1195, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1042, in request
    self._send_request(method, url, body, headers)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1082, in _send_request
    self.endheaders(body)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1038, in endheaders
    self._send_output(message_body)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 882, in _send_output
    self.send(msg)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 844, in send
    self.connect()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1255, in connect
    HTTPConnection.connect(self)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 821, in connect
    self.timeout, self.source_address)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 566, in create_connection
    sock.connect(sa)
  File "../libs/SocksiPy/socks.py", line 369, in connect
    self.__negotiatesocks5(destpair[0],destpair[1])
  File "../libs/SocksiPy/socks.py", line 236, in __negotiatesocks5
    raise Socks5Error((ord(resp[1]),_socks5errors[ord(resp[1])]))
Socks5Error: (1, 'general SOCKS server failure')

Child Tickets

Change History (2)

comment:1 Changed 21 months ago by teor

Summary: When a torflow circuit fails, it is very noisyWhen a bwauthority circuit fails, it is very noisy

comment:2 Changed 14 months ago by teor

Cc: teor@… removed

Remove useless CC

Note: See TracTickets for help on using tickets.