Giter VIP home page Giter VIP logo

Comments (4)

seme1 avatar seme1 commented on June 4, 2024 1

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.

seme1 avatar seme1 commented on June 4, 2024 1

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.

nikDemyankov avatar nikDemyankov commented on June 4, 2024

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.

sahil-khanna avatar sahil-khanna commented on June 4, 2024

I tried re-doing all the steps again, but am getting the same error

  1. 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
  2. cordova-hcp.json file is created within the project folder
  3. I'm able to open the content_url (in cordova-hcp.json) in the bowser without any errors (refer to attached image)
  4. In cordova-hcp login, i'm using the same credentials to login to S3 console (in browser)
  5. The bucket has all required permissions (refer to attached image)

01
02

from cordova-hot-code-push-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.