Skip to content

Instantly share code, notes, and snippets.

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 CosminNechifor/2e81b3a5573bbd9cfa225aec249f4bba to your computer and use it in GitHub Desktop.
Save CosminNechifor/2e81b3a5573bbd9cfa225aec249f4bba to your computer and use it in GitHub Desktop.
2018-08-31 13:57:20 [info ] 127.0.0.1 - - [2018-08-31 15:57:20] "GET /api/1/channels HTTP/1.1" 200 1460 0.008781 [raiden.api.rest.pywsgi]
2018-08-31 13:57:22 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:22 [info ] 127.0.0.1 - - [2018-08-31 15:57:22] "GET /api/1/channels HTTP/1.1" 200 1460 0.006432 [raiden.api.rest.pywsgi]
2018-08-31 13:57:25 [debug ] new block [raiden.tasks] number=3946289
2018-08-31 13:57:25 [info ] deposit called [raiden.network.proxies.token_network] amount_to_deposit=60 id=140127767573448 node=fab73817 partner=15d118fc token_network=9fe1f19d total_deposit=60
2018-08-31 13:57:25 [debug ] send_raw_transaction called [raiden.network.rpc.client] account=0xFaB738171F709E149c76b88AE7Ef9E4ee7eB33e7 gasLimit=3763728 gasPrice=2000000000 nonce=18
2018-08-31 13:57:25 [debug ] send_raw_transaction returned [raiden.network.rpc.client] account=0xFaB738171F709E149c76b88AE7Ef9E4ee7eB33e7 gasLimit=3763728 gasPrice=2000000000 nonce=18 tx_hash=HexBytes('0xbf3f4c9e50f1663cb5df22d888d90a825ad1b6d7ac0b79119e48a1e8069f506b')
2018-08-31 13:57:25 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:25 [info ] 127.0.0.1 - - [2018-08-31 15:57:25] "GET /api/1/channels HTTP/1.1" 200 1460 0.003476 [raiden.api.rest.pywsgi]
2018-08-31 13:57:25 [debug ] STATE CHANGE [raiden.raiden_service] node=fab73817 state_change=<Block 3946289>
2018-08-31 13:57:28 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:28 [info ] 127.0.0.1 - - [2018-08-31 15:57:28] "GET /api/1/channels HTTP/1.1" 200 1460 0.004949 [raiden.api.rest.pywsgi]
2018-08-31 13:57:30 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:30 [info ] 127.0.0.1 - - [2018-08-31 15:57:30] "GET /api/1/channels HTTP/1.1" 200 1460 0.003306 [raiden.api.rest.pywsgi]
2018-08-31 13:57:34 [debug ] new block [raiden.tasks] number=3946290
2018-08-31 13:57:34 [debug ] STATE CHANGE [raiden.raiden_service] node=fab73817 state_change=<Block 3946290>
2018-08-31 13:57:35 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:35 [info ] 127.0.0.1 - - [2018-08-31 15:57:35] "GET /api/1/channels HTTP/1.1" 200 1460 0.004101 [raiden.api.rest.pywsgi]
2018-08-31 13:57:35 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:35 [info ] 127.0.0.1 - - [2018-08-31 15:57:35] "GET /api/1/channels HTTP/1.1" 200 1460 0.004565 [raiden.api.rest.pywsgi]
2018-08-31 13:57:40 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:40 [info ] 127.0.0.1 - - [2018-08-31 15:57:40] "GET /api/1/channels HTTP/1.1" 200 1460 0.004940 [raiden.api.rest.pywsgi]
2018-08-31 13:57:40 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:40 [info ] 127.0.0.1 - - [2018-08-31 15:57:40] "GET /api/1/channels HTTP/1.1" 200 1460 0.009776 [raiden.api.rest.pywsgi]
2018-08-31 13:57:45 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:45 [info ] 127.0.0.1 - - [2018-08-31 15:57:45] "GET /api/1/channels HTTP/1.1" 200 1460 0.006972 [raiden.api.rest.pywsgi]
2018-08-31 13:57:46 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:46 [info ] 127.0.0.1 - - [2018-08-31 15:57:46] "GET /api/1/channels HTTP/1.1" 200 1460 0.007564 [raiden.api.rest.pywsgi]
2018-08-31 13:57:47 [info ] 127.0.0.1 - - [2018-08-31 15:57:47] "GET /ui/channels HTTP/1.1" 304 209 0.002739 [raiden.api.rest.pywsgi]
2018-08-31 13:57:47 [info ] 127.0.0.1 - - [2018-08-31 15:57:47] "GET /ui/assets/config/config.production.json HTTP/1.1" 200 159 0.001253 [raiden.api.rest.pywsgi]
2018-08-31 13:57:47 [info ] 127.0.0.1 - - [2018-08-31 15:57:47] "GET /ui/assets/favicon.png HTTP/1.1" 200 3534 0.003696 [raiden.api.rest.pywsgi]
2018-08-31 13:57:47 [info ] 127.0.0.1 - - [2018-08-31 15:57:47] "GET /api/1/address HTTP/1.1" 200 197 0.001614 [raiden.api.rest.pywsgi]
2018-08-31 13:57:47 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:47 [info ] 127.0.0.1 - - [2018-08-31 15:57:47] "GET /api/1/channels HTTP/1.1" 200 1460 0.006825 [raiden.api.rest.pywsgi]
2018-08-31 13:57:47 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:47 [info ] 127.0.0.1 - - [2018-08-31 15:57:47] "GET /api/1/channels HTTP/1.1" 200 1460 0.003598 [raiden.api.rest.pywsgi]
2018-08-31 13:57:52 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:52 [info ] 127.0.0.1 - - [2018-08-31 15:57:52] "GET /api/1/channels HTTP/1.1" 200 1460 0.007406 [raiden.api.rest.pywsgi]
2018-08-31 13:57:53 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:53 [info ] 127.0.0.1 - - [2018-08-31 15:57:53] "GET /api/1/channels HTTP/1.1" 200 1460 0.005693 [raiden.api.rest.pywsgi]
2018-08-31 13:57:58 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:58 [info ] 127.0.0.1 - - [2018-08-31 15:57:58] "GET /api/1/channels HTTP/1.1" 200 1460 0.003592 [raiden.api.rest.pywsgi]
2018-08-31 13:57:58 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:57:58 [info ] 127.0.0.1 - - [2018-08-31 15:57:58] "GET /api/1/channels HTTP/1.1" 200 1460 0.003828 [raiden.api.rest.pywsgi]
2018-08-31 13:58:03 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:03 [info ] 127.0.0.1 - - [2018-08-31 15:58:03] "GET /api/1/channels HTTP/1.1" 200 1460 0.003828 [raiden.api.rest.pywsgi]
2018-08-31 13:58:04 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:04 [info ] 127.0.0.1 - - [2018-08-31 15:58:04] "GET /api/1/channels HTTP/1.1" 200 1460 0.004514 [raiden.api.rest.pywsgi]
2018-08-31 13:58:08 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:08 [info ] 127.0.0.1 - - [2018-08-31 15:58:08] "GET /api/1/channels HTTP/1.1" 200 1460 0.010093 [raiden.api.rest.pywsgi]
2018-08-31 13:58:10 [debug ] new block [raiden.tasks] number=3946291
2018-08-31 13:58:10 [debug ] STATE CHANGE [raiden.raiden_service] node=fab73817 state_change=<Block 3946291>
2018-08-31 13:58:11 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:11 [info ] 127.0.0.1 - - [2018-08-31 15:58:11] "GET /api/1/channels HTTP/1.1" 200 1460 0.002807 [raiden.api.rest.pywsgi]
2018-08-31 13:58:13 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:13 [info ] 127.0.0.1 - - [2018-08-31 15:58:13] "GET /api/1/channels HTTP/1.1" 200 1460 0.006669 [raiden.api.rest.pywsgi]
2018-08-31 13:58:15 [debug ] Invited and joined a room [raiden.network.transport.matrix] aliases=['#raiden_ropsten_0x15d118fcb09a113ff8f6135fa948c56b5bd1b903_0xfab738171f709e149c76b88ae7ef9e4ee7eb33e7:transport03.raiden.network'] current_user=@0xfab738171f709e149c76b88ae7ef9e4ee7eb33e7:transport01.raiden.network peer=0x15d118fCB09A113Ff8f6135fa948C56b5Bd1B903 room_id=!pIPLcreZZFGKMVTqGG:transport03.raiden.network
2018-08-31 13:58:15 [debug ] Changing address presence state [raiden.network.transport.matrix] address=0x15d118fcb09a113ff8f6135fa948c56b5bd1b903 current_user=@0xfab738171f709e149c76b88ae7ef9e4ee7eb33e7:transport01.raiden.network prev_state=<UserPresence.UNAVAILABLE: 'unavailable'> state=<UserPresence.ONLINE: 'online'>
2018-08-31 13:58:15 [debug ] STATE CHANGE [raiden.raiden_service] node=fab73817 state_change=<ActionChangeNodeNetworkState node:15d118fc state:reachable>
2018-08-31 13:58:16 [debug ] MESSAGE_DATA [raiden.network.transport.matrix] current_user=@0xfab738171f709e149c76b88ae7ef9e4ee7eb33e7:transport01.raiden.network data={"type": "LockedTransfer", "chain_id": 3, "message_identifier": 3168005283352701610, "payment_identifier": 1535723894881, "nonce": 1, "token_network_address": "0x9fe1f19d8c0d2591fd01486e575b44f4220ef241", "token": "0x0f114a1e9db192502e7856309cc899952b3db1ed", "channel_identifier": 193, "transferred_amount": 0, "locked_amount": 1, "recipient": "0xfab738171f709e149c76b88ae7ef9e4ee7eb33e7", "locksroot": "0x27cfcaf1fa425e6bccfdc088256a076cee8ed7812f3a0f2bbfdf3108bca12dd0", "lock": {"type": "Lock", "amount": 1, "expiration": 3946311, "secrethash": "0x55b426e0d5f7f8633b51675799b8730c87ce46c9ff5ddca022db04ffc44bf7b9"}, "target": "0xfab738171f709e149c76b88ae7ef9e4ee7eb33e7", "initiator": "0x15d118fcb09a113ff8f6135fa948c56b5bd1b903", "fee": 0, "signature": "0x27e1d477c12c1d57afa7a99e6978dfec88253c33ad40d401b1fde54b5f54f0332c06b4d6c3d1f4c7cddcaeff97a5775163dc8ce2cc9b2c59b06986961bccdd791b"} room=<Room id="!pIPLcreZZFGKMVTqGG:transport03.raiden.network" alias="#raiden_ropsten_0x15d118fcb09a113ff8f6135fa948c56b5bd1b903_0xfab738171f709e149c76b88ae7ef9e4ee7eb33e7:transport03.raiden.network"> sender=15d118fc sender_user=<User id="@0x15d118fcb09a113ff8f6135fa948c56b5bd1b903:transport03.raiden.network">
2018-08-31 13:58:16 [info ] MESSAGE RECEIVED [raiden.network.transport.matrix] current_user=@0xfab738171f709e149c76b88ae7ef9e4ee7eb33e7:transport01.raiden.network message=<LockedTransfer [chainid:3 msgid:3168005283352701610 paymentid:1535723894881 token_network:9fe1f19d channel_identifier:193 nonce:1 transferred_amount:0 locked_amount:1 locksroot:27cfcaf1 hash:e1a82cc7 secrethash:55b426e0 expiration:3946311 amount:1]> node=fab73817 sender=15d118fc
2018-08-31 13:58:16 [debug ] STATE CHANGE [raiden.raiden_service] node=fab73817 state_change=<ActionInitTarget route:<RouteState hop:15d118fc channel_identifier:193> transfer:<LockedTransferSignedState msgid:3168005283352701610 id:1535723894881 token:0x0f114a1e9db192502e7856309cc899952b3db1ed lock:<HashTimeLockState amount:1 expiration:3946311 secrethash:55b426e0> target:0xfab738171f709e149c76b88ae7ef9e4ee7eb33e7>>
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/raiden_libs/network/matrix/client.py", line 349, in _handle_response
self.call(room._put_event, event)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/raiden_libs/network/matrix/client.py", line 307, in call
return callback(*args, **kwargs)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/matrix_client/room.py", line 308, in _put_event
listener['callback'](self, event)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/cachetools/__init__.py", line 87, in wrapper
v = method(self, *args, **kwargs)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/network/transport/matrix.py", line 544, in _handle_message
self._receive_message(message)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/network/transport/matrix.py", line 599, in _receive_message
on_message(self._raiden_service, message)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/message_handler.py", line 140, in on_message
handle_message_lockedtransfer(raiden, message)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/message_handler.py", line 116, in handle_message_lockedtransfer
raiden.target_mediated_transfer(message)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/raiden_service.py", line 617, in target_mediated_transfer
self.handle_state_change(init_target_statechange)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/raiden_service.py", line 374, in handle_state_change
event_list = self.wal.log_and_dispatch(state_change)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/storage/wal.py", line 53, in log_and_dispatch
events = self.state_manager.dispatch(state_change)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/transfer/architecture.py", line 248, in dispatch
json = JSONSerializer.serialize(state)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/storage/serialize.py", line 74, in serialize
return json.dumps(obj, cls=RaidenJSONEncoder)
File "/usr/lib/python3.6/json/__init__.py", line 238, in dumps
**kw).encode(obj)
File "/usr/lib/python3.6/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python3.6/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/storage/serialize.py", line 15, in default
result = obj.to_dict()
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/transfer/mediated_transfer/state.py", line 264, in to_dict
'secret': serialization.serialize_bytes(self.secret),
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/utils/serialization.py", line 65, in serialize_bytes
return to_hex(data)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/eth_utils/decorators.py", line 73, in wrapper
_assert_one_val(*args, **kwargs)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/eth_utils/decorators.py", line 39, in _assert_one_val
"Instead, values were: %r, %r" % (args, kwargs)
TypeError: Exactly one of the passed values can be specified. Instead, values were: (None,), {}
2018-08-31T13:58:16Z <Greenlet "Greenlet-0" at 0x7f7209208b48: <bound method GMatrixClient._handle_response of <raiden_libs.network.matrix.client.GMatrixClient object at 0x7f720b14ec18>>({'next_batch': 's3897065_459407_0_1_2713_1_1_10836)> failed with TypeError
2018-08-31 13:58:16 [debug ] SEND [raiden.network.transport.matrix] current_user=@0xfab738171f709e149c76b88ae7ef9e4ee7eb33e7:transport01.raiden.network data={"type": "Delivered", "delivered_message_identifier": 3168005283352701610, "signature": "0xde90c1f83131e823fe479189396dcdef6bb27cd942e92ae1a26f686b451fe2606354273a128f117d05704b762e47c0717e0cfabc5258caaddbd348747001d0481b"} room=<Room id="!pIPLcreZZFGKMVTqGG:transport03.raiden.network" alias="#raiden_ropsten_0x15d118fcb09a113ff8f6135fa948c56b5bd1b903_0xfab738171f709e149c76b88ae7ef9e4ee7eb33e7:transport03.raiden.network">
2018-08-31 13:58:16 [error ] Exception thrown during sync [raiden_libs.network.matrix.client]
Traceback (most recent call last):
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/raiden_libs/network/matrix/client.py", line 151, in listen_forever
self._sync(timeout_ms)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/raiden_libs/network/matrix/client.py", line 311, in _sync
response = self.api.sync(self.sync_token, timeout_ms, filter=self.sync_filter)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/matrix_client/api.py", line 105, in sync
api_path=MATRIX_V2_API_PATH)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/raiden_libs/network/matrix/client.py", line 70, in _send
return super()._send(method, path, *args, **kwargs)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/matrix_client/api.py", line 670, in _send
verify=self.validate_cert
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/requests/sessions.py", line 512, in request
resp = self.send(prep, **send_kwargs)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/requests/sessions.py", line 622, in send
r = adapter.send(request, **kwargs)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/requests/adapters.py", line 445, in send
timeout=timeout
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connectionpool.py", line 588, in urlopen
conn = self._get_conn(timeout=pool_timeout)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connectionpool.py", line 239, in _get_conn
if conn and is_connection_dropped(conn):
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/connection.py", line 23, in is_connection_dropped
return wait_for_read(sock, timeout=0.0)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/wait.py", line 146, in wait_for_read
return wait_for_socket(sock, read=True, timeout=timeout)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/wait.py", line 107, in poll_wait_for_socket
return bool(_retry_on_intr(do_poll, timeout))
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/wait.py", line 42, in _retry_on_intr
return fn(timeout)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/wait.py", line 105, in do_poll
return poll_obj.poll(t)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/select.py", line 268, in poll
result.event.wait(timeout=timeout)
File "src/gevent/event.py", line 240, in gevent._event.Event.wait
File "src/gevent/event.py", line 140, in gevent._event._AbstractLinkable._wait
File "src/gevent/event.py", line 117, in gevent._event._AbstractLinkable._wait_core
File "src/gevent/event.py", line 119, in gevent._event._AbstractLinkable._wait_core
File "src/gevent/_greenlet_primitives.py", line 59, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 59, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 63, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/__greenlet_primitives.pxd", line 35, in gevent.__greenlet_primitives._greenlet_switch
TypeError: Exactly one of the passed values can be specified. Instead, values were: (None,), {}
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/raiden_libs/network/matrix/client.py", line 151, in listen_forever
self._sync(timeout_ms)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/raiden_libs/network/matrix/client.py", line 311, in _sync
response = self.api.sync(self.sync_token, timeout_ms, filter=self.sync_filter)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/matrix_client/api.py", line 105, in sync
api_path=MATRIX_V2_API_PATH)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/raiden_libs/network/matrix/client.py", line 70, in _send
return super()._send(method, path, *args, **kwargs)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/matrix_client/api.py", line 670, in _send
verify=self.validate_cert
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/requests/sessions.py", line 512, in request
resp = self.send(prep, **send_kwargs)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/requests/sessions.py", line 622, in send
r = adapter.send(request, **kwargs)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/requests/adapters.py", line 445, in send
timeout=timeout
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connectionpool.py", line 588, in urlopen
conn = self._get_conn(timeout=pool_timeout)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connectionpool.py", line 239, in _get_conn
if conn and is_connection_dropped(conn):
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/connection.py", line 23, in is_connection_dropped
return wait_for_read(sock, timeout=0.0)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/wait.py", line 146, in wait_for_read
return wait_for_socket(sock, read=True, timeout=timeout)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/wait.py", line 107, in poll_wait_for_socket
return bool(_retry_on_intr(do_poll, timeout))
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/wait.py", line 42, in _retry_on_intr
return fn(timeout)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/wait.py", line 105, in do_poll
return poll_obj.poll(t)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/select.py", line 268, in poll
result.event.wait(timeout=timeout)
File "src/gevent/event.py", line 240, in gevent._event.Event.wait
File "src/gevent/event.py", line 140, in gevent._event._AbstractLinkable._wait
File "src/gevent/event.py", line 117, in gevent._event._AbstractLinkable._wait_core
File "src/gevent/event.py", line 119, in gevent._event._AbstractLinkable._wait_core
File "src/gevent/_greenlet_primitives.py", line 59, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 59, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 63, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/__greenlet_primitives.pxd", line 35, in gevent.__greenlet_primitives._greenlet_switch
TypeError: Exactly one of the passed values can be specified. Instead, values were: (None,), {}
2018-08-31T13:58:16Z <Greenlet "Greenlet-1" at 0x7f720c8ebc48: <bound method GMatrixClient.listen_forever of <raiden_libs.network.matrix.client.GMatrixClient object at 0x7f720b14ec18>>(30000, None)> failed with TypeError
2018-08-31 13:58:17 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:17 [info ] 127.0.0.1 - - [2018-08-31 15:58:17] "GET /api/1/channels HTTP/1.1" 200 1460 0.006768 [raiden.api.rest.pywsgi]
2018-08-31 13:58:18 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:18 [info ] 127.0.0.1 - - [2018-08-31 15:58:18] "GET /api/1/channels HTTP/1.1" 200 1460 0.005772 [raiden.api.rest.pywsgi]
2018-08-31 13:58:22 [debug ] new block [raiden.tasks] number=3946292
2018-08-31 13:58:22 [debug ] STATE CHANGE [raiden.raiden_service] node=fab73817 state_change=<Block 3946292>
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/tasks.py", line 98, in _run
self.loop_until_stop()
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/tasks.py", line 155, in loop_until_stop
self.run_callbacks(current_block)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/tasks.py", line 172, in run_callbacks
result = callback(current_block)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/raiden_service.py", line 434, in _callback_new_block
self.handle_state_change(state_change)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/raiden_service.py", line 374, in handle_state_change
event_list = self.wal.log_and_dispatch(state_change)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/storage/wal.py", line 53, in log_and_dispatch
events = self.state_manager.dispatch(state_change)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/transfer/architecture.py", line 248, in dispatch
json = JSONSerializer.serialize(state)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/storage/serialize.py", line 74, in serialize
return json.dumps(obj, cls=RaidenJSONEncoder)
File "/usr/lib/python3.6/json/__init__.py", line 238, in dumps
**kw).encode(obj)
File "/usr/lib/python3.6/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python3.6/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/storage/serialize.py", line 15, in default
result = obj.to_dict()
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/transfer/mediated_transfer/state.py", line 264, in to_dict
'secret': serialization.serialize_bytes(self.secret),
File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/utils/serialization.py", line 65, in serialize_bytes
return to_hex(data)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/eth_utils/decorators.py", line 73, in wrapper
_assert_one_val(*args, **kwargs)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/eth_utils/decorators.py", line 39, in _assert_one_val
"Instead, values were: %r, %r" % (args, kwargs)
TypeError: Exactly one of the passed values can be specified. Instead, values were: (None,), {}
2018-08-31T13:58:22Z <AlarmTask "Greenlet-2" at 0x7f720c8eba48: _run> failed with TypeError
2018-08-31 13:58:23 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:23 [info ] 127.0.0.1 - - [2018-08-31 15:58:23] "GET /api/1/channels HTTP/1.1" 200 1460 0.005924 [raiden.api.rest.pywsgi]
2018-08-31 13:58:23 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:23 [info ] 127.0.0.1 - - [2018-08-31 15:58:23] "GET /api/1/channels HTTP/1.1" 200 1460 0.003372 [raiden.api.rest.pywsgi]
2018-08-31 13:58:28 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:28 [info ] 127.0.0.1 - - [2018-08-31 15:58:28] "GET /api/1/channels HTTP/1.1" 200 1460 0.012145 [raiden.api.rest.pywsgi]
2018-08-31 13:58:29 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:29 [info ] 127.0.0.1 - - [2018-08-31 15:58:29] "GET /api/1/channels HTTP/1.1" 200 1460 0.006064 [raiden.api.rest.pywsgi]
2018-08-31 13:58:31 [info ] deposit successful [raiden.network.proxies.token_network] amount_to_deposit=60 id=140127767573448 node=fab73817 partner=15d118fc token_network=9fe1f19d total_deposit=60
2018-08-31 13:58:33 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:33 [info ] 127.0.0.1 - - [2018-08-31 15:58:33] "GET /api/1/channels HTTP/1.1" 200 1460 0.005694 [raiden.api.rest.pywsgi]
2018-08-31 13:58:35 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:35 [info ] 127.0.0.1 - - [2018-08-31 15:58:35] "GET /api/1/channels HTTP/1.1" 200 1460 0.007912 [raiden.api.rest.pywsgi]
2018-08-31 13:58:39 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:39 [info ] 127.0.0.1 - - [2018-08-31 15:58:39] "GET /api/1/channels HTTP/1.1" 200 1460 0.194011 [raiden.api.rest.pywsgi]
2018-08-31 13:58:41 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:41 [info ] 127.0.0.1 - - [2018-08-31 15:58:41] "GET /api/1/channels HTTP/1.1" 200 1460 0.005073 [raiden.api.rest.pywsgi]
2018-08-31 13:58:44 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:44 [info ] 127.0.0.1 - - [2018-08-31 15:58:44] "GET /api/1/channels HTTP/1.1" 200 1460 0.006617 [raiden.api.rest.pywsgi]
2018-08-31 13:58:47 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:47 [info ] 127.0.0.1 - - [2018-08-31 15:58:47] "GET /api/1/channels HTTP/1.1" 200 1460 0.007503 [raiden.api.rest.pywsgi]
2018-08-31 13:58:49 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:49 [info ] 127.0.0.1 - - [2018-08-31 15:58:49] "GET /api/1/channels HTTP/1.1" 200 1460 0.003608 [raiden.api.rest.pywsgi]
2018-08-31 13:58:53 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:53 [info ] 127.0.0.1 - - [2018-08-31 15:58:53] "GET /api/1/channels HTTP/1.1" 200 1460 0.005844 [raiden.api.rest.pywsgi]
2018-08-31 13:58:54 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:54 [info ] 127.0.0.1 - - [2018-08-31 15:58:54] "GET /api/1/channels HTTP/1.1" 200 1460 0.007450 [raiden.api.rest.pywsgi]
2018-08-31 13:58:59 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:59 [info ] 127.0.0.1 - - [2018-08-31 15:58:59] "GET /api/1/channels HTTP/1.1" 200 1460 0.005235 [raiden.api.rest.pywsgi]
2018-08-31 13:58:59 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:58:59 [info ] 127.0.0.1 - - [2018-08-31 15:58:59] "GET /api/1/channels HTTP/1.1" 200 1460 0.005121 [raiden.api.rest.pywsgi]
2018-08-31 13:59:04 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:04 [info ] 127.0.0.1 - - [2018-08-31 15:59:04] "GET /api/1/channels HTTP/1.1" 200 1460 0.009836 [raiden.api.rest.pywsgi]
2018-08-31 13:59:05 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:05 [info ] 127.0.0.1 - - [2018-08-31 15:59:05] "GET /api/1/channels HTTP/1.1" 200 1460 0.005978 [raiden.api.rest.pywsgi]
2018-08-31 13:59:09 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:09 [info ] 127.0.0.1 - - [2018-08-31 15:59:09] "GET /api/1/channels HTTP/1.1" 200 1460 0.003209 [raiden.api.rest.pywsgi]
2018-08-31 13:59:11 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:11 [info ] 127.0.0.1 - - [2018-08-31 15:59:11] "GET /api/1/channels HTTP/1.1" 200 1460 0.005210 [raiden.api.rest.pywsgi]
2018-08-31 13:59:14 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:14 [info ] 127.0.0.1 - - [2018-08-31 15:59:14] "GET /api/1/channels HTTP/1.1" 200 1460 0.021318 [raiden.api.rest.pywsgi]
2018-08-31 13:59:17 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:17 [info ] 127.0.0.1 - - [2018-08-31 15:59:17] "GET /api/1/channels HTTP/1.1" 200 1460 0.015475 [raiden.api.rest.pywsgi]
2018-08-31 13:59:19 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:19 [info ] 127.0.0.1 - - [2018-08-31 15:59:19] "GET /api/1/channels HTTP/1.1" 200 1460 0.008703 [raiden.api.rest.pywsgi]
2018-08-31 13:59:23 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:23 [info ] 127.0.0.1 - - [2018-08-31 15:59:23] "GET /api/1/channels HTTP/1.1" 200 1460 0.006196 [raiden.api.rest.pywsgi]
2018-08-31 13:59:24 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:24 [info ] 127.0.0.1 - - [2018-08-31 15:59:24] "GET /api/1/channels HTTP/1.1" 200 1460 0.003945 [raiden.api.rest.pywsgi]
2018-08-31 13:59:29 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:29 [info ] 127.0.0.1 - - [2018-08-31 15:59:29] "GET /api/1/channels HTTP/1.1" 200 1460 0.007746 [raiden.api.rest.pywsgi]
2018-08-31 13:59:29 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:29 [info ] 127.0.0.1 - - [2018-08-31 15:59:29] "GET /api/1/channels HTTP/1.1" 200 1460 0.007797 [raiden.api.rest.pywsgi]
2018-08-31 13:59:34 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:34 [info ] 127.0.0.1 - - [2018-08-31 15:59:34] "GET /api/1/channels HTTP/1.1" 200 1460 0.007937 [raiden.api.rest.pywsgi]
2018-08-31 13:59:35 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:35 [info ] 127.0.0.1 - - [2018-08-31 15:59:35] "GET /api/1/channels HTTP/1.1" 200 1460 0.013731 [raiden.api.rest.pywsgi]
2018-08-31 13:59:40 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:40 [info ] 127.0.0.1 - - [2018-08-31 15:59:40] "GET /api/1/channels HTTP/1.1" 200 1460 0.005404 [raiden.api.rest.pywsgi]
2018-08-31 13:59:41 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:41 [info ] 127.0.0.1 - - [2018-08-31 15:59:41] "GET /api/1/channels HTTP/1.1" 200 1460 0.005360 [raiden.api.rest.pywsgi]
2018-08-31 13:59:45 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:45 [info ] 127.0.0.1 - - [2018-08-31 15:59:45] "GET /api/1/channels HTTP/1.1" 200 1460 0.006351 [raiden.api.rest.pywsgi]
2018-08-31 13:59:47 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:47 [info ] 127.0.0.1 - - [2018-08-31 15:59:47] "GET /api/1/channels HTTP/1.1" 200 1460 0.006203 [raiden.api.rest.pywsgi]
2018-08-31 13:59:50 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:50 [info ] 127.0.0.1 - - [2018-08-31 15:59:50] "GET /api/1/channels HTTP/1.1" 200 1460 0.014710 [raiden.api.rest.pywsgi]
2018-08-31 13:59:53 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:53 [info ] 127.0.0.1 - - [2018-08-31 15:59:53] "GET /api/1/channels HTTP/1.1" 200 1460 0.005663 [raiden.api.rest.pywsgi]
2018-08-31 13:59:55 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:55 [info ] 127.0.0.1 - - [2018-08-31 15:59:55] "GET /api/1/channels HTTP/1.1" 200 1460 0.003290 [raiden.api.rest.pywsgi]
2018-08-31 13:59:59 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 13:59:59 [info ] 127.0.0.1 - - [2018-08-31 15:59:59] "GET /api/1/channels HTTP/1.1" 200 1460 0.004134 [raiden.api.rest.pywsgi]
2018-08-31 14:00:00 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 14:00:00 [info ] 127.0.0.1 - - [2018-08-31 16:00:00] "GET /api/1/channels HTTP/1.1" 200 1460 0.005441 [raiden.api.rest.pywsgi]
2018-08-31 14:00:05 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 14:00:05 [info ] 127.0.0.1 - - [2018-08-31 16:00:05] "GET /api/1/channels HTTP/1.1" 200 1460 0.006937 [raiden.api.rest.pywsgi]
2018-08-31 14:00:05 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 14:00:05 [info ] 127.0.0.1 - - [2018-08-31 16:00:05] "GET /api/1/channels HTTP/1.1" 200 1460 0.006948 [raiden.api.rest.pywsgi]
2018-08-31 14:00:10 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 14:00:10 [info ] 127.0.0.1 - - [2018-08-31 16:00:10] "GET /api/1/channels HTTP/1.1" 200 1460 0.003497 [raiden.api.rest.pywsgi]
2018-08-31 14:00:11 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E token_address=None
2018-08-31 14:00:11 [info ] 127.0.0.1 - - [2018-08-31 16:00:11] "GET /api/1/channels HTTP/1.1" 200 1460 0.003680 [raiden.api.rest.pywsgi]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment