ProgressNS / sidekick-feedback

This repository is for feedback regarding NativeScript Sidekick. Use the issues system here to submit feature requests or vote for existing ones.
45 stars 9 forks source link

Cloud builds fail on mac #353

Closed tsonevn closed 5 years ago

tsonevn commented 5 years ago

@codingsett commented on Tue Mar 05 2019

Hello, i have been able to use the nativescript sidekick cloud feature to build my app before but when i tried today i get an error that the server cannot be accessed what might be the issue? and how can i fix this.

[19-03-05 19:29:22.089] Upload step started.
[19-03-05 19:29:23.324] (CLI) Unable to use git, reason is:
[19-03-05 19:29:23.324] (CLI) Command /usr/bin/git failed with exit code 128 Error output: 
[19-03-05 19:29:23.324] (CLI)  fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/sk-builds-be9838fab93828cbc04876fb5443c779f4a5a662/': The requested URL returned error: 403
[19-03-05 19:30:27.770] (CLI) The request can't receive any response. Retrying request to https://sk-builds-us-east-1-v4-production.s3.amazonaws.com/ZjgwNzVmNDYtZGRiOC00ZjU2LTZiYzctYjFkMzkzNDUxOWNj/9bc012ff-598a-49a2-b460-95aceec7c380?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJWOMKNKCIVI6GGVQ%2F20190305%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190305T182925Z&X-Amz-Expires=1800&X-Amz-SignedHeaders=host&X-Amz-Signature=b959a395a800d115fd3b5312677d60ee77d3e1191dec2028c073e4b4f0569f63...
[19-03-05 19:31:27.795] (CLI) Unable to apply changes on device: 00008020-001C18341A6A002E. Error is: Error while uploading /Users/kira/Desktop/Foster/.cloud/Build.zip to S3. Errors is: The request can't receive any response..
[19-03-05 19:31:27.804] Error detected during LiveSync on 00008020-001C18341A6A002E for /Users/kira/Desktop/Foster. Error: Error while uploading /Users/kira/Desktop/Foster/.cloud/Build.zip to S3. Errors is: The request can't receive any response.
[19-03-05 19:31:27.811] Stopped LiveSync on 00008020-001C18341A6A002E for /Users/kira/Desktop/Foster.
rkamboj1 commented 5 years ago

I am also facing same issue. CloudBuild is failing for Mac and showing Below error.

/Users/XXXX/Desktop/XXX/XXX_milestone6/XXXnativescript/.cloud/ios/device/xxxnativescript.ipa to S3. Errors is: The request can't receive any response.

Looks like Amazon S3 bucket issue. Facing this issues from last 5 days. Had same few weeks back and were resolved by Sicekick team. Team, please help to solve this.

Regards, --Rajinder

tsvetie commented 5 years ago

Hey @codingsett and @rkamboj1,

I guess you are using NS CLI 5.1.1. Can you try updating NS CLI to the latest version (5.2.1) to see if this will fix the problem?

rkamboj1 commented 5 years ago

Hi @tsonevn ,

Thanks for quick reply. As suggested, it works great. Thanks for all your help.

Cheers, --Rajinder

codingsett commented 5 years ago

still having this issue when i run tns doctor i get this

There seem to be issues with your configuration.
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 5.1.1 and the latest available version is 5.2.2.
✔ Component tns-core-modules has 5.2.2 version and is up to date.
⚠ Update available for component tns-android. Your current version is 5.0.0 and the latest available version is 5.2.1.
⚠ Update available for component tns-ios. Your current version is 5.1.1 and the latest available version is 5.2.0.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Xcode version 10.1.0 satisfies minimum required version 9.

am not build for android only for ios so i updated performed tns platform remove ios and tns platform add ios inorder to update it to version 5.2.2 but it only updates to version 5.1.1

Before i wasnt facing this issue and i was able to build ios apps using cloud easily and i don't know why there is an issue still

NickIliev commented 5 years ago

@codingsett it seems that your NativeScript CLI is not the latest version. Try the solution provided by @tsvetie

npm uninstall -g nativescript
npm i -g nativescript@latest
tns --version //  as of today it should output 5.2.2
codingsett commented 5 years ago

Now works thanks!