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

Drone doesn't give tokens sometimes #714

Closed
sakridge opened this issue Jul 19, 2018 · 4 comments
Closed

Drone doesn't give tokens sometimes #714

sakridge opened this issue Jul 19, 2018 · 4 comments
Assignees

Comments

@sakridge
Copy link
Member

Running the client after some time the leader/drone is up and client has been previously run.

Client requests an airdrop:

Drone seems to say it's successful:

Socket received FIN packet and closed connection
Socket closed with result: Ok(())
Airdrop requested...
 INFO 2018-07-19T21:21:26Z: solana::drone: Requesting airdrop of 500000 to [209, 12, 86, 25, 192, 180, 240, 173, 172, 13, 185, 142, 93, 79, 137, 224, 42, 107, 112, 50, 119, 107, 129, 50, 188, 227, 152, 254, 194, 254, 103, 91]
Airdrop sent!
Socket received FIN packet and closed connection
Socket closed with result: Ok(())

But client doesn't see that the balance is updated:

 INFO 2018-07-19T21:18:21Z: solana::crdt: 9f7c184d048cd33: run_listen timeout, table size: 2
Your balance is: 0
TPS airdrop limit reached; wait 60sec to retry
@sakridge
Copy link
Member Author

This may be because I restarted the leader state without restarting the drone, need to test again. Error messages could be better in this case if that is the only case this can happen.

@garious
Copy link
Contributor

garious commented Jul 21, 2018

@sakridge, agreed, but don't bug Tyera this week. Go ahead and handle that error as you see fit. Here's where it's created: https://github.com/solana-labs/solana/blob/master/src/drone.rs#L146

@sakridge sakridge self-assigned this Jul 21, 2018
@sakridge
Copy link
Member Author

@garious yea wasn't going to but tyera. I was going to look more into it but then got side-tracked/jet lagged. I assigned to myself.

@mvines
Copy link
Member

mvines commented Jul 26, 2018

I've seen this as well and wrote 0206020 as a result. Closing this issue until it reproduces

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

3 participants