I worked with hasicorp's vault for some months. After my Windows had a restart in the night, I am not longer able to unseal my vault, because of the following error message (after giving the third/last unseal key):
Error unsealing: Error making API request.
URL: PUT http://127.0.0.1:8200/v1/sys/unseal
Code: 500. Errors:
- failed to read request counters: invalid character '\x00' looking for beginning of value
Because of the restart I looked for corrupted files and found one at:
[...]\vault\sys\counters\requests\2019\
within this directory there are files named like:
_04
_05
_06
When these files are ok, their content looks like:
{"Value":"AAAAAQK[....]"}
But one of these was filled with \x00 values instead.
After deleting this file, unsealing works again - so problem solved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With