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

"Server failed to authenticate the request" when deploying function #3677

Closed
bootsie123 opened this issue May 15, 2023 · 1 comment
Closed

Comments

@bootsie123
Copy link

Hi! I'm trying to deploy a function via the extension and I seem to be getting the following error intermittently when deploying to a slot:

An error has occured. Check output window for more details.

Output:

Error: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:ee68f3da-401e-001d-6088-875841000000
Time:2023-05-15T23:53:00.8613021Z

So far I've tried doing the following:

  1. Restarting VSCode
  2. Signing out and back in to Azure
  3. Deploying to the function app directly instead of a slot

Unfortunately none of these have worked. Any ideas? Thanks!

@bootsie123
Copy link
Author

Figured out the issue. For anyone else encountering this and also running WSL, checkout this issue here Azure/azure-cli#20388 and here microsoft/WSL#8204. Apparently it's related to the internal time getting out of sync when the computer recovers from sleep

@microsoft microsoft locked and limited conversation to collaborators Jun 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant