Skip to content
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

[v0.7.6] Ticket successfully purchased - client buyer shows 'context deadline exceeded' error #64

Open
David00 opened this issue Jun 10, 2019 · 1 comment

Comments

@David00
Copy link

David00 commented Jun 10, 2019

Hey Matheus, I've heard of this scenario happening a few times in the past so I finally wanted to open a bug on it. I suspect it's something very minor. What happens is a ticket purchase will go through successfully, and certain participants will see the context deadline exceeded error.

Not all participants see the context deadline exceeded error - only some do. No errors are reported on the server matcher/side. I've attached the session log from the participant and from the server for a particular session where it happened.

dcrstmd_session.log
splitticketbuyer-2019-06-10-160724.log

@matheusd
Copy link
Owner

Normal occurrence. I'd need to see the dcrd/dcrwallet logs to verify, but basically what happened is that the user got the split transaction from the network but not the ticket, so the buyer process timed out waiting for it.

In other words: The server was able to publish the split transaction and then the ticket but the user only saw the split coming from the network and not the ticket. This is ok, since there's no guarantee that users see unmined transactions. Though thinking about it now, it might be a good idea to force users to also broadcast the transactions from their nodes so that they are more broadly distributed across the peer network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants