Sometimes when I went back to the app after a couple of days it would fail. The Cosmos DB client would error with:
"The authorization token is not valid at the current time. Please create another token and retry"
Looking at the times in the message they were earlier than the current time so that token was out of date.
Attaching to the container with:
docker exec -it <container ID> /bin/bash
I could see that the container time was indeed wrong.
No comments:
Post a Comment