bitbucket with ftp server

Abrar Asim October 2, 2021

hey there,

is there anyone who can help me, why i am getting this error, 
i am trying to automate bitbucket commit with ftp server, so whenever i commit on repo it will build and upload it into ftp server, 
thank you :)

error and yml are attached,

 

note i am doing this with my bitbucket premium account. and i can easily access this server and its directories from filezilla.

error
error_bitbucket.PNG

yml
yml ss.PNG

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 5, 2021

Hi @Abrar Asim and welcome to the community.

Is your ftp server behind a firewall? If so, you may need to whitelist on the firewall the IP addresses used by Pipelines.

You can find the IP addresses listed on the following page, specifically the section titled Valid IP addresses for Bitbucket Pipelines build environments:

If you're still facing issues, could you please add the -vv flag in the git ftp command for more verbose output? You can then post the verbose output here (masking any sensitive info) so we can take a look.

If you have any questions, please feel free to let me know.

Kind regards,
Theodora

Abrar Asim October 6, 2021

@Theodora Boudale  i am sorry i didn't understand, do i have to pass all IP's in inbound rule? 

and after added adding -vv  i got the same error,

error ss.jpg

 

error_bitbucket.PNG

is there any a way we can do an online meeting? can you do me a favor for this?? 

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 6, 2021

Hi @Abrar Asim,

If your ftp server is behind a firewall and doesn't allow connections from anywhere on the internet, you'll need to whitelist the IPs for Bitbucket Pipelines build environments. Otherwise, your ftp server won't be reachable from Pipelines builds.

The IPs that need to be whitelisted in this case are the ones mentioned in section "Valid IP addresses for Bitbucket Pipelines build environments" of the documentation I linked.

If this doesn't help to resolve the issue, since this is occurring with a repo on a premium workspace, you can reach out to the support team and request a video call. You can create a support ticket via https://support.atlassian.com/contact/#/, in "What can we help you with" select "Technical issues and bugs" and then Bitbucket Cloud as product. Please make sure to provide in the Details the URL of the failed build with the -vv flag (the support ticket will be visible only to you and Atlassian staff, so the build URL won't be publicly visible).

Kind regards,
Theodora

Abrar Asim October 14, 2021

@Theodora Boudale  hi there,

i have tried with whitelist IP's + i have checked by closing all the firewall but it didn't work with me.. 
and let me try to generate ticket.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events