Payment could not work
Prob: payment Dear all: I meet a problem. My partner and I have already created the channel, but it seems that we could do the deposit/open/close part. When I type "payment command", error will rise. Like this {"errors": "Payment couldn't be completed (insufficient funds, no route to target or target offline)."} I have already checked that my partner has already connected to the token network, and the balance is enough as well.### System Description
Here add a detailed description of your system, e.g. output of the following script:
$uname -a
Linux michael-VirtualBox 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$geth version
Geth
Version: 1.8.14-stable
Git Commit: 316fc7ecfc10d06603f1358c1f4c1020ec36dd2a
Architecture: amd64
Protocol Versions: [63 62]
Network Id: 1
Go Version: go1.10.1
Operating System: linux
GOPATH=
GOROOT=/usr/lib/go-1.10
$raiden version
"raiden": "0.6.0",
"python_implementation": "CPython",
"python_version": "3.6.6",
"system": "Linux 64bit_ELF 4.15.0-33-generic x86_64",
"distribution": "bundled"
Different raiden version, but similar issue:
$ uname -a Linux RaidenNEW 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ geth version Geth Version: 1.8.14-stable Git Commit: 316fc7ecfc10d06603f1358c1f4c1020ec36dd2a Architecture: amd64 Protocol Versions: [63 62] Network Id: 1 Go Version: go1.10.1 Operating System: linux GOPATH= GOROOT=/usr/lib/go-1.10
$raiden version "raiden": "0.7.0", "python_implementation": "CPython", "python_version": "3.6.6", "system": "Linux 64bit_ELF 4.15.0-20-generic x86_64", "distribution": "bundled"
@MichaelKuo0905 from the logs the relevants lines are:
2018-09-07 03:07:16 [debug ] Initiating payment [raiden.api.rest] amount=42 payment_identifier=None registry_address=0x445D79052522eC94078Dfccf96d9302775cA5b4E target_address=0x0e39a084420A7394A48828Be263e77cC4c5B7690 token_address=0xa72fE7fE1f1323586a80c6b>
2018-09-07 03:07:16 [debug ] initiating transfer [raiden.api.python] amount=42 identifier=17964851939515968619 initiator=b015a21c target=0e39a084 token=a72fe7fe
2018-09-07 03:07:16 [info ] partner for channel state isn't reachable, ignoring [raiden.routing] from_address=b015a21c partner_address=0e39a084 status=unreachable
2018-09-07 03:07:16 [info ] partner for channel state isn't reachable, ignoring [raiden.routing] from_address=b015a21c partner_address=492ee026 status=unknown
2018-09-07 03:07:16 [debug ] STATE CHANGE [raiden.raiden_service] node=b015a21c state_change=<ActionInitInitiator transfer:<TransferDescriptionWithSecretState token_network:e908ab6a amount:42 secrethash:875eb183>>
2018-09-07 03:07:16 [debug ] RAIDEN EVENT [raiden.raiden_service] node=b015a21c raiden_event=<EventPaymentSentFailed payment_network_identifier:445d7905 token_network_identifier:e908ab6a id:17964851939515968619 target:b'\x0e9\xa0\x84B\ns\x94\xa4\x88(\>
2018-09-07 03:07:16 [info ] 127.0.0.1 - - [2018-09-07 11:07:16] "POST /api/1/payments/0xa72fE7fE1f1323586a80c6b631202bb15B0419ab/0x0e39a084420A7394A48828Be263e77cC4c5B7690 HTTP/1.1" 409 246 0.041017 [raiden.api.rest.pywsgi]
It seems that raiden thinks your partner is not reachable. Are you sure he was online?
@cmenzani please provide the raiden-debug.log so that we can try to debug the situation.
We have build scratch scenario with new ethereum account, delete .raiden , etc and all the cycle has works :-)
@cmenzani So you no longer have an issue?
Now, all ok. Finally. Thanks