azure-sdk-for-net: [QUERY] A connection attempt failed because the connected party did not properly respond
Library name and version
Azure.MixedReality.RemoteRendering 1.1.0
Query/Question
I am using some example code mentioned hereto trigger a conversation.
I get an error at following line almost after 50 seconds StartConversion() triggers.
AssetConversionOperation conversionOperation = client.StartConversion(conversionId, conversionOptions);
error:
System.AggregateException: 'Retry failed after 4 tries. Retry settings can be adjusted in ClientOptions.Retry. (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (sts.eastus:443)) (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (sts.eastus:443)) (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (sts.eastus:443)) (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (sts.eastus:443))'
It does look like like ARR service is not responding? Or may be something else. Can someone shed some light on this.
Environment
No response
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 1
- Comments: 24 (7 by maintainers)
Since Service team is involved and working directly with OP, removing CXP attention label.
@jagohr that worked perfectly fine. Thanks. @MichaelZp0 , I still used the old constructor for new AssetConversionInputOptions(storageUriIn, relativeInputAssetPath) and it did require me to link the asa account with storage.
I have a admin role in the resource group. arrmrapps is ARR account where I am trying run above steps. So you are saying I need to be on storage account arrteststoragemrapps -> Access Control (IAM) ?
Update: Found it for storage account.
The only thing I see right now would be that the other constructor of the AssetConversionInputOptions/AssetConversionOutputOptions might work. You can link your storage and rendering account to omit the SAS part of the storage link and it might be hard coded, that it will use that code path if the
public AssetConversionInputOptions(Uri storageContainerUri, string relativeInputAssetPath)
constructor is used.That is of course bad and I will fix this if that is the case, but could you try that to verify this?
Edit: With other constructor I mean this one:
AssetConversionInputOptions(Uri storageContainerUri, string storageContainerReadListSas, string blobPrefix, string relativeInputAssetPath)
Where the parameters should be:
new AssetConversionInputOptions("https://accountname.blob.core.windows.net/storageContainer", "?sp=....Ey", "/", "modelName.glb")
Sure here it is “f4423387-4108-48ff-9e37-0e8930842aae”