invalid bearer token, Token has been invalidated #8162
-
Hello! We are currently investigating a surge of 503 errors in one of our components last March 15. Upon checking on our logs. We saw a lot of this errors in the linkerd-proxy of our component
Note: This only happen on one of our component over 398 deployments Some info: Ask: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@justadevopsguy hey, this is a bit odd indeed. Do you see this even after the workload is restarted? My first hunch would be to check your Currently, this is the only type of token we use. It's possible perhaps the token was malformed or the token expired? Especially if it's only one workload that suffers from it. I'd try to either rotate or re-create the SA for that workload and give it another try, it might end up fixing the issue. If that fails, we can have a look at the identity service's logs to see if there are more warnings or errors that can help us pinpoint the problem. |
Beta Was this translation helpful? Give feedback.
@justadevopsguy hey, this is a bit odd indeed. Do you see this even after the workload is restarted?
My first hunch would be to check your
ServiceAccount
token. SAs are tied to identity in Linkerd's operational model. Whenever a proxy spins up, it first acquires a leaf certificate by talking to the identity service. It will send a Certificate Signing Request which will include the SA name as the cert SAN and the SA token. The identity service will validate the token and if everything matches, it issues the certificate.Currently, this is the only type of token we use. It's possible perhaps the token was malformed or the token expired? Especially if it's only one workload that suffers from…