Closed agatsoh closed 5 years ago
nice thank you for the structured issue @agatsoh
I think the reason is similar to https://github.com/raiden-network/raiden/issues/5261
Taking the bf1 scenario fail for example:
{"source": "0x06Aff5478bcE325f90b574491548cb47E617708A", "target": "0x8C5Ed9DDdffC327E439C99787577850548FF50EC", "amount": 1000000000000000, "target_is_direct_partner": false, "can_use_pfs": true, "event": "Getting route for payment", "logger": "raiden.routing", "level": >
{"url": "https://pfs-goerli-with-fee.services-dev.raiden.network", "token_network_address": "0xDa1fBc048f503635950058953f5c60FC1F564ee6", "payload": {"from": "0x06Aff5478bcE325f90b574491548cb47E617708A", "to": "0x8C5Ed9DDdffC327E439C99787577850548FF50EC", "value": 1000000>
{"response": {"our_address": "0x06Aff5478bcE325f90b574491548cb47E617708A"}, "status_code": 200, "event": "Request successful", "logger": "raiden.api.rest", "level": "debug", "timestamp": "2019-11-12 03:17:24.889455"}
{"error": "ServiceRequestIOURejected('No route between nodes found. (2201)')", "event": "Pathfinding Service rejected IOU", "logger": "raiden.network.pathfinding", "level": "debug", "timestamp": "2019-11-12 03:17:24.982835"}
{"event": "Pathfinding Service can not find a route: No route between nodes found. (2201).", "logger": "raiden.network.pathfinding", "level": "info", "timestamp": "2019-11-12 03:17:24.984047"}
Node3 "0x06Aff5478bcE325f90b574491548cb47E617708A"
is asking for a path to Node0 "0x8C5Ed9DDdffC327E439C99787577850548FF50EC"
and the PFS says no route could be found.
Looking at the PFS logs of the same time
Nov 12 03:15:57 services-dev 088460a59f68[5820]: 2019-11-12 03:15:57.130713 [debug ] Sync called [raiden.network.transport.matrix.client] current_user=@0x062c12c01d0f17fc9eaa33940d994594d91a0182:transport04.raiden.network
Nov 12 03:15:57 services-dev 088460a59f68[5820]: 2019-11-12 03:15:57.134709 [debug ] Changing user presence state [raiden.network.transport.matrix.utils] current_user=@0x062c12c01d0f17fc9eaa33940d994594d91a0182:transport04.raiden.network node=0x062C12c01D0f17fC9eAa33940D994594d91a0182 prev_state=<UserPresence.ONLINE: 'online'> state=<UserPresence.OFFLINE: 'offline'> user_id=@0x8c5ed9dddffc327e439c99787577850548ff50ec:transport01.raiden.network
Nov 12 03:15:57 services-dev 088460a59f68[5820]: 2019-11-12 03:15:57.147690 [debug ] Changing address reachability state [raiden.network.transport.matrix.utils] address=0x8C5Ed9DDdffC327E439C99787577850548FF50EC current_user=@0x062c12c01d0f17fc9eaa33940d994594d91a0182:t
ransport04.raiden.network node=0x062C12c01D0f17fC9eAa33940D994594d91a0182 prev_state=<AddressReachability.REACHABLE: 1> state=<AddressReachability.UNREACHABLE: 2> Nov 12 03:16:02 services-dev 088460a59f68[5820]: 172.19.0.15 - - [2019-11-12 03:16:02] "GET /api/v1/info HTTP/1.1" 200 616 0.001859
4 seconds before the request is made the PFS syncs with matrix and changes the presence state of "0x8C5Ed9DDdffC327E439C99787577850548FF50EC"
to unavailable.
UNAVAILABLE
is not OFFLINE
and is still REACHABLE
Okay my wording was bad since I am not familiar with the matrix lingo. The logs I quoted above actually say UNREACHABLE
prev_state=<AddressReachability.REACHABLE: 1> state=<AddressReachability.UNREACHABLE: 2>
This is probably a duplicate of #5261
I will close this as duplicate since both @rakanalh and I agree on this.
Problem Definition
A common message across most of the scenarios failures for today in both the scenarios and the node logs is
{\"errors\": \"Payment couldn't be completed because: there is no route available\"}"}
Usually occurs during a transfer task we will take the example of mfee1 scenario Scenario in a nutshell
node 0 =>
0xBd5BD6FA71d704C13092fCC41E9CbBf7d28FbfaA
node 1 =>0x7bdE0de73F740b095815C1d0B0a3b2bd3a32D040
node 2 =>0xe4d92E1cBB975d42618d5BeF4E8e961704716707
node 3 =>0xa6b11b3c70E153a9aA6FE07EE5aA0605ED077e02
The exception
What does the exception say about the failure
Fails during <TransferTask : {'from': 0, 'to': 3, 'amount': 10000, 'expected_http_status': 200}> {from: 0, to: 3, amount: 10_000, expected_http_status: 200} line 57
Payment couldn't be completed because: there is no route available
while fetching
http://127.0.0.1:49607/api/v1/payments/0x62083c80353Df771426D209eF578619EE68D5C7A/0xa6b11b3c70E153a9aA6FE07EE5aA0605ED077e02
0x62083c80353Df771426D209eF578619EE68D5C7A
: token address0xa6b11b3c70E153a9aA6FE07EE5aA0605ED077e02
: node 3Observation from the node logs at many places we would encounter this
AddressReachability.UNREACHABLE: 2
May be a factor in the reachability of the nodes as well through the matrix
Logs of some scenarios for perusal:
Scenario_player_Logs-mfee1_flat_fee-1-latest-2019-11-12.tar.gz
Scenario_player_Logs-mfee2_proportional_fees-1-latest-2019-11-12.tar.gz
Scenario_player_Logs-bf3_multi_directional_payment-1-latest-2019-11-12.tar.gz
Scenario_player_Logs-bf1_basic_functionality-1-latest-2019-11-12.tar.gz
Scenario_player_Logs-pfs1_get_a_simple_path-1-latest-2019-11-12.tar.gz
Scenario_player_Logs-pfs5_too_low_capacity-1-latest-2019-11-12.tar.gz