{"action":"opened","issue":{"url":"https://api.github.com/repos/raiden-network/raiden/issues/1790","repository_url":"https://api.github.com/repos/raiden-network/raiden","labels_url":"https://api.github.com/repos/raiden-network/raiden/issues/1790/labels{/name}","comments_url":"https://api.github.com/repos/raiden-network/raiden/issues/1790/comments","events_url":"https://api.github.com/repos/raiden-network/raiden/issues/1790/events","html_url":"https://github.com/raiden-network/raiden/issues/1790","id":340625003,"node_id":"MDU6SXNzdWUzNDA2MjUwMDM=","number":1790,"title":"Raiden crashed due to MatrixRequestError: 504 Timed out","user":{"login":"LefterisJP","id":1658405,"node_id":"MDQ6VXNlcjE2NTg0MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1658405?v=4","gravatar_id":"","url":"https://api.github.com/users/LefterisJP","html_url":"https://github.com/LefterisJP","followers_url":"https://api.github.com/users/LefterisJP/followers","following_url":"https://api.github.com/users/LefterisJP/following{/other_user}","gists_url":"https://api.github.com/users/LefterisJP/gists{/gist_id}","starred_url":"https://api.github.com/users/LefterisJP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LefterisJP/subscriptions","organizations_url":"https://api.github.com/users/LefterisJP/orgs","repos_url":"https://api.github.com/users/LefterisJP/repos","events_url":"https://api.github.com/users/LefterisJP/events{/privacy}","received_events_url":"https://api.github.com/users/LefterisJP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-12T12:53:19Z","updated_at":"2018-07-12T12:53:19Z","closed_at":null,"author_association":"COLLABORATOR","body":"While testing it has only happened once so far. But without doing anything special Raiden just crashed with the following trace:\r\n\r\n\r\n```\r\nChecking if the ethereum node is synchronized\r\nYou are connected to the 'ropsten' network and the DB path is: /home/lefteris/.raiden/netid_3/25511699/log.db\r\n2018-07-12 12:47:09 [info     ] Automatically selecting matrix homeserver based on RTT [raiden.network.transport.matrix] homeserver=https://transport01.raiden.network rtt=0.027562666666666666                                                                                 \r\n2018-07-12 12:47:09 [info     ] Lock 139654262841016 acquired on /home/lefteris/.raiden/netid_3/25511699/.lock [filelock]\r\n2018-07-12 12:47:10 [info     ] REGISTER                       [raiden.network.transport.matrix] current_user=@0x25511699c252eea2678266857c98f459df97b77c:transport01.raiden.network homeserver=transport01.raiden.network server_url=https://transport01.raiden.network username=0x25511699c252eea2678266857c98f459df97b77c\r\n2018-07-12 12:47:10 [warning  ] Member of a room we're not supposed to be a member of - ignoring [raiden.network.transport.matrix] current_user=@0x25511699c252eea2678266857c98f459df97b77c:transport01.raiden.network discovery=#raiden_ropsten_discovery:transport01.raiden.network room=<Room id=\"!fqQVZEXgokgQhcYpMI:transport01.raiden.network\" alias=\"#test:transport01.raiden.network\">\r\n2018-07-12 12:47:10 [info     ] TRANSPORT STARTED              [raiden.network.transport.matrix] current_user=@0x25511699c252eea2678266857c98f459df97b77c:transport01.raiden.network                                                                                            \r\nThe Raiden API RPC server is now running at http://127.0.0.1:5001/.\r\n\r\nSee the Raiden documentation for all available endpoints at\r\nhttp://raiden-network.readthedocs.io/en/stable/rest_api.html\r\n2018-07-12 12:47:11 [warning  ] Member of a room we're not supposed to be a member of - ignoring [raiden.network.transport.matrix] current_user=@0x25511699c252eea2678266857c98f459df97b77c:transport01.raiden.network discovery=#raiden_ropsten_discovery:transport01.raiden.network room=<Room id=\"!fqQVZEXgokgQhcYpMI:transport01.raiden.network\" alias=\"#test:transport01.raiden.network\">\r\nTraceback (most recent call last):\r\n  File \"src/gevent/greenlet.py\", line 716, in gevent._greenlet.Greenlet.run\r\n  File \"/home/lefteris/ew/raiden/raiden/network/transport/matrix.py\", line 671, in _handle_presence_change\r\n    address = self._validate_userid_signature(user)\r\n  File \"/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/cachetools/__init__.py\", line 87, in wrapper\r\n    v = method(self, *args, **kwargs)\r\n  File \"/home/lefteris/ew/raiden/raiden/network/transport/matrix.py\", line 846, in _validate_userid_signature\r\n    decode_hex(user.get_display_name()),\r\n  File \"/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/matrix_client/user.py\", line 36, in get_display_name\r\n    self.displayname = self.api.get_display_name(self.user_id)\r\n  File \"/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/matrix_client/api.py\", line 705, in get_display_name\r\n    content = self._send(\"GET\", \"/profile/%s/displayname\" % user_id)\r\n  File \"/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/matrix_client/api.py\", line 691, in _send\r\n    code=response.status_code, content=response.text\r\nmatrix_client.errors.MatrixRequestError: 504: {\"errcode\":\"M_UNKNOWN\",\"error\":\"Timed out\"}\r\n2018-07-12T12:47:25Z <Greenlet \"Greenlet-0\" at 0x7f03cd03ae48: <bound method MatrixTransport._handle_presence_change of <raiden.network.transport.matrix.MatrixTransport object at 0x7f03cabeacc0>>({'content': {'last_active_ago': 1890341395, 'prese)> failed with MatrixRequestError\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python3.6/runpy.py\", line 193, in _run_module_as_main\r\n    \"__main__\", mod_spec)\r\n  File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File \"/home/lefteris/ew/raiden/raiden/__main__.py\", line 15, in <module>\r\n    main()\r\n  File \"/home/lefteris/ew/raiden/raiden/__main__.py\", line 11, in main\r\n    run(auto_envvar_prefix='RAIDEN')\r\n  File \"/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py\", line 722, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py\", line 697, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py\", line 1043, in invoke\r\n    return Command.invoke(self, ctx)\r\n  File \"/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py\", line 895, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py\", line 535, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/decorators.py\", line 17, in new_func\r\n    return f(get_current_context(), *args, **kwargs)\r\n  File \"/home/lefteris/ew/raiden/raiden/ui/cli.py\", line 951, in run\r\n    app_ = _run_app()\r\n  File \"/home/lefteris/ew/raiden/raiden/ui/cli.py\", line 924, in _run_app\r\n    event.wait()\r\n  File \"src/gevent/event.py\", line 240, in gevent._event.Event.wait\r\n  File \"src/gevent/event.py\", line 140, in gevent._event._AbstractLinkable._wait\r\n  File \"src/gevent/event.py\", line 117, in gevent._event._AbstractLinkable._wait_core\r\n  File \"src/gevent/event.py\", line 119, in gevent._event._AbstractLinkable._wait_core\r\n  File \"src/gevent/_greenlet_primitives.py\", line 59, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch\r\n  File \"src/gevent/_greenlet_primitives.py\", line 59, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch\r\n  File \"src/gevent/_greenlet_primitives.py\", line 63, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch\r\n  File \"src/gevent/__greenlet_primitives.pxd\", line 35, in gevent.__greenlet_primitives._greenlet_switch\r\nmatrix_client.errors.MatrixRequestError: 504: {\"errcode\":\"M_UNKNOWN\",\"error\":\"Timed out\"}\r\n```"}}
{"actor":{"display_login":"LefterisJP"}}