Closed rlugovyy closed 1 month ago
Hi @rlugovyy ,
Could you share more details on the issue:
await new AzureBlobStorage().checkConnection();
works, could you share some code snippet for it?Thanks Emma
Hi @EmmaZhu
I use the standard function from the storage-blob.d.ts library ` /**
Connection to Azure Blob Storage failed! Reason is: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
I have blob storage running in Azure (as a service) where I get a ConnectionString
DefaultEndpointsProtocol=https;AccountName=teststorage8297;AccountKey=<KEY>;BlobEndpoint=https://<AccountName>.blob.core.windows.net
and then I want to replace BlobEndpoint with
DefaultEndpointsProtocol=https;AccountName=teststorage8297;AccountKey=<KEY>;BlobEndpoint=https://my-ingress/blob/
I also wrote yesterday as a test, if i do not use the library from Azure but write my own CRUD, then everything works, but through the library I get an error in authentication. My assumption is that somehow inside the function AzureBlob during the generation of the SAS token it depends on the URL. although when I wrote my own function to generate a SAS token I didn't use it
Hi @rlugovyy ,
Azurite can be started with a option like: --debug c:\azurite\debug.log
. Could you try to repro the issue again and share debug.log to us for investigation?
Please feel free to reopen the issue if any new updates.
I have problems connecting to azure.blob.storage using ingress as a proxy to have 1 entry point for my app. When I try to connect directly, everything works, while through ingress I get an error: Connection to Azure Blob Storage failed! Reason is: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
and here is my ingress (also in this cluster works istio if it is important)
I have only been able to connect and send a file via curl so far