-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Large file size (>250 MB) file is uploaded successfully to azure storage but it fails to return success response to any http client connection e.g. apache http server #18700
Comments
Hi @gapra-msft
Thank you |
Hi @harisingh-highq Thank you for posting this issue. Could you please clarify what the issue you are seeing with the SDK is? From what I read it looks like the upload jobs succeed. |
Hello @gapra-msft The usecase with which we are facing issue is large file upload like : 500 MB , 1GB , 2GB in time bounded manner of 120 seconds. Now as suggested in #18425 we are using the ParallelTransferOptions. In this case if I am using attributes of ParallelTransferOptions in below manner: Now with above values of attributes my 500MB file seems to work if there is smooth operation (i.e. not connection errors), The response from Azure is received within 120 seconds . But when trying with 1GB this doesn't seems to work. (Response is not received in timely manner)
Thank you |
Hi @Dhaval8951 Thank you for clarifying the issue. I've answered your questions below.
For this one, I'll refer you to @rickle-msft's response on this thread.
Yes, so we send information to the progress receiver every time a stage block request for a chunk of your data is sent (not when the response is received from the service). So there can be some delay between when the ProgressReceiver gets updated versus when the upload actual completes. Furthermore, after all the stageBlock requests are sent a final commitBlockList request must be made to commit the data. Once all of these requests are made and are completed, the upload method returns back it's final response.
Could you let me know what version of azure-storage-blob and azure-core you are using? |
@gapra-msft
We are using azure-storage-blob : 12.9.0 , and its compile time dependency azure-core : 1.10.0 |
@gapra-msft But regardless of our network traffic and other factors, I can say large file size upload is not working after some file size. FYI, We also support other file storage protocol in our product. We are able to upload large file size(500 MB, 1GB, 3GB etc.) in below storage protocol which we're using in same product with same environment( infra, n/w, speed etc.) at same time.
### Please take a note that with same infra & environment, same n/w at same time, we are able to upload large file in other storage protocol (SMB2, AWS S3 cloudian etc.) via same product but its not working in azure blob storage. Also with below configuration suggested by @Dhaval8951, it works in his environment till 1GB but its not working in my environment for 500 MB too.
### So my question is how we can fix it with above configuration which may work for one user but it may not work for other user? Also this configuration can work fine till certain file size. after then it may also stuck with limitation/boundary of file size <Ashish: Edited out> I request you to schedule Microsoft team/zoom call with us if you don't mind It would be great help to us. We look forward to hearing from you. |
@harisingh-highq |
@Dhaval8951 since they are many moving parts here, and its not immediately clear that its a Java SDK issue, can you reach out to Microsoft Support? I am wondering if there is some Apache Server setting or something in your environment that they can help you out with. |
@gapra-msft @amishra-dev We are looking for any hint/direction from you expert guys to resolve this issue. |
@harisingh-highq have you guys been able to reach out to Microsoft Support for some more direction? If so, I will close this issue if there is a case open over there. I believe the reason we suggested reaching out to support is because it looks like the scope of your issue is beyond what we are going to be able to assist with. |
Closing due to inactivity. @harisingh-highq please feel free to reopen the issue if you are still hitting the problem. |
We are facing a new issue in large file size file upload with apache http server connection.
Apache http server terminate the connection due to timeout expired issue.
When we call our file upload api with https (apache http server) connection url to upload large file size (approax >250 MB) on azure storage, it throws below error
And when I checked apache server error logs and I found the below cause:-
[Wed Jan 20 20:24:28.731934 2021] [proxy_ajp:error] [pid 24840:tid 16476] (OS 10060)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. : AH01030: ajp_ilink_receive() can't receive header [Wed Jan 20 20:24:28.731934 2021] [proxy_ajp:error] [pid 24840:tid 16476] [client 172.16.247.167:56821] AH00992: ajp_read_header: ajp_ilink_receive failed [Wed Jan 20 20:24:28.731934 2021] [proxy_ajp:error] [pid 24840:tid 16476] (70007)The timeout specified has expired: [client 172.16.247.167:56821] AH00893: dialog to 172.16.247.167:10777 (tr-6gy1y33.hqdev.highq.com) failed
When we call our file upload api with http (without apache http server) connection url to upload large file size (approax >250 MB) on azure storage, it works fine with expected response:-
Overall issue description is here:-
In both cases, file is uploaded successfully on azure storage but it creates issue with any http client (e.g. apache http server, httpURLConnection client in java etc) and it throws timeout issue as per above attached apache logs.
As we understand the issue, it may be the cause as like below:-
I hope you understand the issue.
Can you please help us to resolve this issue?
The text was updated successfully, but these errors were encountered: