You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checkout to the #2888
version branch
Bump versions: 1.0.0 -> 1.1.0
Node A is browser node 0x07d036DbC602F0191a4bC8e217fe48d34cD4a230
Node B is a CLI node. 0x5d3c715dfec88ee0C1a14C2B6ed3b0878612581c
1.yarn install
2. yarn workspace raiden-ts build
3. cd raiden-dapp
4. yarn build --mode production
5. npx serve -l 8080 ./dist
6. cd ../raiden-cli
7. yarn build
Earlier receiving was disabled to Node A because of insufficient UDC balance. After depositing to the UDC when a direct transfer was attempted from Node B to A it got a The requested target doesn't receive transfers.
Ok direct transfer from Node B to Node A went through after quite a long time.
This brings me to the conclusion that this is a problem purely with the PFS not updating the capabilites (and not with the LC) or
the sender raiden node does not quickly update the capabilites.
So, from what I can see, the partner didn't see the change in target's capability (becoming able to receive transfers, Receive: 1, after UDC deposit) because they had a WebRTC channel established, and we keep the presence cache indefinitely if the RTC channel stays open. We could send the new capabilities over the RTC channel with a new message, to update partner on this, but an easier and more compatible quickfix is to disconnect the RTC channels, to trigger partners to re-fetch our capabilities from PFS.
This happen so seldom that the reconnections wouldn't have a meaningful impact on transport, and would ensure we're up to date on this, although races are inherent from distributed systems, we should do our best to be synced eventually and asap.
Thanks for filing a bug report :-)
Steps to Reproduce
Checkout to the #2888
version branch
Bump versions: 1.0.0 -> 1.1.0
Node A is browser node
0x07d036DbC602F0191a4bC8e217fe48d34cD4a230
Node B is a CLI node.
0x5d3c715dfec88ee0C1a14C2B6ed3b0878612581c
1.
yarn install
2.
yarn workspace raiden-ts build
3.
cd raiden-dapp
4.
yarn build --mode production
5.
npx serve -l 8080 ./dist
6.
cd ../raiden-cli
7.
yarn build
Starting raiden CLI command
Earlier receiving was disabled to Node A because of insufficient UDC balance. After depositing to the UDC when a direct transfer was attempted from Node B to A it got a
The requested target doesn't receive transfers.
Expected Result
Actual Result
Logs of Browser Node A
raiden_0x07d036DbC602F0191a4bC8e217fe48d34cD4a230_2021-08-09T10_17_07.767Z.log
Logs of CLI node B
node-5d3c71-mainnet-9thAug2021.log
Additional Infos (Optional)
The text was updated successfully, but these errors were encountered: