Skip to content

i need support "Unhandled error in Deferred" #370

@yohohoro

Description

@yohohoro

strace -f -vvv -o strace-tor2web.out tor2web --pidfile /var/run/tor2web/t2w.pid --uid tor2web --gid tor2web --nodaemon --command=start
2020-02-01 08:03:37+0000 ] Log opened.
2020-02-01 08:03:37+0000 [ PBServerFactory starting on '/var/run/tor2web/rpc.socket'
2020-02-01 08:03:37+0000 ] Starting factory
2020-02-01 08:03:37+0000 [ Starting factory _HTTP11ClientFactory(.quiescentCallback at 0x7efd458b4378>, )
2020-02-01 08:03:37+0000 [-] Stopping factory _HTTP11ClientFactory(.quiescentCallback at 0x7efd458b4378>, )
Unhandled error in Deferred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/tor2web/t2w.py", line 1040, in allHeadersReceived
self.requests[-1].requestReceived(self._command, self._path, self._version)
File "/usr/lib/python3/dist-packages/tor2web/t2w.py", line 469, in requestReceived
self.process()
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1613, in unwindGenerator
return _cancellableInlineCallbacks(gen)
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1529, in _cancellableInlineCallbacks
_inlineCallbacks(None, g, status)


File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
result = g.send(result)
File "/usr/lib/python3/dist-packages/tor2web/t2w.py", line 712, in process
self.redirect("https://" + request.host + request.uri)
builtins.TypeError: can only concatenate str (not "bytes") to str

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions