1

We are trying to check-in file into bitbucket from nodejs/angular

But on ec2 we are trying to run the application we are getting error such - "Invalid request from host 192.168.1.10: Note that Bitbucket does not support Git's legacy HTTP transport protocol."

We tried using the git client such as nodegit we getting error as "SSL certificate invalid" for clone

Any other approach available to push one file into bitbucket repository.

const Git = require("nodegit"); // Clone a given repository into the `./tmp` folder. Git.Clone("https://bitbucket.org/....", "./tmp") // Look up this known commit. .then(function(repo) { console.log('clone the repo'); }) .catch(function(err) { console.log(err); });

1
  • 1
    you could try using ssh protocol to clone the repo. here is way to do that Commented Aug 24, 2022 at 7:38

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.