New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LockExpired completely ignored, nonce mismatch afterwards #2938

Closed
andrevmatos opened this Issue Oct 31, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@andrevmatos
Collaborator

andrevmatos commented Oct 31, 2018

@eorituz and me had a recent channel (both on raiden 0.100.0). After a couple of successful transfers, I tried to send a mediated transfer to Fred (which whom he had a channel, but the deposit transaction didn't go through yet, so it was not funded). The transfer of course didn't go through, neither was refunded, as his side of our channel was not funded.
Anyway, this is expected. But after some time, when my node noticed the transfer didn't go through, it started sending LockExpired, but never received the respective Processed message!! This made our nodes be out-of-sync and no other transfer could go through.
No restarts were performed after init. Full pristine accounts.
PS: Times below relative to Oliver's node/logs

Mediated transfer payment_id: 1540821228287
Transfer initiated at: 13:53:39
First LockExpired message received at: 14:20:33
No generated events by it!
Later, direct transfer to him started at 14:29:15, with payment_id=1540823365014, didn't go through with error "reason": "Invalid LockedTransfer message. Nonce did not change sequentially, expected: 8 got: 9.", "_type": "raiden.transfer.events.EventInvalidReceivedLockedTransfer"

@eorituz addr: 0x00808a9250F145e5fD8FEBD1ba804aAA8cAE649b
Me: 0xAAAAAA219100005A77eF9dEf76b24dfB2cD6B35e

Our full session logs:
Oliver's logs
my logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment