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); });