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
No transport of payments, after expiration, Raiden Client cannot restart #2437
Comments
Awesome :-) But do you think it can fix both of the above issues? |
So the no restart message is due to the crash right? So that should be fixed. For the problem of no exchange of messages we would have to see the logs of both the nodes. The only reason this can happen if somehow they can't see each other. |
I tried to use the night-builds from 11/09 and 12/09
However, using both I immediately get the error when starting the client:
Is that a bug inside the nightly builds related to web3? |
@BCsRock yes, there was a dependency conflict in web3 4.6.0 they have now released 4.7.1 which fixes this issue. Tomorrow’s build should be fine. |
I deleted all Is there some strategy to test the connectivity with the Transport Server? Client 1 Output when connecting to Matrix Server
Client 2 Output when connecting to Matrix Server
|
@BCsRock This seems like it's an actual issue. Can you edit it into the initial issue description? We will investigate and fix it. |
The communication issue was caused by a concurrency bug: the rooms the node should listen on are populated on initial matrix sync, but that didn't complete at the time we listed these rooms, so we didn't listen on rooms that we joined before. #2451 fix this by waiting for the initial sync. |
@LefterisJP and @andrevmatos I figured something new out! I re-used accounts basically which I used from version 0.5.0 up to 0.7.0. and then encountered the above transport problem. Now I have just made 2 fresh ethereum addresses with fresh ETH and KIRDN Token (my ERC20) and et voila it works again. Observation so far: Edit: Changed "Conclusion" into "Observation" |
@BCsRock no, it did work on new addresses because new rooms were created (with new addresses) and |
Ok, then what needs to be done in order to get the old addresses useable again? |
Use the latest release which will include the fix introduced by @andrevmatos in #2451 or attempt to use latest master. |
Also tonight’s nightly build will include both fixes. |
Guys, thank you! Awesome work. Eager to try it out! |
Tested with the nightly build raiden-nightly-2018.09.13-linux.tar.gz Raiden Client crashes immediately, with web3 error :-/
|
@BCsRock this seems to be another error. Latest master works fine from source but not the released binary. I can reproduce your problem only with the nightly binary. Will make a different issue |
And here is the issue |
Problem Definition
Using version
0.8.0
, I registered a new token, namely0x857f67519691Ef449156aadbcCaC71284D6194A7
which was successful.Link to Etherscan.
I created a channel between two clients.
Open Channel
Deposit of Client 1 into the channel successful
Approve, Deposit
Deposit of Client 2 into the channel successful
Approve, Deposit.
So the interaction with Blockchain was fine and working.
Then I tried to perform off-chain payments by using curl:
Using Client 1 I called
curl -i -X POST http://localhost:5001/api/1/payments/0x857f67519691Ef449156aadbcCaC71284D6194A7/0x007Adc0051DD33Bb6640bdF855F6Fe30C2b8634a -H 'Content-Type: application/json' --data-raw '{"amount": 11}'
and then, simply nothing happened. On the Raiden Client 1 Output, the output was:
while the output of Raiden Client 2 was not showing any update.
I tried to re-send 11 tokens and than waited until both payment got expired (LockExpired).
Raiden Client 1 output was
while Raiden Client 2 did not show any update.
After that I decided to restart Client 2, which was ok, but did not change anything.
Then I restarted Client 1, which tries to re-send the expired payments and then crashes with error message
The last line indicates it could have to do with trying to send LockExpired transfers. (A bug maybe?)
So finally I have two problems:
System Description
The text was updated successfully, but these errors were encountered: