Few days ago our pipeline has failed to work, message is this:
+ git-ftp push --user root --passwd $prod_pass sftp://[ip_address]/var/www/[domain_name]/public_html/
fatal: Could not get last commit. Network down? Wrong URL? Use 'git ftp init' for the initial push., exiting...
Do you have any ideas what could be wrong? No changes to pipelines config were made.
My bitbucket-pipelines.yml looks like:
image: samueldebruyn/debian-git
pipelines:
branches:
master:
- step:
script:
- apt-get update
- apt-get -qq install git-ftp
- git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD sftp://1.1.1.1/home/website/public_html/website
i'm also facing same issue. Did you get any solution for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It has to do something with your SSL certificate.
I found a thread about this on stackoverflow:
For now I use "--insecure" until I have time to look into the issue with SSL cert.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From logs it shows that bibucket is closing the connection itself after looking up the git-log file.
logs:
/var/log/secure: web sshd[32406]: Connection closed by 34.232.25.90
/var/log/secure: web sshd[14095]: Connection closed by 34.232.25.90
/var/log/secure: web sshd[32231]: Connection closed by 34.236.25.177
/var/log/secure: web sshd[2087]: Connection closed by 34.236.25.177
/var/log/secure: web sshd[2124]: Connection closed by 34.236.25.177
/var/log/secure: web sshd[7262]: Connection closed by 52.203.14.55
/var/log/secure: web sshd[13495]: Connection closed by 52.203.14.55
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.