Comments (4)
I've initially had the same problem. This is a credential problem with the user trying to connect to S3. Please verify that the user has the right credential and your problem should be resolved.
from cordova-hot-code-push-cli.
I think you need to create a new IAM user and give him explicit permission to access the new S3 bucket. When creating the new IAM user, you will be presented with an access key and secret. You will be using these two with cordova-login (NOT the username/password used when logging in through the browser). There are many guides on the internet for how this can be done.
Also, use policy simulator to verify that the user has the right credentials ( you need GET, PUT and List bucket content. For me, I gave new IAM user all access to the specific S3 bucket I created for updating the app).
Best of luck.
from cordova-hot-code-push-cli.
It feels like it can't reach your server. Did you run cordova-hcp login
(https://github.com/nordnet/cordova-hot-code-push-cli#login-command)? Also, check, that YOUR_PROJECT_NAME/cordova-hcp.json
file exists, and it has correct content-url
, s3bucket
and s3region
.
from cordova-hot-code-push-cli.
I tried re-doing all the steps again, but am getting the same error
- I've run the commands in the following order
1.1) cordova-hcp init
1.2) cordova-hcp login
1.3) cordova-hcp build
1.4) cordova-hcp deploy - cordova-hcp.json file is created within the project folder
- I'm able to open the content_url (in cordova-hcp.json) in the bowser without any errors (refer to attached image)
- In cordova-hcp login, i'm using the same credentials to login to S3 console (in browser)
- The bucket has all required permissions (refer to attached image)
from cordova-hot-code-push-cli.
Related Issues (20)
- Allow absolute URL for www_directory HOT 2
- Use chcpbuild.options when running "cordova-hcp build" HOT 1
- issue in SWIFT_VERSION HOT 2
- install cordova-hot-code-push-cli bring error HOT 7
- cordova-hcp should be able to build and deploy for dev/prod HOT 1
- Add optional logging for server (requests for assets as clients fetch updates) HOT 2
- document env.version HOT 3
- release timestamp should only be updated if manifest did change HOT 2
- cordova-hcp build error HOT 3
- Unable to know if the update has gone well or not HOT 2
- License? HOT 1
- Could you tell me where the new edition is? HOT 2
- questions about Update method HOT 1
- Blank screen after update/install on released(signed) apk version HOT 1
- there is an error while install cordova-hot-code-push-cli ----Cannot find module 'async' HOT 1
- Node version > 5.1.0 HOT 2
- When attempting 'npm install -g cordova-hot-code-push-cli' HOT 4
- TODO: Should print usage instructions. HOT 2
- PSA: Deprecation notice 2018-09-30
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-hot-code-push-cli.