Axle refused an entry of the remote cache
warning: web#build: Axle refused an entry of the remote cache: its signature doesn't matchhint: Check that every machine uses the same keys under [cache.remote]. If they do, someone may have changed the entry.Why it happens
Section titled “Why it happens”An entry downloaded from the remote cache couldn’t be used, so the task runs instead. The reason after the colon is one of these:
- “its signature doesn’t match”:
signature = true, and the entry was signed with another key thanAXLE_REMOTE_CACHE_SIGNATURE_KEY, or changed after it was signed. - “it isn’t signed”:
signature = true, and the entry was uploaded by a machine that doesn’t sign. - “it can’t be decrypted with this key”, “it isn’t encrypted” or “it’s encrypted, and no encryption key is set”: the machines don’t agree on
encryptionandAXLE_REMOTE_CACHE_ENCRYPTION_KEY. - “it isn’t an Axle cache entry”, “it’s cut short” or “it was written in format …”: the file was damaged, or written by a newer version of Axle.
Only that entry is skipped; the rest of the run still uses the remote cache.
How to fix it
Section titled “How to fix it”Give every machine that shares the cache, CI included, the same signature and encryption settings and the same keys. When the keys change, entries signed or encrypted with the old ones are refused until each task runs once and uploads them again. If the keys do match, treat a signature that doesn’t match as a sign that someone changed the cache, and check who can write to it.