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
Attempting to create offer encounters error "There are no arbitrators available" #3679
Comments
I get this behavior a lot recently. Except I can have the Arbitrator running and Alice and/or Bob complain on having no arbitrator when wanting to create or take an offer. When I say I get this behavior a lot recently, I mean that this is not always the case. Sometimes everything works, sometimes it works after getting a cup of tea, sometimes it simply does not work and I loose hours on trying to find a pattern on why that is. It is a real pain when trying to review PRs and smoke testing them... I have not yet discovered why that is neither did I spot any pattern how this can be reproduced. |
That is not needed anymore with 1.2. Only mediator and refund agent are required. |
I just tested and saw the same issue. Both refundAgent (new arbitrator) and mediators are not available at startup. I tested then with v1.2.3 and there it is ok, so the bug was introduced by one of the recent PRs. I assume it is related to one of the P2P network changes. @julianknutsen Can it be that is caused by one of the changes in P2PDataStorage? |
I reverted P2P module back to v.1.2.3 and then the issue is gone. So it is related to a change in P2PDataStorage. |
This bug was found last week during my integration tests of the GetDataRequest code. The PR was sent out on Friday. #3665 I've rebased this ahead of a few other patches that are still in review that will hopefully expedite the review cycle. The root cause was that we were not reconstructing in-memory The reason it was intermittent is that if the Arbitrator node is running, it will constantly publish the data with new sequence numbers so nodes will get them. But, if it isn't running the bug didn't allow nodes to get the latest data from the seed node. |
Description
If you start a client after the arbitrator has shutdown their client, when you attempt to make an offer, you will encounter an error - "There are no arbitrators available".
Version
master (commit hash d12a404)
Steps to reproduce
Spin up a regtest environment:
Expected behaviour
Both Alice and Bob should be able to proceed with creating an offer.
Actual behaviour
Only Alice is able to proceed to the create offer view. Bob is presented with an error - "There are no arbitrators available".
Screenshots
Device or machine
Windows 10
Additional info
From the log, it indicates there are no available disputeAgents but the connection details from the seed shows different.
The text was updated successfully, but these errors were encountered: