500(Could not verify the copy source within the specified time) on SyncCopyFromUri

Karol Trzaskawka 26 Reputation points
2024-07-11T12:06:09.3466667+00:00

Hi Everyone,

Getting 500(Could not verify the copy source within the specified time) error for some operations using SyncCopyFromUri. It started happening since yesterday morning. It is happening every around 40min for some of the requests and then its ok for next 40min.  It is not an issue with SAS URL since we generate it the same way and for most of the requests it goes ok. The failed one is going also ok after user retry its operation one or few more times. We thought that is its temporary storage issue and it will not last long, but unfortunately it is still there. We checked Yesterday code on our end, and everything looks ok. (our other environments works perfectly fine with the same versions)

We didn’t change anything connected to blob storage in our app last days and it appeared from nowhere.  We can see that in most of the cases when there is this exception it is retried by Microsoft SDK DLL (it makes 6 retrials) but when it does not manage to copy file successfully than we get an exception and the user must repeat his actions in the system.

Do You have any idea what may be the issue that it is happening?Photos_rMVLmlXwBB

chrome_mK69mICSht

Photos_mnu31MJYCiThank you in advance!

Karol

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,916 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,878 questions
0 comments No comments
{count} vote

Accepted answer
  1. Amrinder Singh 5,155 Reputation points Microsoft Employee
    2024-07-12T05:17:06.0233333+00:00

    Hi Karol Trzaskawka - Thanks for reaching out on Q&A Forum.

    I am reviewing this one and shall update the thread shortly.


1 additional answer

Sort by: Most helpful
  1. Nehruji R 8,066 Reputation points Microsoft Vendor
    2024-07-12T14:44:41.1133333+00:00

    Hello

    Greetings! Welcome to Microsoft Q&A Platform.

    I understand that you are encountering a issue with the SyncCopyFromUri operation, it typically occurs when there is a timeout or connectivity issue while trying to access the source file. Please consider checking the below following factors to troubleshoot the issue,

    • Can you please check the access level, that would be causing the issue Lear more here on access level
    • Make sure that the account name/key is proper
    • Blob service error codes
    • By default, container data is private to the account owner. Use 'Blob' to allow public read access for blobs. Use 'Container' to allow public read and list access to the entire container. It's at the container level
      175007-image.png

    You can refer to this article: Copy a blob with Azure Storage client libraries

    The easiest way to move /copy (upload, delete) the data in Azure Storage Account is Azcopy (Fast Data Transfer) and Azure storage explorer tool

    Hope this answer helps! please let us know if you have any further queries. I’m happy to assist you further.


    Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.