Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Pankaj 11 posts 32 karma points
    Nov 04, 2023 @ 12:47
    Pankaj
    0

    when we connect Azure Blob get this error in umbraco 12

    angular.js:15697 Possibly unhandled rejection: {"data":{"ExceptionMessage":"Retry failed after 6 tries. Retry settings can be adjusted in ClientOptions.Retry or by configuring a custom retry policy in ClientOptions.RetryPolicy. (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.)","ExceptionType":"System.AggregateException, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","StackTrace":" at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory1 pipeline, Boolean async)\r\n at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted(ValueTask task)\r\n at Azure.Core.Pipeline.RetryPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline)\r\n at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpMessage message, ReadOnlyMemory1 pipeline)\r\n at Azure.Core.Pipeline.HttpPipelineSynchronousPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline)\r\n at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpMessage message, ReadOnlyMemory1 pipeline)\r\n at Azure.Core.Pipeline.HttpPipelineSynchronousPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline)\r\n at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpMessage message, ReadOnlyMemory1 pipeline)\r\n at Azure.Core.Pipeline.HttpPipelineSynchronousPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline)\r\n at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpMessage message, ReadOnlyMemory1 pipeline)\r\n at Azure.Core.Pipeline.HttpPipelineSynchronousPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline)\r\n at Azure.Core.Pipeline.HttpPipeline.Send(HttpMessage message, CancellationToken cancellationToken)\r\n at Azure.Storage.Blobs.BlockBlobRestClient.Upload(Int64 contentLength, Stream body, Nullable1 timeout, Byte[] transactionalContentMD5, String blobContentType, String blobContentEncoding, String blobContentLanguage, Byte[] blobContentMD5, String blobCacheControl, IDictionary2 metadata, String leaseId, String blobContentDisposition, String encryptionKey, String encryptionKeySha256, Nullable1 encryptionAlgorithm, String encryptionScope, Nullable1 tier, Nullable1 ifModifiedSince, Nullable1 ifUnmodifiedSince, String ifMatch, String ifNoneMatch, String ifTags, String blobTagsString, Nullable1 immutabilityPolicyExpiry, Nullable1 immutabilityPolicyMode, Nullable1 legalHold, Byte[] transactionalContentCrc64, CancellationToken cancellationToken)\r\n at Azure.Storage.Blobs.Specialized.BlockBlobClient.UploadInternal(Stream content, BlobHttpHeaders blobHttpHeaders, IDictionary2 metadata, IDictionary2 tags, BlobRequestConditions conditions, Nullable1 accessTier, BlobImmutabilityPolicy immutabilityPolicy, Nullable1 legalHold, IProgress1 progressHandler, UploadTransferValidationOptions transferValidationOverride, String operationName, Boolean async, CancellationToken cancellationToken)\r\n at Azure.Storage.Blobs.Specialized.BlockBlobClient.<>cDisplayClass640.<0>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n at Azure.Storage.PartitionedUploader2.UploadInternal(Stream content, Nullable1 expectedContentLength, TServiceSpecificData args, IProgress1 progressHandler, Boolean async, CancellationToken cancellationToken)\r\n at Azure.Storage.Blobs.BlobClient.StagedUploadInternal(Stream content, BlobUploadOptions options, Boolean async, CancellationToken cancellationToken)\r\n at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted[T](Task1 task)\r\n at Azure.Storage.Blobs.BlobClient.Upload(Stream content, BlobUploadOptions options, CancellationToken cancellationToken)\r\n at Umbraco.StorageProviders.AzureBlob.IO.AzureBlobFileSystem.AddFile(String path, Stream stream, Boolean overrideIfExists)\r\n at Umbraco.StorageProviders.AzureBlob.IO.AzureBlobFileSystem.AddFile(String path, Stream stream)\r\n at Umbraco.Cms.Core.IO.ShadowWrapper.AddFile(String path, Stream stream)\r\n at Umbraco.Cms.Core.IO.MediaFileManager.StoreFile(IContentBase content, IPropertyType propertyType, String filename, Stream filestream, String oldpath)\r\n at Umbraco.Extensions.ContentExtensions.SetUploadFile(IContentBase content, MediaFileManager mediaFileManager, MediaUrlGeneratorCollection mediaUrlGenerators, IContentTypeBaseServiceProvider contentTypeBaseServiceProvider, String propertyTypeAlias, String filename, Stream filestream, String culture, String segment)\r\n at Umbraco.Extensions.ContentExtensions.SetValue(IContentBase content, MediaFileManager mediaFileManager, MediaUrlGeneratorCollection mediaUrlGenerators, IShortStringHelper shortStringHelper, IContentTypeBaseServiceProvider contentTypeBaseServiceProvider, String propertyTypeAlias, String filename, Stream filestream, String culture, String segment)\r\n at Umbraco.Cms.Web.BackOffice.Controllers.MediaController.PostAddFile(String path, String currentFolder, String contentTypeAlias, List1 file)\r\n at Umbraco.Cms.Web.BackOffice.Controllers.MediaController.PostAddFile(String path, String currentFolder, String contentTypeAlias, List1 file)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Nov 04, 2023 @ 12:59
    Huw Reddick
    0

    Sounds like maybe your azure connection string is incorrect

  • Pankaj 11 posts 32 karma points
    Nov 06, 2023 @ 08:55
    Pankaj
    0

    Can you advise any spacify setting need to set when get azure blob connecting string

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Nov 06, 2023 @ 09:22
    Huw Reddick
    0

    did you add the correct info to appsettings.json? similar to below

    "Storage": {
      "AzureBlob": {
        "Media": {
          "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=YourAccount;AccountKey=YOURACCOUNTKEY;EndpointSuffix=core.windows.net",
          "ContainerName": "YOURCONTAINERNAME"
        }
      }
    },
    
  • Pankaj 11 posts 32 karma points
    Nov 07, 2023 @ 09:55
    Pankaj
    0

    Yes i do same

  • Pankaj 11 posts 32 karma points
    Nov 09, 2023 @ 08:23
    Pankaj
    0

    AggregateException: Retry failed after 6 tries. Retry settings can be adjusted in ClientOptions.Retry or by configuring a custom retry policy in ClientOptions.RetryPolicy. (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.) (The SSL connection could not be established, see inner exception.) Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory

    RequestFailedException: The SSL connection could not be established, see inner exception. Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, bool async)

    RequestFailedException: The SSL connection could not be established, see inner exception. Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, bool async)

    RequestFailedException: The SSL connection could not be established, see inner exception. Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, bool async)

    RequestFailedException: The SSL connection could not be established, see inner exception. Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, bool async)

    RequestFailedException: The SSL connection could not be established, see inner exception. Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, bool async)

    RequestFailedException: The SSL connection could not be established, see inner exception. Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, bool async)

Please Sign in or register to post replies

Write your reply to:

Draft