asteris-llc / converge

A powerful and easy-to-use configuration management system.
Apache License 2.0
250 stars 31 forks source link

Error 'token used before issued' #626

Open dmlemos opened 7 years ago

dmlemos commented 7 years ago

I cannot seem to reproduce this all the time, but here's what happened.

  1. Create $TOKEN
  2. Start daemon converge server --rpc-addr 0.0.0.0:4774 --rpc-token $TOKEN
  3. From the client run converge plan --rpc-token XXX --rpc-addr 1.1.1.1:4774 /usr/local/converge/source/os.hcl
timestamp="2017-06-08T12:35:12+01:00" level="WARN" msg="skipping module verification" component="client"
timestamp="2017-06-08T12:35:12+01:00" level="FATAL" msg="could not get responses" component="client" error="error getting status response: rpc error: code = 2desc = Token used before issued" file="/usr/local/converge/source/os.hcl"

Restarting the daemon or changing the token didn't help. Didn't work for good part of the day and suddenly started working again without any changes. Strange indeed.

PS: There is no documentation about config file. Not sure if there is something else needed.

rebeccaskinner commented 7 years ago

Thanks for submitting this. We've run into this before and it looks like it might be a regression or only partially resolved heisenbug.

dmlemos commented 7 years ago

@rebeccaskinner Is there a temporary solution for this? It's a random blocker 🤕