kpdyer / fteproxy

programmable proxy for censorship circumvention
https://fteproxy.org/
Apache License 2.0
149 stars 21 forks source link

DecodeFailureException AttributeError #43

Closed kpdyer closed 11 years ago

kpdyer commented 11 years ago

The following error can be produced by attempting to bootstrap Tor over FTE.

Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/fte/relay.py", line 56, in run
    [success, _data] = fte.io.recvall_from_socket(self._socket2)
  File "/usr/local/lib/python2.7/dist-packages/fte/io.py", line 48, in recvall_from_socket
    _data = sock.recv(bufsize)
  File "/usr/local/lib/python2.7/dist-packages/fte/__init__.py", line 78, in recv
    frag = self._decoder.pop()
  File "/usr/local/lib/python2.7/dist-packages/fte/record_layer.py", line 92, in pop
    except fte.encoder.DecodeFailureException:
AttributeError: 'module' object has no attribute 'DecodeFailureException'

The issue is intermittent and only occurs roughly 1 out of 5 times, or so.