Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@martindale
Created July 16, 2018 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martindale/43d8b53fb1b474d646a1963cfc70766b to your computer and use it in GitHub Desktop.
Save martindale/43d8b53fb1b474d646a1963cfc70766b to your computer and use it in GitHub Desktop.
2018-07-16 23:10:46,900 - synapse.access.http.8010 - 92 - INFO - POST-9889- 127.0.0.1 - 8010 - Received request: POST /_matrix/client/r0/rooms/!2d3d0c0008263d371700321f3600062b1900%3Aexample.com/invite?
2018-07-16 23:10:46,901 - synapse.http.client - 94 - INFO - POST-9889- Sending request GET https://example.com/_matrix/identity/api/v1/lookup?medium=email&address=someone%40someoneelse.com
2018-07-16 23:10:46,913 - synapse.http.client - 109 - INFO - POST-9889- Received response to GET https://example.com/_matrix/identity/api/v1/lookup?medium=email&address=someone%40someoneelse.com: 404
2018-07-16 23:10:46,914 - synapse.http.server - 101 - ERROR - POST-9889- Failed handle request via <function _async_render at 0x7f401a34c398>: <SynapseRequest at 0x7f3fe206ca70 method='POST' uri='/_matrix/client/r0/rooms/!2d3d0c0008263d371700321f3600062b1900%3Aexample.com/invite?' clientproto='HTTP/1.1' site=8010>: Traceback (most recent call last):
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1442, in gotResult
_inlineCallbacks(r, g, deferred)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
File "/home/synapse/workspace/local/lib/python2.7/site-packages/synapse/http/server.py", line 78, in wrapped_request_handler
yield h(self, request)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/synapse/http/server.py", line 304, in _async_render
callback_return = yield callback(request, **kwargs)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/synapse/rest/client/v1/room.py", line 628, in on_POST
txn_id
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/synapse/handlers/room_member.py", line 617, in do_3pid_invite
id_server, medium, address
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/synapse/handlers/room_member.py", line 657, in _lookup_3pid
"address": address,
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 1384, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/twisted/python/failure.py", line 408, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/synapse/http/client.py", line 219, in get_json
raise self._exceptionFromFailedRequest(e.code, e.msg)
File "/home/synapse/workspace/local/lib/python2.7/site-packages/synapse/http/client.py", line 319, in _exceptionFromFailedRequest
return CodeMessageException(response.code, body)
exceptions.AttributeError: 'int' object has no attribute 'code'
2018-07-16 23:10:46,915 - synapse.access.http.8010 - 144 - INFO - POST-9889- 127.0.0.1 - 8010 - {@remaeus:example.com} Processed request: 0.015sec (0.008sec, 0.000sec) (0.000sec/0.000sec/0) 67B 500 "POST /_matrix/client/r0/rooms/!2d3d0c0008263d371700321f3600062b1900%3Aexample.com/invite? HTTP/1.1" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36" [0 dbevts]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment