Build failed. Error while uploading C:\Build.zip to S3. Errors is: The request can't receive any response.
Did you verify whether this issue has already been reported here?
Yes, this seems to happened before with others issues reported, but with the update has started again
Tell us about the problem
The app no longer builds on the cloud when trying both debug and publish modes. The app was building fine on the cloud in debug mode and publish mode before the update. 0 code changes have happened since then. The update now has caused the error below:
[19-02-09 13:16:24.363] Prepare step completed. [19-02-09 13:16:26.136] Upload step started. [19-02-09 13:16:26.803] (CLI) Unable to use git, reason is: [19-02-09 13:16:26.803] (CLI) Git Installation Not Found. Install Git to improve the speed of cloud builds. [19-02-09 13:17:44.891] (CLI) The request can't receive any response. Retrying request to https://sk-builds-us-east-1-v3-production.s3.amazonaws.com/#longstring# Build failed. Error while uploading C:\Build.zip to S3. Errors is: The request can't receive any response.
Which platform(s) does the issue occur on?
Both
Provide the following version numbers that the issue occurs with:
Version: 1.16.0-v.2019.2.7.3 (latest)
Tell us how to recreate the issue in as much detail as possible
- Open app that builds successfully in debug mode.
- Try to publish this app to Apple or Android
- When sidekick gets to the upload step the error occurs. It seems to be that the S3 servers are no longer responding or the update changed something.
Does this issue happen every time?
Yes, I have tried restarting the sidekick and my computer after the update. Waited 24 hours to report to see if the issue fixed itself. It is still down.
Send the client logs
I will send logs if needed, but this issue seems to have occurred in the past.
Error #321 has a fix and it works on this issue too. They seem to be one in the same just occurring at different parts of the build process. This issue the error occurs at the start of the build while error #321 is after the .ipa is built.
https://github.com/NativeScript/sidekick-feedback/issues/321
@SoSimpull, apologies for the delayed response.
Based on your last comment, I assume that you were able to resolve the issue by modifying the value of HttpClient.STUCK_REQUEST_TIMEOUT. Please, correct me if this is not the case.
I'd like to note that the next version of the NativeScript cloud library will contain a fix for this issue and the manual timeout correction won't be required anymore.
Sorry for the delay in my reply. Yes I was able to fix this issue using the method in issue #321 . It also should be noted that after doing this change I was able to publish and the app was approved by Apple. So the build was correct for the store.
Hi there - This bug still happens for me, even with the increase to HttpClient.STUCK_REQUEST_TIMEOUT mentioned here & in #321 It takes 4 hours to show the message: (CLI) Can't receive all parts of the response. Retrying request to https://sk-builds-results-us-east-1-v4-production.s3.amazonaws.com one time out of 10 it works but I've lost a week trying to release to IOS.
Do you have any idea how to get it up & running ?