Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rover Launchpad Error #6

Closed
fireblade95402 opened this issue Nov 29, 2019 · 4 comments
Closed

Rover Launchpad Error #6

fireblade95402 opened this issue Nov 29, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@fireblade95402
Copy link

Hi

Yesterday it seemed to be working ok. Today when I create the launchpad "./rover.sh" it runs through and then has the following error:

`Error: Error reading queue properties for AzureRM Storage Account "tfstatelvz8kdrtv33ip0flk": queues.Client#GetServiceProperties: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: error response cannot be parsed: "\ufeffAuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.\nRequestId:2d7d39f0-b003-0073-55cc-a6737f000000\nTime:2019-11-29T15:48:02.5881860ZRequest date header too old: 'Fri, 29 Nov 2019 13:04:34 GMT'" error: invalid character 'ï' looking for beginning of value

on storage.tf line 24, in resource "azurerm_storage_account" "stg":
24: resource "azurerm_storage_account" "stg" {
`

Help on this would be great.

Cheers,

Mark

@LaurentLesle
Copy link
Contributor

Thanks @fireblade95402 for reporting the error. This is currently an error we have seen on Windows 10 with newer docker desktop build 2.1+. When a vscode remote container running on your local windows 10 and your computer is going to sleep mode, you end-up after few cycle sleep / resume to have the clock of the container that is not updated. This drift cause the error "Request date header too old".

Try to quit Docker desktop and restart as a workaround and re-open your local dev container.

You can check the drift by running the command in your container

date

and on you local windows 10 powershell

$(Get-Date).ToUniversalTime()

A significant difference would confirm the time drift.

There is open issue on the docker desktop for windows docker/for-win#4526

I will keep that issue opened until the docker desktop issue is sorted out.

@Masahigo
Copy link

Masahigo commented May 4, 2020

Thanks @fireblade95402 for reporting the error. This is currently an error we have seen on Windows 10 with newer docker desktop build 2.1+. When a vscode remote container running on your local windows 10 and your computer is going to sleep mode, you end-up after few cycle sleep / resume to have the clock of the container that is not updated. This drift cause the error "Request date header too old".

Try to quit Docker desktop and restart as a workaround and re-open your local dev container.

You can check the drift by running the command in your container

date

and on you local windows 10 powershell

$(Get-Date).ToUniversalTime()

A significant difference would confirm the time drift.

There is open issue on the docker desktop for windows docker/for-win#4526

I will keep that issue opened until the docker desktop issue is sorted out.

I can confirm this issue is still valid.

@LaurentLesle
Copy link
Contributor

@fireblade95402 @Masahigo running the following command fixes the time drift when returning from sleep mode

sudo hwclock -s from wsl2 when resuming from sleep mode resynch the clock in the dev containers. At least I don't have to reboot Windows 10.

@arnaudlh
Copy link
Member

Closing as it works fine on every OS now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants