on 2021 Aug 19 10:20 AM
I am using SAP Commerce Cloud ccv2 2011. I can create media through the back-office and upload an image in it and convert it into different formats by clicking on the "Convert Missing Media" button in a media container in the back office. But when I try to convert a media created through the hot folder, it is giving me an error.
I tried using windowsAzureBlobStorageStrategy as well as cloudAzureBlobStorageStrategy and the error differs for both the strategies.
I am working with CatalogUnawareMedia but the error is same for Media (catalog specific) as well.
The configuration used is -
cloud.hotfolder.default.images.root.url=http:https://<account-name>.blob.core.windows.net/${azure.hotfolder.storage.container.name}/master/productimages/images
cloud.hotfolder.default.images.media.folder.qualifier=productasset
media.folder.productasset.storage.strategy=windowsAzureBlobStorageStrategy
media.folder.productasset.public.base.url=https://<account-name>.blob.core.windows.net/${azure.hotfolder.storage.container.name}
media.folder.productasset.containerAddress=hybris
media.globalSettings.windowsAzureBlobStorageStrategy.local.cache=true
media.globalSettings.windowsAzureBlobStorageStrategy.containerAddress=hybris
media.folder.productasset.url.strategy=windowsAzureBlobURLStrategy,localMediaWebURLStrategy
media.default.secured=false
With this configuration, the following error comes
de.hybris.platform.media.exceptions.ExternalStorageServiceException: Azure specific configuration not found [key: connection was empty" "class": "de.hybris.platform.cloud.storage.service.impl.DefaultAzureStorageService",
"method": "getConnectionString",
"file": "DefaultAzureStorageService.java",
"line": 72,
"exact": false,
"location": "cloudstorageserver.jar",
"version": "?"
},
{
"class": "de.hybris.platform.cloud.storage.service.impl.DefaultAzureStorageService",
"method": "getCloudBlobClient",
"file": "DefaultAzureStorageService.java",
"line": 64,
"exact": false,
"location": "cloudstorageserver.jar",
"version": "?"
},
{
"class": "de.hybris.platform.cloud.storage.service.impl.DefaultAzureStorageService",
"method": "getContainerForMediaFolder",
"file": "DefaultAzureStorageService.java",
"line": 162,
"exact": false,
"location": "cloudstorageserver.jar",
"version": "?"
},...
When I change the strategy to cloudAzureBlobStorageStrategy instead of windowsAzureBlobStorageStrategy, the error changes to following -
java.lang.IllegalArgumentException: The argument must not be null. Argument name: blobName.[{"class":"com.microsoft.azure.storage.core.Utility","method":"assertNotNull","file":"Utility.java","line":368,"exact":false,"location":"azure-storage-8.1.0.jar","version":"?"},{"class":"com.microsoft.azure.storage.core.Utility","method":"assertNotNullOrEmpty","file":"Utility.java","line":383,"exact":false,"location":"azure-storage-8.1.0.jar","version":"?"},...
Detailed error log is attached for reference.error-with-cloudazureblobstoragestrategy.txterror-with-windowsazureblobstoragestrategy.txt
Request clarification before answering.
Did you find a solution for this ? I am getting similar error.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
21 | |
21 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.