Closed mbenke closed 5 years ago
Hey @mbenke! Thanks for trying out Raiden. You tried with the latest release I see, right?
Can you also try with latest master and see if this happens? There is a known timeout error which we have fixed in master: https://github.com/raiden-network/raiden/pull/3617
With the latest master, I was able to add a token, but nonetheless, the node died some time later:
(raiden) ➜ master raiden --keystore-path rinkeby/keystore --eth-rpc-endpoint https://rinkeby.infura.io/v3/497655c1e6e948ebaf88ed86152dc461 --network-id rinkeby --environment-type development
Welcome to Raiden, version 0.100.2rc5.dev449+g688def9!
----------------------------------------------------------------------
| This is an Alpha version of experimental open source software |
| released as a test version under an MIT license and may contain |
| errors and/or bugs. No guarantee or representations whatsoever is |
| made regarding its suitability (or its use) for any purpose or |
| regarding its compliance with any applicable laws and regulations. |
| Use of the software is at your own risk and discretion and by |
| using the software you acknowledge that you have read this |
| disclaimer, understand its contents, assume all risk related |
| thereto and hereby release, waive, discharge and covenant not to |
| sue Brainbot Labs Establishment or any officers, employees or |
| affiliates from and for any direct or indirect liability resulting |
| from the use of the software as permissible by applicable laws and |
| regulations. |
| |
| Privacy Warning: Please be aware, that by using the Raiden Client, |
| among others, your Ethereum address, channels, channel deposits, |
| settlements and the Ethereum address of your channel counterparty |
| will be stored on the Ethereum chain, i.e. on servers of Ethereum |
| node operators and ergo are to a certain extent publicly available.|
| The same might also be stored on systems of parties running Raiden |
| nodes connected to the same token network. Data present in the |
| Ethereum chain is very unlikely to be able to be changed, removed |
| or deleted from the public arena. |
| |
| Also be aware, that data on individual Raiden token transfers will |
| be made available via the Matrix protocol to the recipient, |
| intermediating nodes of a specific transfer as well as to the |
| Matrix server operators. |
----------------------------------------------------------------------
Have you read, understood and hereby accept the above disclaimer and privacy warning? [y/N]: y
2019-03-14 18:49:46.528375 [info ] Starting Raiden [raiden.ui.runners] architecture=x86_64 distribution=source python_implementation=CPython python_version=3.6.8 raiden=0.100.2rc5.dev449+g688def9 system=Linux 64bit_ELF 4.15.0-46-generic
The following accounts were found in your machine:
[ 0] - 0x4729a3CbC72535DafeB83e1137C643EaE497A849
Select one of them by index to continue: 0
Enter the password to unlock 0x4729a3CbC72535DafeB83e1137C643EaE497A849:
There is no pathfinding service defined, basic routing will be used
Raiden is running in development mode
/home/ben/Build/Raiden/master/raiden/raiden/network/rpc/client.py:417: UserWarning: Infura does not provide an API to recover the latest used nonce. This may cause the Raiden node to error on restarts.
The error will manifest while there is a pending transaction from a previous execution in the Ethereum's client pool. When Raiden restarts the same transaction with the same nonce will be retried and *rejected*, because the nonce is already used.
'Infura does not provide an API to '
Checking if the ethereum node is synchronized
You are connected to the 'rinkeby' network and the DB path is: /home/ben/.raiden/node_4729a3cb/netid_4/network_06d8b854/v19_log.db
2019-03-14 18:49:56.838379 [info ] Automatically selecting matrix homeserver based on RTT [raiden.network.transport.matrix.utils] sorted_servers=['https://transport01.raiden.network', 'https://transport03.raiden.network', 'https://transport02.raiden.network']
The Raiden API RPC server is now running at http://127.0.0.1:5001/.
See the Raiden documentation for all available endpoints at
http://raiden-network.readthedocs.io/en/stable/rest_api.html
You're running version 0.100.2rc5.dev449+g688def9. The latest version is 0.100.2
It's time to update! Releases: https://github.com/raiden-network/raiden/releases
2019-03-14 19:01:02.721359 [info ] 127.0.0.1 - - [2019-03-14 20:01:02] "GET /api/v1/tokens HTTP/1.1" 200 275 0.003380 [raiden.api.rest.pywsgi]
2019-03-14 19:03:32.700523 [info ] createERC20TokenNetwork successful [raiden.network.proxies.token_network_registry] node=4729a3cb registry_address=06d8b854 token_address=123438d3 token_network_address=7fab325f
2019-03-14 19:03:37.709838 [info ] 127.0.0.1 - - [2019-03-14 20:03:37] "PUT /api/v1/tokens/0x123438d379BAbD07134d1d4d7dFa0BCbd56ca3F3 HTTP/1.1" 201 212 95.971355 [raiden.api.rest.pywsgi]
You're running version 0.100.2rc5.dev449+g688def9. The latest version is 0.100.2
It's time to update! Releases: https://github.com/raiden-network/raiden/releases
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/ben/Build/Raiden/master/raiden/raiden/tasks.py", line 138, in _run
self.loop_until_stop()
File "/home/ben/Build/Raiden/master/raiden/raiden/tasks.py", line 180, in loop_until_stop
self._maybe_run_callbacks(latest_block)
File "/home/ben/Build/Raiden/master/raiden/raiden/tasks.py", line 237, in _maybe_run_callbacks
result = callback(latest_block)
File "/home/ben/Build/Raiden/master/raiden/raiden/raiden_service.py", line 711, in _callback_new_block
for event in self.blockchain_events.poll_blockchain_events(confirmed_block_number):
File "/home/ben/Build/Raiden/master/raiden/raiden/blockchain/events.py", line 221, in poll_blockchain_events
for log_event in event_listener.filter.get_new_entries(block_number):
File "/home/ben/Build/Raiden/master/raiden/raiden/utils/filters.py", line 153, in get_new_entries
self._do_get_new_entries(from_block=from_block, to_block=to_block),
File "/home/ben/Build/Raiden/master/raiden/raiden/utils/filters.py", line 125, in _do_get_new_entries
result = self.web3.eth.getLogs(filter_params)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/web3/eth.py", line 354, in getLogs
"eth_getLogs", [filter_params],
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/web3/manager.py", line 112, in request_blocking
raise ValueError(response["error"])
ValueError: {'code': -32603, 'message': 'request failed or timed out'}
2019-03-14T23:00:44Z <Greenlet "AlarmTask._run node:4729a3cb" at 0x7fe369799648: <bound method AlarmTask._run of <AlarmTask node:4729a3cb>>> failed with ValueError
2019-03-14 23:00:44.087882 [error ] Runnable subtask died! [raiden.utils.runnable] exc=ValueError({'code': -32603, 'message': 'request failed or timed out'},) running=True subtask=<Greenlet "AlarmTask._run node:4729a3cb" at 0x7fe369799648: <bound method AlarmTask._run of <AlarmTask node:4729a3cb>>> this=<RaidenService node:4729a3cb>
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/ben/Build/Raiden/master/raiden/raiden/raiden_service.py", line 462, in _run
self.stop_event.wait()
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
ValueError: {'code': -32603, 'message': 'request failed or timed out'}
2019-03-14T23:00:44Z <Greenlet "RaidenService._run node:4729a3cb" at 0x7fe369799748: <bound method RaidenService._run of <RaidenService node:4729a3cb>>> failed with ValueError
FATAL: An unexpected exception occured. A traceback has been written to /tmp/raiden-exception-2019-03-14T23-00_g9mvat1.txt
{'code': -32603, 'message': 'request failed or timed out'}
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/ben/Build/Raiden/master/raiden/raiden/ui/runners.py", line 220, in stop_task
task.get() # re-raise
File "src/gevent/greenlet.py", line 633, in gevent._greenlet.Greenlet.get
File "src/gevent/greenlet.py", line 312, in gevent._greenlet.Greenlet._raise_exception
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/_compat.py", line 47, in reraise
raise value.with_traceback(tb)
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/ben/Build/Raiden/master/raiden/raiden/raiden_service.py", line 462, in _run
self.stop_event.wait()
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
ValueError: {'code': -32603, 'message': 'request failed or timed out'}
2019-03-14T23:00:44Z <Greenlet "Greenlet-4" at 0x7fe369799948: stop_task(<RaidenService node:4729a3cb>)> failed with ValueError
Traceback (most recent call last):
File "/home/ben/.virtualenvs/raiden/bin/raiden", line 11, in <module>
load_entry_point('raiden', 'console_scripts', 'raiden')()
File "/home/ben/Build/Raiden/master/raiden/raiden/__main__.py", line 11, in main
run(auto_envvar_prefix='RAIDEN') # pylint: disable=no-value-for-parameter
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 1043, in invoke
return Command.invoke(self, ctx)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/ben/Build/Raiden/master/raiden/raiden/ui/cli.py", line 469, in run
app = runner.run()
File "/home/ben/Build/Raiden/master/raiden/raiden/ui/runners.py", line 261, in run
return self._start_services()
File "/home/ben/Build/Raiden/master/raiden/raiden/ui/runners.py", line 225, in _start_services
raise_error=True,
File "src/gevent/greenlet.py", line 849, in gevent._greenlet.joinall
File "src/gevent/greenlet.py", line 865, in gevent._greenlet.joinall
File "src/gevent/greenlet.py", line 312, in gevent._greenlet.Greenlet._raise_exception
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/_compat.py", line 47, in reraise
raise value.with_traceback(tb)
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/ben/Build/Raiden/master/raiden/raiden/ui/runners.py", line 220, in stop_task
task.get() # re-raise
File "src/gevent/greenlet.py", line 633, in gevent._greenlet.Greenlet.get
File "src/gevent/greenlet.py", line 312, in gevent._greenlet.Greenlet._raise_exception
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/_compat.py", line 47, in reraise
raise value.with_traceback(tb)
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/ben/Build/Raiden/master/raiden/raiden/raiden_service.py", line 462, in _run
self.stop_event.wait()
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
ValueError: {'code': -32603, 'message': 'request failed or timed out'}
Hello @mbenke thanks for the report. I could not reproduce this is other testnets, so I will also try rinkeby to see if it's specific to there. Will write here when either me or some other colleague have more details.
@LefterisJP when using local geth instead of Infura, Raiden also crashes on me, albeit differently:
raiden --keystore-path rinkeby/keystore --network-id rinkeby --environment-type development
Welcome to Raiden, version 0.100.2rc5.dev449+g688def9!
----------------------------------------------------------------------
| This is an Alpha version of experimental open source software |
| released as a test version under an MIT license and may contain |
| errors and/or bugs. No guarantee or representations whatsoever is |
| made regarding its suitability (or its use) for any purpose or |
| regarding its compliance with any applicable laws and regulations. |
| Use of the software is at your own risk and discretion and by |
| using the software you acknowledge that you have read this |
| disclaimer, understand its contents, assume all risk related |
| thereto and hereby release, waive, discharge and covenant not to |
| sue Brainbot Labs Establishment or any officers, employees or |
| affiliates from and for any direct or indirect liability resulting |
| from the use of the software as permissible by applicable laws and |
| regulations. |
| |
| Privacy Warning: Please be aware, that by using the Raiden Client, |
| among others, your Ethereum address, channels, channel deposits, |
| settlements and the Ethereum address of your channel counterparty |
| will be stored on the Ethereum chain, i.e. on servers of Ethereum |
| node operators and ergo are to a certain extent publicly available.|
| The same might also be stored on systems of parties running Raiden |
| nodes connected to the same token network. Data present in the |
| Ethereum chain is very unlikely to be able to be changed, removed |
| or deleted from the public arena. |
| |
| Also be aware, that data on individual Raiden token transfers will |
| be made available via the Matrix protocol to the recipient, |
| intermediating nodes of a specific transfer as well as to the |
| Matrix server operators. |
----------------------------------------------------------------------
Have you read, understood and hereby accept the above disclaimer and privacy warning? [y/N]: y
2019-03-15 09:25:32.028038 [info ] Starting Raiden [raiden.ui.runners] architecture=x86_64 distribution=source python_implementation=CPython python_version=3.6.8 raiden=0.100.2rc5.dev449+g688def9 system=Linux 64bit_ELF 4.15.0-46-generic
The following accounts were found in your machine:
[ 0] - 0x4729a3CbC72535DafeB83e1137C643EaE497A849
Select one of them by index to continue: 0
Enter the password to unlock 0x4729a3CbC72535DafeB83e1137C643EaE497A849:
There is no pathfinding service defined, basic routing will be used
Raiden is running in development mode
Checking if the ethereum node is synchronized
You are connected to the 'rinkeby' network and the DB path is: /home/ben/.raiden/node_4729a3cb/netid_4/network_06d8b854/v19_log.db
2019-03-15 09:25:41.609556 [info ] Automatically selecting matrix homeserver based on RTT [raiden.network.transport.matrix.utils] sorted_servers=['https://transport01.raiden.network', 'https://transport03.raiden.network', 'https://transport02.raiden.network']
The Raiden API RPC server is now running at http://127.0.0.1:5001/.
See the Raiden documentation for all available endpoints at
http://raiden-network.readthedocs.io/en/stable/rest_api.html
You're running version 0.100.2rc5.dev449+g688def9. The latest version is 0.100.2
It's time to update! Releases: https://github.com/raiden-network/raiden/releases
2019-03-15 09:25:53.384099 [info ] 127.0.0.1 - - [2019-03-15 10:25:53] "GET /api/v1/tokens HTTP/1.1" 200 321 0.003928 [raiden.api.rest.pywsgi]
2019-03-15 10:44:58.104931 [critical ] Call to createERC20TokenNetwork will fail. [raiden.network.proxies.token_network_registry] node=4729a3cb registry_address=06d8b854 token_address=9bc14c55
2019-03-15 10:45:07.120680 [critical ] Unhandled exception when processing endpoint request [raiden.api.rest] node=4729a3cb
Traceback (most recent call last):
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/flask_restful/__init__.py", line 480, in wrapper
resp = resource(*args, **kwargs)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/flask/views.py", line 88, in view
return self.dispatch_request(*args, **kwargs)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/flask_restful/__init__.py", line 595, in dispatch_request
resp = meth(*args, **kwargs)
File "/home/ben/Build/Raiden/master/raiden/raiden/api/v1/resources.py", line 178, in put
token_address,
File "/home/ben/Build/Raiden/master/raiden/raiden/api/rest.py", line 588, in register_token
token_network_deposit_limit=UINT256_MAX,
File "/home/ben/Build/Raiden/master/raiden/raiden/api/python.py", line 230, in token_network_register
given_block_identifier=views.state_from_raiden(self.raiden).block_hash,
File "/home/ben/Build/Raiden/master/raiden/raiden/network/proxies/token_network_registry.py", line 110, in add_token_with_limits
given_block_identifier=given_block_identifier,
File "/home/ben/Build/Raiden/master/raiden/raiden/network/proxies/token_network_registry.py", line 194, in _add_token
raise error_type(error_msg)
raiden.exceptions.RaidenUnrecoverableError: Call to createERC20TokenNetwork will fail.
2019-03-15 10:45:08.126306 [info ] 127.0.0.1 - - [2019-03-15 11:45:08] "PUT /api/v1/tokens/0x9Bc14c55139501643B62d49c9E8dEF17029Ad418 HTTP/1.1" 500 161 10.257039 [raiden.api.rest.pywsgi]
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/ben/Build/Raiden/master/raiden/raiden/api/rest.py", line 465, in _run
self.wsgiserver.serve_forever()
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/baseserver.py", line 364, in serve_forever
self._stop_event.wait()
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
raiden.exceptions.RaidenUnrecoverableError: Call to createERC20TokenNetwork will fail.
2019-03-15T10:45:08Z <Greenlet "APIServer|Greenlet-3" at 0x7f9cea39aa48: <bound method APIServer._run of <raiden.api.rest.APIServer object at 0x7f9ce87002b0>>> failed with RaidenUnrecoverableError
FATAL: Call to createERC20TokenNetwork will fail.
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/ben/Build/Raiden/master/raiden/raiden/ui/runners.py", line 220, in stop_task
task.get() # re-raise
File "src/gevent/greenlet.py", line 633, in gevent._greenlet.Greenlet.get
File "src/gevent/greenlet.py", line 312, in gevent._greenlet.Greenlet._raise_exception
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/_compat.py", line 47, in reraise
raise value.with_traceback(tb)
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/ben/Build/Raiden/master/raiden/raiden/api/rest.py", line 465, in _run
self.wsgiserver.serve_forever()
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/baseserver.py", line 364, in serve_forever
self._stop_event.wait()
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
raiden.exceptions.RaidenUnrecoverableError: Call to createERC20TokenNetwork will fail.
2019-03-15T10:45:08Z <Greenlet "Greenlet-4" at 0x7f9ce85c2148: stop_task(<raiden.api.rest.APIServer object at 0x7f9ce87002b)> failed with RaidenUnrecoverableError
Traceback (most recent call last):
File "/home/ben/.virtualenvs/raiden/bin/raiden", line 11, in <module>
load_entry_point('raiden', 'console_scripts', 'raiden')()
File "/home/ben/Build/Raiden/master/raiden/raiden/__main__.py", line 11, in main
run(auto_envvar_prefix='RAIDEN') # pylint: disable=no-value-for-parameter
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 1043, in invoke
return Command.invoke(self, ctx)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/ben/Build/Raiden/master/raiden/raiden/ui/cli.py", line 469, in run
app = runner.run()
File "/home/ben/Build/Raiden/master/raiden/raiden/ui/runners.py", line 261, in run
return self._start_services()
File "/home/ben/Build/Raiden/master/raiden/raiden/ui/runners.py", line 225, in _start_services
raise_error=True,
File "src/gevent/greenlet.py", line 849, in gevent._greenlet.joinall
File "src/gevent/greenlet.py", line 865, in gevent._greenlet.joinall
File "src/gevent/greenlet.py", line 312, in gevent._greenlet.Greenlet._raise_exception
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/_compat.py", line 47, in reraise
raise value.with_traceback(tb)
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/ben/Build/Raiden/master/raiden/raiden/ui/runners.py", line 220, in stop_task
task.get() # re-raise
File "src/gevent/greenlet.py", line 633, in gevent._greenlet.Greenlet.get
File "src/gevent/greenlet.py", line 312, in gevent._greenlet.Greenlet._raise_exception
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/_compat.py", line 47, in reraise
raise value.with_traceback(tb)
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "/home/ben/Build/Raiden/master/raiden/raiden/api/rest.py", line 465, in _run
self.wsgiserver.serve_forever()
File "/home/ben/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/baseserver.py", line 364, in serve_forever
self._stop_event.wait()
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
raiden.exceptions.RaidenUnrecoverableError: Call to createERC20TokenNetwork will fail.
Hello @mbenke,
I was able to reproduce the issue on my local Raiden node with Rinkeby.
The problem you're seeing is because you're trying to register a non-ERC-20 token into the TokenRegistry contract.
The reason why this fails was because when registering a token, the TokenRegistry would call the method totalSupply
on the token you're providing but this was failing due to the method not being there.
I think if you update your token's interface to match that of the ERC-20 one... the token registration should succeed.
And to provide better errors in the future we now got this issue: https://github.com/raiden-network/raiden/issues/3697
Problem Definition
The Raiden node spit errors after adding token, then died some time later seemingly without external causes
Expected behaviour: node does not die.
Details
Invocation:
Interaction:
Console output:
Debug log:
raiden-debug_2019-03-13T16:50:30.941331.log
Raiden exception file:
raiden-exception-2019-03-13T20-49z25u0gys.txt
Raiden database: raidendb.zip
with the database located under
~/.raiden/node_xxxxxx/netid_x/network_xxxx/
. If you are on the mainnet and would like to keep your data private you can encrypt them and send it to us via email. Read here to see how the process works.System Description