microsoft / TAP

TAP: Text-Aware Pre-training for Text-VQA and Text-Caption, CVPR 2021 (Oral)
MIT License
70 stars 11 forks source link

Fail to get the data: AuthenticationErrorDetail: Issuer validation failed. Issuer did not match. #3

Closed Loycine closed 3 years ago

Loycine commented 3 years ago

After I ran azcopy login to authorize a user identity and it finally showede INFO: Login succeeded., I tried to run the download command azcopy copy https://tapvqacaption.blob.core.windows.net/data/data ./ --recursive But I got a 401 failed, the detailed error information is as follows.

INFO: Scanning...                                                                                                                                           INFO: Authenticating to source using Azure AD
INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support

failed to perform copy command due to error: cannot start job due to error: cannot list files due to reason -> github.com/Azure/azure-storage-blob-go/azblob.newStorageError, /home/vsts/go/pkg/mod/github.com/!azure/azure-storage-blob-go@v0.10.1-0.20210407023846-16cf969ec1c3/azblob/zc_storage_error.go:42
===== RESPONSE ERROR (ServiceCode=InvalidAuthenticationInfo) =====
Description=Server failed to authenticate the request. Please refer to the information in the www-authenticate header.
RequestId:3cd53a6d-601e-00c3-71ff-675565000000
Time:2021-06-23T07:13:31.2032025Z, Details:
   AuthenticationErrorDetail: Issuer validation failed. Issuer did not match.
   Code: InvalidAuthenticationInfo
   GET https://tapvqacaption.blob.core.windows.net/data?comp=list&delimiter=%2F&include=metadata&prefix=data%2F&restype=container&timeout=901
   Authorization: REDACTED
   User-Agent: [AzCopy/10.11.0 Azure-Storage/0.13 (go1.15; linux)]
   X-Ms-Client-Request-Id: [2c0efb91-40c3-4dd0-4634-aebdd3eeda04]
   X-Ms-Version: [2019-12-12]
   --------------------------------------------------------------------------------
   RESPONSE Status: 401 Server failed to authenticate the request. Please refer to the information in the www-authenticate header.
   Content-Length: [402]                                                                                                                                       Content-Type: [application/xml]
   Date: [Wed, 23 Jun 2021 07:13:31 GMT]
   Server: [Microsoft-HTTPAPI/2.0]
   Www-Authenticate: [Bearer authorization_uri=https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/authorize resource_id=https://storage.azure.com]
   X-Ms-Error-Code: [InvalidAuthenticationInfo]
   X-Ms-Request-Id: [3cd53a6d-601e-00c3-71ff-675565000000]

I wonder know which step I did wrong and what should I do to download the data.

zyang-ur commented 3 years ago

Sorry about the confusion.

I verify the blob access and it seems to be working on my side. Directly calling the "azcopy copy" command should be enough. No log-in/azcopy-login will be needed.

Please kindly let me know for any questions. Thank you.

guanghuixu commented 3 years ago

The download links work well now, you can try again.

Loycine commented 3 years ago

Ok, it works now, thank you.