microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.5k stars 2.61k forks source link

azcopy :Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. #15307

Closed v-sheepk closed 2 years ago

v-sheepk commented 3 years ago

Getting build failure issues in one of the pipeline, which is related to azcopy.

azcopy task is throwing an exception as seen below.

403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.

Repo: https://msdyneng.visualstudio.com/FinOps/_git/Application?path=%2F&version=GBmain&_a=contents Pipeline: - https://msdyneng.visualstudio.com/FinOps/_build/results?buildId=974223&view=logs&j=ce039bdd-38e8-5807-41bf-d2c8f82d8dba&t=8edbf0ca-7ec3-5b5b-4460-9cb8b08a821b

Exception:

2021-07-30T10:13:38.9568002Z User-Agent: [AzCopy/10.11.0 Azure-Storage/0.13 (go1.15; Windows_NT)] 2021-07-30T10:13:38.9568557Z X-Ms-Client-Request-Id: [3f32ca2b-5a7c-44ab-424c-7846309cff48] 2021-07-30T10:13:38.9568981Z X-Ms-Version: [2019-12-12] 2021-07-30T10:13:38.9569510Z -------------------------------------------------------------------------------- 2021-07-30T10:13:38.9570321Z RESPONSE Status: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. 2021-07-30T10:13:38.9570926Z Content-Length: [447] 2021-07-30T10:13:38.9571296Z Content-Type: [application/xml] 2021-07-30T10:13:38.9571781Z Date: [Fri, 30 Jul 2021 10:13:36 GMT] 2021-07-30T10:13:38.9572284Z Server: [Microsoft-HTTPAPI/2.0] 2021-07-30T10:13:38.9572669Z X-Ms-Error-Code: [AuthenticationFailed] 2021-07-30T10:13:38.9573162Z X-Ms-Request-Id: [3185de5e-501e-013a-072b-855037000000] 2021-07-30T10:13:38.9574470Z Response Details: AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. The specified signed resource is not allowed for the this resource level 2021-07-30T10:13:38.9575307Z 2021-07-30T10:13:38.9575806Z 2021/07/30 10:13:36 ==> REQUEST/RESPONSE (Try=1/52.0024ms, OpTime=52.0024ms) -- RESPONSE STATUS CODE ERROR 2021-07-30T10:13:38.9576562Z PUT https://usweintdpl1catalog.blob.core.windows.net/product-ax?restype=container&se=2021-07-31t10%3A12%3A52z&sig=-REDACTED-&sp=rw&sr=b&sv=2015-12-11&timeout=180 2021-07-30T10:13:38.9577375Z User-Agent: [AzCopy/10.11.0 Azure-Storage/0.13 (go1.15; Windows_NT)] 2021-07-30T10:13:38.9577940Z X-Ms-Client-Request-Id: [abd3ca44-f05a-4d49-4df3-380db01696d3] 2021-07-30T10:13:38.9578459Z X-Ms-Version: [2019-12-12] 2021-07-30T10:13:38.9578891Z -------------------------------------------------------------------------------- 2021-07-30T10:13:38.9579579Z RESPONSE Status: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. 2021-07-30T10:13:38.9580328Z Content-Length: [447] 2021-07-30T10:13:38.9580694Z Content-Type: [application/xml] 2021-07-30T10:13:38.9581205Z Date: [Fri, 30 Jul 2021 10:13:36 GMT] 2021-07-30T10:13:38.9581682Z Server: [Microsoft-HTTPAPI/2.0] 2021-07-30T10:13:38.9582063Z X-Ms-Error-Code: [AuthenticationFailed] 2021-07-30T10:13:38.9582592Z X-Ms-Request-Id: [3185de68-501e-013a-102b-855037000000] 2021-07-30T10:13:38.9583750Z Response Details: AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. The specified signed resource is not allowed for the this resource level

v-sheepk commented 3 years ago

Hi , Is any update on this issue?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days