Skip to content

Couldn't log in to the remote cache

error: couldn't log in to https://cache.example.com: the server refused the token; log in with axle login or set AXLE_REMOTE_CACHE_TOKEN
hint: Check the address and the token, and that the server is running.

axle login checks the token with the server before saving it, and the check failed: the server couldn’t be reached, didn’t speak the HTTP API, or doesn’t know the token. Nothing is saved.

Check the address, including http:// or https://, that the server is running, and that the token is one it lists in AXLE_SERVER_TOKENS. Ask whoever runs the server for a token if you don’t have one.