Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RESPONSE Status: 500 Operation could not be completed within the specified time #2788

Open
g-spencer opened this issue Aug 21, 2024 · 6 comments
Assignees

Comments

@g-spencer
Copy link

g-spencer commented Aug 21, 2024

Which version of the AzCopy was used? 10.26.0

Note: The version is visible when running AzCopy without any argument

Which platform are you using? (ex: Windows, Mac, Linux) Windows server 2019

What command did you run? azcopy_windows_amd64_10.26.0\AzCopy.exe copy --cap-mbps=10 --log-level=ERROR "abcd-conflu-dks-ws08_osdisk-202408151005.vhd" "https://md-impexp-wrvqjsfmgsqh.z38.blob.storage.azure.net/jsqrl0txdd43/abcd?REDACTED" --blob-type PageBlob

Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.

What problem was encountered? RESPONSE Status: 500 Operation could not be completed within the specified time

This repeats until the expiry after one hour.

How can we reproduce the problem in the simplest way? I am following this MS procedure: https://learn.microsoft.com/en-us/azure/virtual-machines/linux/disks-upload-vhd-to-managed-disk-cli

trying to upload a disk previously downloaded to local storage, basically trying to reverse the operation where we downloaded the disk: https://learn.microsoft.com/en-us/azure/virtual-machines/linux/download-vhd?tabs=azure-portal

Have you found a mitigation/solution? No, I logged a ticket with MS/Mindtree, but they are having difficulty finding an SME.

I attach the log file here [I've had several goes at this, it's persistent]
a058c44b-3ce1-d046-6845-56ea339a55a3.zip

@souravgupta-msft souravgupta-msft self-assigned this Aug 22, 2024
@souravgupta-msft
Copy link
Member

Hi @g-spencer. The PutPage operation is timing out, hence you are seeing the 500 error OperationTimedOut. Kindly ask the support engineer assigned to the ticket to reach out to the backend team as to why the request is timing out.

@souravgupta-msft
Copy link
Member

In your copy command, can you remove the flag --cap-mbps=10 and retry the operation

@g-spencer
Copy link
Author

g-spencer commented Aug 27, 2024

Hi,

we are a 24/7 operation, I had previously tried this disk copy operation using storage explorer, but unfortunately this grabs all bandwidth, this caused a p1 for the company I work for.

I cannot remove the cap-mbps flag from azcopy, that is why I looked at azcopy instead of storage explorer.

If I were to remove the cap, I suspect my employment would be terminated if I let azcopy also run unrestricted.

@souravgupta-msft
Copy link
Member

You can reach out to the backend team then as this is a server-side timeout error.

I cannot remove the cap-mbps flag from azcopy, that is why I looked at azcopy instead of storage explorer.

Can you try setting this to some higher value?

@g-spencer
Copy link
Author

g-spencer commented Aug 27, 2024 via email

@souravgupta-msft
Copy link
Member

The AzCopy logs shared are old and the backend logs have rolled over. Can you retry and share the latest log file.
Before running, please tune the cap-mbps flag to some higher value. Since, you have restrictions on the bandwidth usage, you can also lower the concurrency value using this environment variable AZCOPY_CONCURRENCY_VALUE. For more details, refer this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants