Error 'token used before issued'
dmlemos opened this issue · 2 comments
dmlemos commented
I cannot seem to reproduce this all the time, but here's what happened.
- Create
$TOKEN
- Start daemon
converge server --rpc-addr 0.0.0.0:4774 --rpc-token $TOKEN
- 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
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
@rebeccaskinner Is there a temporary solution for this? It's a random blocker 🤕