Skip to content

Traceback when PFS returns non-JSON data #4174

@taleldayekh

Description

@taleldayekh

Should perhaps have error handling?

/var/folders/p2/8nvdkp212ys2ct82chgfqzbh0000gn/T/_MEIENBsEE/raiden/network/rpc/client.py:479: 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.
Checking if the ethereum node is synchronized
Traceback (most recent call last):
  File "build/raiden/raiden-script.py", line 2, in <module>
  File "raiden/__main__.py", line 13, in main
  File "click/core.py", line 764, in __call__
  File "click/core.py", line 717, in main
  File "click/core.py", line 1114, in invoke
  File "click/core.py", line 956, in invoke
  File "click/core.py", line 555, in invoke
  File "click/decorators.py", line 17, in new_func
  File "raiden/ui/cli.py", line 512, in run
  File "raiden/ui/runners.py", line 263, in run
  File "raiden/ui/runners.py", line 95, in _start_services
  File "raiden/ui/app.py", line 224, in run_app
  File "raiden/ui/startup.py", line 226, in setup_proxies_or_exit
  File "raiden/network/pathfinding.py", line 156, in configure_pfs_or_exit
  File "raiden/network/pathfinding.py", line 75, in get_pfs_info
  File "requests/models.py", line 897, in json
  File "simplejson/__init__.py", line 518, in loads
  File "simplejson/decoder.py", line 370, in decode
  File "simplejson/decoder.py", line 400, in raw_decode
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[10068] Failed to execute script raiden-script```

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions