Closed palango closed 4 years ago
Another log file:
Used addresses:
- "node": 0, "address": "0x802EDd2Ad3E8c595E51B180EbFB8fA5d9da9057a"
- "node": 1, "address": "0xe31Eb213675362687e56ca367D2Ab6EaE1032313"
- "node": 2, "address": "0x91DFbAC74F3e90ca62CAa3541941350f9707838B"
- "node": 3, "address": "0x0c6Cef33c2E8E1A512C6291dCDD2824130be7EF6"
- "node": 4, "address": "0xD361315597d84181e10145dEBaC159C814237B84"
@Dominik1999 THis is the second set of addresses you send me. Can you attach the node logs here?
sure, thanks for creating this issue @palango Sorry for the big files. Unfortunately, I left the nodes running for a while
node_24_000.zip node_24_001.zip node_24_002.zip node_24_003.zip node_24_004.zip
Here's a more readable version of the first warning:
{
"amount": 1000000000000000, # 1e15
"view_out": "<ChannelView cid=2501 from=0x0163db088e22f1E7C72d67d38fc73De5c935851F to=0x1c801c278562049d56D64B784E883E843A87fC40 capacity=0>",
"view_in": "<ChannelView cid=2498 from=0x772340feEB3ED7B93F15bd5F874b2604667C508a to=0x0163db088e22f1E7C72d67d38fc73De5c935851F capacity=0>",
"amount_without_fees": 1000000000000000, # 1e15
"balance_in": 1e+18,
"balance_out": 0,
"schedule_in": "FeeSchedule(cap_fees=True, flat=0, proportional=0, imbalance_penalty=None, timestamp=datetime.datetime(2019, 11, 19, 10, 8, 57, 947405))",
"schedule_out": "FeeSchedule(cap_fees=True, flat=0, proportional=0, imbalance_penalty=None, timestamp=datetime.datetime(2019, 11, 19, 10, 11, 55, 858631))",
"receivable_amount": 0,
"event": "Invalid fee calculation",
"level": "warning",
"logger": "pathfinding_service.model.token_network",
"timestamp": "2019-11-19 10:18:33.936401"
}
The "receivable_amount": 0
must make this fail, since there is no way to make this payment when the mediator can't receive any tokens on the channel. Maybe that's an expected part of the scenario. I'll have to take a look at where the scenario fails. Does anyone have a scenario log with a failure?
From @Dominik1999's log, the bf1 scenario fails in the "Make 10 payments from 0 to 3 after restart" step at 2019-11-19 11:35:32.879362. Due to the logging experiments, we don't have any logs for that point in time. The same step leads to a failure in https://github.com/raiden-network/raiden-services/issues/636#issuecomment-555513293, which is probably not a coincidence.
The bf1 scenario succeeds for me, so it's not trivially reproducible.
After two successes, I managed to get a failing bf1 in the step "Make 10 transfers from 3 to 0" at 2019-11-20 11:34:45.540308 with Payment couldn't be completed because: there is no route available
.
Unfortunately, I have problems getting the PFS logs because it has been restarted since then.
https://github.com/raiden-network/raiden-services/issues/639 might be a duplicate and has PFS logs attached.
Problem Definition
Might be related to #636
While running the BF1 scenario transfers fail for some people. In the PFS one can see logs messages about failed fee calculations:
Used nodes:
Actual Outcome
Fee calculation fails.
Expected Outcome
Fee calculation shouldn't fail, especially as fees are set to 0 in that scenario.