microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
377 stars 87 forks source link

Authentication Error #8303

Open mudassir-jmi opened 4 days ago

mudassir-jmi commented 4 days ago

Preflight Checklist

Storage Explorer Version

1.36.1

Regression From

No response

Architecture

i86

Storage Explorer Build Number

No response

Platform

All

OS Version

No response

Bug Description

This request is not authorized to perform this operation.

This storage account's 'Firewalls & virtual networks' settings may be blocking access to storage services. Try adding your client IP address to the firewall exceptions, or by allowing access from 'all networks' instead of 'selected networks'. To learn more about Azure Storage firewalls and virtual networks, visit http://go.microsoft.com/fwlink/?LinkId=845443.

Error Details: { "name": "RestError", "code": "AuthorizationFailure", "statusCode": 403, "request": { "streamResponseStatusCodes": {}, "url": "http://127.0.0.1:10000/devstoreaccount1?comp=list&include=metadata", "method": "GET", "headers": { "_headersMap": { "x-ms-version": { "name": "x-ms-version", "value": "2023-01-03" }, "accept": { "name": "Accept", "value": "application/xml" }, "user-agent": { "name": "User-Agent", "value": "Microsoft Azure Storage Explorer/1.36.2 (win32) azsdk-js-storageblob/12.15.0 (NODE-VERSION v20.16.0; Windows_NT 10.0.22631)" }, "x-ms-client-request-id": { "name": "x-ms-client-request-id", "value": "73b0d269-baa9-45c9-ae84-1085fc4b6b24" }, "x-ms-date": { "name": "x-ms-date", "value": "Mon, 18 Nov 2024 10:50:25 GMT" }, "authorization": { "name": "Authorization", "value": "SharedKey Redacted" } } }, "withCredentials": false, "timeout": 0, "keepAlive": true, "decompressResponse": false, "requestId": "73b0d269-baa9-45c9-ae84-1085fc4b6b24" }, "response": { "request": { "streamResponseStatusCodes": {}, "url": "http://127.0.0.1:10000/devstoreaccount1?comp=list&include=metadata", "method": "GET", "headers": { "_headersMap": { "x-ms-version": { "name": "x-ms-version", "value": "2023-01-03" }, "accept": { "name": "Accept", "value": "application/xml" }, "user-agent": { "name": "User-Agent", "value": "Microsoft Azure Storage Explorer/1.36.2 (win32) azsdk-js-storageblob/12.15.0 (NODE-VERSION v20.16.0; Windows_NT 10.0.22631)" }, "x-ms-client-request-id": { "name": "x-ms-client-request-id", "value": "73b0d269-baa9-45c9-ae84-1085fc4b6b24" }, "x-ms-date": { "name": "x-ms-date", "value": "Mon, 18 Nov 2024 10:50:25 GMT" }, "authorization": { "name": "Authorization", "value": "SharedKey devstoreaccount1:x51Kpj8+adqHu6EJFinCjI5g73hJ+28uteVwprW1CEQ=" } } }, "withCredentials": false, "timeout": 0, "keepAlive": true, "decompressResponse": false, "requestId": "73b0d269-baa9-45c9-ae84-1085fc4b6b24" }, "status": 403, "headers": { "_headersMap": { "connection": { "name": "connection", "value": "keep-alive" }, "content-type": { "name": "content-type", "value": "application/xml" }, "date": { "name": "date", "value": "Mon, 18 Nov 2024 10:50:25 GMT" }, "keep-alive": { "name": "keep-alive", "value": "timeout=5" }, "server": { "name": "server", "value": "Azurite-Blob/3.33.0" }, "transfer-encoding": { "name": "transfer-encoding", "value": "chunked" }, "x-ms-error-code": { "name": "x-ms-error-code", "value": "AuthorizationFailure" }, "x-ms-request-id": { "name": "x-ms-request-id", "value": "7be9f4f4-1460-43ea-8ab0-97dd10ed5568" } } }, "bodyAsText": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n\n AuthorizationFailure\n Server failed to authenticate the request. Make sure the value of the Authorization header is formed correctly including the signature.\nRequestId:7be9f4f4-1460-43ea-8ab0-97dd10ed5568\nTime:2024-11-18T10:50:25.606Z\n", "parsedBody": { "message": "Server failed to authenticate the request. Make sure the value of the Authorization header is formed correctly including the signature.\nRequestId:7be9f4f4-1460-43ea-8ab0-97dd10ed5568\nTime:2024-11-18T10:50:25.606Z", "code": "AuthorizationFailure" }, "parsedHeaders": { "errorCode": "AuthorizationFailure", "connection": "keep-alive", "content-type": "application/xml", "date": "Mon, 18 Nov 2024 10:50:25 GMT", "keep-alive": "timeout=5", "server": "Azurite-Blob/3.33.0", "transfer-encoding": "chunked", "x-ms-request-id": "7be9f4f4-1460-43ea-8ab0-97dd10ed5568" } }, "details": { "errorCode": "AuthorizationFailure", "connection": "keep-alive", "content-type": "application/xml", "date": "Mon, 18 Nov 2024 10:50:25 GMT", "keep-alive": "timeout=5", "server": "Azurite-Blob/3.33.0", "transfer-encoding": "chunked", "x-ms-request-id": "7be9f4f4-1460-43ea-8ab0-97dd10ed5568", "message": "Server failed to authenticate the request. Make sure the value of the Authorization header is formed correctly including the signature.\nRequestId:7be9f4f4-1460-43ea-8ab0-97dd10ed5568\nTime:2024-11-18T10:50:25.606Z", "code": "AuthorizationFailure" } }

Steps to Reproduce

  1. launch Explorer
  2. Go to Connect
  3. choose option last one
  4. fill all details

Actual Experience

i want to connect azurite to microsoft azure storage explorer then the error popup shown

Expected Experience

No response

Additional Context

No response

craxal commented 2 days ago

@mudassir-jmi Can you confirm that the Azurite process is running? Is it using the default account name and key? Can you confirm the correct ports are being used and are active for the Azurite process?