WSL2 REST API Error due to WSL2 clock out of sync with Windows clock [closed]

In case anyone finds this via search and doesn’t notice that there is actually a solution listed in the question, you can fix WSL clock drift via.

sudo hwclock -s

If you just need to do it occasionally, this is a fine solution. If you need to do it more frequently, consider @piouson’s solution.

Leave a Comment